sorting-card

Verified@leona/sorting-card
With improvements from @siosan
Installation
npx -y @neta-art/neta-search-cli@latest skills add @leona/sorting-card
Use in Neta Studio Open it in Neta Studio and see what people made with it.
Summary

Pick a character and get a collectible house card showing which wizarding house they belong to, with a short verdict.

  • Makes one tall card image: your character in house colours, under a banner with the house name, with a short verdict written beneath.
  • Works for any character in your world, or for you: say "sort me" and you get a hooded figure with the face hidden.
  • The house follows what the character actually does in your story. The verdict names the deciding deed, the runner-up house, and a last line just for them.
  • Every card has a different look: oil painting, watercolour, Art Nouveau poster, engraving or graphic-novel panel, with a different pose and lighting each time.
  • Takes about a minute and asks no questions. Characters with clear deeds, belongings and a signature look work best. The banner lettering is always English.
Improvements from other creators

This version: thanks to @siosan.

  • Siosan@siosan1 adopted suggestion · in this version
SKILL.md
# Sorting Card

One character → one house → **one image**. Fast and cheap by design: two reads, one image
command, one line of reply. Never ask a question.

## Language

Two layers, never mixed:

- **In the picture — always English.** The image prompt and the banner lettering stay English
  whatever the user writes (image text renders reliably only in English, and every card in the
  set reads the same). This is fixed by design.
- **Everything the user reads outside the picture — the user's language** (the language of their
  message): the Work title, the description (its bold labels too), the one-line reply, the link
  card's fallback / subtitle text, and any status or transition message. Every message in the
  turn uses that one language; never switch mid-turn. A Chinese message gets e.g.
  `斯莱特林 · Tobias Rook`, `格兰芬多 · 你` and labels **分入…** / **差一点:** / **最后一句:**;
  an English message gets the English forms shown below.
- **Names**: use the name the user wrote; else the material's `name`; for houses, else the
  house's usual name in that language (格兰芬多 / 赫奇帕奇 / 拉文克劳 / 斯莱特林). Never translate
  into English a name the user gave in their own language. "You" becomes the user's word for it.

## Do exactly this

1. **Read** — `node /mods/neta/neta atom list --type character; date +%S` (the two digits are the
   dice for Variety below), then `node /mods/neta/neta atom get <id>` for the one character. Which one: the name the user gave (first one if several; nearest match if
   none matches); no name → the world's main character; "sort me" or no characters → the creator.
   Read nothing else: no other skills, no WORLD.md unless the world has no characters.
2. **Decide** (in your head, no file): house, colours, emblem from the table; look; 3 objects.
   - House: the material's stated house wins. Otherwise the house whose virtue the character
     **acts on** in the material. Runner-up = second strongest.
   - Look: ≤ 15 words from the material — hair, eyes, build, signature clothing colour.
     Start with "adult man" / "adult woman" / "adult". **No age numbers, no "young", "teen",
     "student", "school", "uniform", "shirt", "tie".**
   - Objects: 3 things from the material the character carries, makes or protects. No paper with
     writing.
   - The creator: look = "an adult figure with the hood pulled low, the face fully hidden in shadow, only the chin visible".
   - **Moment**: one thing the character **does** in the material that shows the house virtue,
     as an action you can see (≤ 12 words, e.g. "mending a cracked ward-stone with both hands").
     The creator: an action that fits the world's opening for them.
   - **Place**: a place from the material where that happens; none → the house place in the table.
   - **Shot, style, light**: from the dice (Variety). Do not pick them by taste.
3. **Generate once** — exactly this command, nothing before it, nothing after it:
   ```bash
   NETA_DEFAULT_IMAGE_MODEL=gpt-image-2.5 node /mods/neta/neta generate image \
     --param size=1024x1536 \
     --work-title "<House> · <Character or You>" \
     --work-description "<description>" \
     --prompt "<prompt>"
   ```
   Title and description in the user's language, prompt in English (see Language).
   If it returns `generating`, run `node /mods/neta/neta generate reconcile <taskRunId>` once.
4. **Deliver** (below).

## Deliver

The user gets one image Work in this world, titled `<House> · <Character or You>` in the user's
language (Chinese: `斯莱特林 · Tobias Rook`, `格兰芬多 · 你`), with the verdict in its description.
Hand it over with an `interaction-components` link card pointing at the Work
(`{ "type": "work", "workId": "<workId>" }`; its fallback / subtitle text in the user's language
too) and **one line in the user's language**: "<House> — <why, in a few words>." Do not describe
the image or list checks.

## Houses (wizarding-school worlds)

| House | Virtue | Colours | Emblem | House place |
|---|---|---|---|---|
| Gryffindor | bravery, stepping in first | scarlet and gold | lion head | a tower common room with a roaring hearth |
| Hufflepuff | loyalty, patience, care | yellow and black | badger | a round earthy common room full of plants |
| Ravenclaw | wit, curiosity, invention | deep blue and bronze | eagle in flight | a domed tower library under a starry ceiling |
| Slytherin | ambition, cunning, guarding one's own | emerald green and silver | coiled serpent | a dungeon room lit green through lake water |

A world with its own houses or factions → use its names and colours. A world with none → make up
four from the world's own nouns (one virtue, two colours, one emblem each).

## Variety (free: same one image, same prompt length)

The banner, the round seal, the gold border and the 2:3 size never change, so every card still
reads as one set. Inside the frame, three things change by the `date +%S` dice — **tens digit
(0–5) → Shot**, **units digit → Style and Light** — so two people with the same house, or the
same person asking twice, get different cards.

| Tens | Shot |
|---|---|
| 0 | half-body, three-quarter view, looking at the viewer |
| 1 | full figure standing in the place, the place wide around them |
| 2 | caught mid-moment, side view, not looking at the viewer |
| 3 | seated at work in the place, looking up from it |
| 4 | from behind, glancing back over one shoulder |
| 5 | close portrait, the moment's object raised near the face |

| Units | Style (copy the whole sentence) | Light |
|---|---|---|
| 0, 5 | Classical oil painting with thick visible brushstrokes, dark varnished tones and deep chiaroscuro, like an old master portrait | warm candlelight from the left |
| 1, 6 | Loose watercolour illustration on textured cream paper: soft bleeding washes, fine brown ink outlines, plenty of bare paper showing | pale morning light through tall windows |
| 2, 7 | Art Nouveau poster: flat muted colours, bold flowing outlines, a decorative arch with curling ornament behind the figure | golden sunset glow |
| 3, 8 | Antique copperplate engraving: fine black cross-hatched lines on ivory paper, colour only as thin washes of the house colours and touches of gold leaf | cold moonlight with one warm lamp |
| 4, 9 | European graphic-novel panel: clean black ink lines, flat colour fills, hard-edged shadows, a limited palette | stormy light, rain on the glass |

The style sentence goes **first** in the prompt, word for word. It is what makes the cards look
different; do not shorten it or add "painting" words from another row.

## Prompt (fill the brackets only)

> [STYLE SENTENCE]. The whole card, figure and background, is drawn in this one style; no
> photorealism, no glossy digital painting. A vertical collectible house card with a thin
> worn-gold border. TOP: a cloth banner lettered exactly "[HOUSE IN CAPITALS]", the only text
> anywhere. SCENE: [place], [light]. FIGURE: [look], [shot], [moment], wearing a [colours] wizard
> robe and striped scarf over a plain dark high-collared tunic, no shirt collar, no necktie,
> grown-up face and proportions. In the upper background a round wax seal with a plain [emblem]
> silhouette in [colours]. AROUND: [object 1], [object 2], [object 3]. No crest, no shield, no
> logo, no extra text, no other people.

## Description (shown under the image — in the user's language, labels included)

```
**Sorted into <House>.** <one sentence: what the character did that decided it>
**Almost:** <runner-up> — <a few words>
**Last word:** <one line to the character that fits only them>
```

## Rules

- One image per request, whatever the dice say. No probe images, no `generate image params`, no re-render, no checking,
  cropping or placing on the Board, no second Work.
- No age anywhere. Never a childlike face or chibi proportions.
- House names may be written; never draw an official crest, shield, logo or a franchise
  protagonist's face. No `@Name` and no `--image`: the look is described in words.
- Refused → resubmit once without character names and without the franchise name in the
  prompt text, but **keep the house name on the banner**; refused again →
  say so in one line and stop. Never reword to sneak past moderation.
- Do not change world settings, character cards, memory or existing Works; do not delete files.