Use the skill: oc-card-workshop. Run `npx -y @neta-art/neta-search-cli@latest skills use @u252119f2fa58/oc-card-workshop --via site` and follow what it prints. Read its complete output, redirecting it to a temporary file first if necessary, and resolve relative paths from the skill directory it prints.
Summary
Get your own card-maker page where fans upload a character and design a styled profile card on their phone.
Visitors upload a character picture, the background disappears automatically, and they build the card layer by layer: tint, dots, border, stickers, text.
Pick lace, wave, floral and other border styles, plus handwritten, print or fancy lettering, and pull colour swatches from the character itself.
Save the finished card as a picture in a 3:4 card shape or a tall phone-wallpaper shape, with undo and saved drafts along the way.
Can open already showing one of your own characters, with name, subtitle and colours filled in, so it works as a showcase too.
Works best with a character that has a clear, striking look and a portrait; the page and its labels come in English and Chinese.
SKILL.md
# OC Card Workshop
The user ends up with a web Work: a card editor that runs on a phone. A visitor uploads their character, the background is removed in their own browser (nothing is uploaded, no credits), and they compose a styled character card layer by layer, then save it as a PNG. Optionally the Work opens with one of the user's characters already on the card, so it doubles as a showcase.
Read this file fully before writing files. Resolve relative paths from this skill's directory.
## Language
Reply in the user's language, whatever language this file is in — every message, the final handover included. Translate what the scripts print instead of pasting it. The page UI follows the user's language through `--lang` (built in: `en`, `zh`; any other language needs `js/strings.json`, see Step 3). The Work title follows the user's language; names the user typed stay as written.
## When to use / when not
Use when the user wants a card-making tool for OCs or characters: an OC card workshop, a 设卡 page, a profile card editor fans can use. Not for a single card image generated by a model, a trading card with foil, or a transparent clear card for printing — say this skill builds an editor page for making character cards and stop.
## Inputs
| Item | Required | Counts as given when |
|---|---|---|
| Request for a card editor | yes | The user asks for a card workshop / card maker / 设卡 page |
| Preset character | no — default an empty card with "Character Name" | The user names a character of this world, or attaches a portrait |
| Ratio | no — default 3:4 | The user says 9:16 / phone wallpaper / vertical story |
| Palette | no — default extracted from the portrait in the page | The user gives colours |
| Title | no — default "OC Card Workshop" translated | The user names the Work |
Nothing here needs a question: if the request asks for the editor, build it, state the defaults you took in one line, and deliver. If the user names a character that is not in the world and attached no image, build without the preset image and say so.
## Steps
1. **Read the preset character (only if one is named).** `node /mods/neta/neta atom get <path>` (or read the material file under `world/`). Take: the display name, a one-line subtitle (role or title, ≤ 24 characters; default "OC PROFILE"), the portrait (the first image in `media`, resolved relative to the material file, or the user's attachment), and 5 hex colours from hair, eyes, outfit and accent if the text states them (otherwise leave the palette to the page).
2. **Create the Work folder.**
```bash
node /mods/neta/neta work init web works/webs/<slug> --title "<title in the user's language>"
```
`<slug>` is lowercase kebab-case and new (`ls works/webs/` first; never reuse or delete an existing folder).
3. **Copy the template and write the config.**
```bash
node scripts/setup.mjs --dir works/webs/<slug> --lang <user language> --title "<title>" \
[--name "<character name>"] [--subtitle "<subtitle>"] [--palette "#rrggbb,#rrggbb,#rrggbb,#rrggbb,#rrggbb"] \
[--image <portrait file>] [--ratio 3:4|9:16]
```
With `--image` it removes the background once at build time through `birefnet-general` (about one cent); if that fails, the page removes it in the browser on first open — both are fine, say which happened. For a UI language other than `en`/`zh`, copy every key of the `en` block in `template/js/i18n.js` into `works/webs/<slug>/js/strings.json` as `{ "<lang>": { "key": "translation", … } }` and rerun the same command. Rerunning is safe.
4. **Check it.**
```bash
node scripts/verify.mjs works/webs/<slug>
```
It checks the files and config, then loads the page in headless Chrome at 390×844 and 1440×900: no console errors, the editor boots, the export canvas is 1500×2000 (3:4) or 1080×1920 (9:16), the preset character and name are on the card. It writes `verify-report.json` and screenshots in `.verify/`. Look at `.verify/shot-phone.png` yourself. Fix every FAIL and rerun; do not deliver while it fails.
5. **Publish** — see Deliver.
## What the template already does
Read `references/card-spec.md` only when the user asks to change a default (layer order, border styles, sizes, fonts, timings). In short:
- **Layers, bottom → top:** background (colour or uploaded image, blur, pan/zoom) · tint (linear/radial gradient or solid, blend mode) · echo (faded copies of the portrait, default one copy at 26 % opacity) · dots (halftone polka dots in a chosen region, just under the portrait) · portrait (outline + glow) · border (solid, lace, wave, dotted, star chain, ticket, floral; above or below the portrait) · palette swatches · stickers (four-point stars and other shapes, default white at 100 %) · text. Every layer can be hidden, faded and moved up or down.
- **Cutout:** `@imgly/background-removal` (`isnet_quint8`) in the browser, loaded from a CDN; a refine dialog with a magic wand, erase and restore brushes covers what it misses; a transparent PNG skips the cutout.
- **Palette:** k-means (k = 5, 12 iterations) on the opaque pixels of the cutout, sorted by area.
- **Gestures:** an element moves only after its tab is tapped in the panel (no accidental drags); one finger drags, two fingers pinch and rotate; the panel collapses downward and the card grows and can be pinch-zoomed.
- **Fonts:** handwritten (Caveat / Long Cang), print (Noto Sans SC / Noto Serif SC), fancy (Great Vibes / ZCOOL XiaoWei), loaded from Google Fonts with a mirror fallback.
- **Drafts:** saved into the world's files under `app-data/<slug>/drafts/` when the viewer grants file access; otherwise kept for this visit only (the panel says which).
## Deliver
A **web Work**:
```bash
node /mods/neta/neta work publish web works/webs/<slug> --title "<title in the user's language>"
```
Then, as the last step — the run is not delivered until it is done:
6. **Hand over with a card.** One `interaction-components` card on its own line, target `{ "type": "work", "workId": "<id>" }`, the id from the publish output (fallback: `cohubWorkId` in `works/webs/<slug>/meta.json`). Never a made-up id, a folder or a `world-file` link to `index.html`. Then one or two lines in the user's language: what the card editor does, which character it opens with, and that the cutout runs in the visitor's browser at no cost.
## Out of scope
- Do not change world settings or delete files that existed before the run.
- Do not modify memory, character cards, installed scripts, existing Works or roleplays.
- Make only the editor Work; do not generate card images, covers or extra art.
- Build in this chat, on whatever model it runs; never hand the request to another chat.
- No server: the Work is a static page; never start a backend or publish a `--port` app.
- No print die-lines or bleed marks; the PNG is a screen-resolution card.
## When to stop
- The user asks for one finished card image, a holo trading card or a printable clear card: say this skill builds a card editor page and stop.
- `scripts/setup.mjs` says the Work folder has no `meta.json`: run Step 2 first; never point it at an existing Work folder.
## Gotchas
- **The portrait is the only thing the visitor must bring.** Never bake a generated character into the template: the preset is optional and comes from the user's own material.
- **Labels say "Opacity", not "Transparency".** Users read "transparency 100 %" as invisible; the template already uses opacity — keep it when translating.
- **Tap-to-arm moving.** Earlier versions let every element drag at once and users kept moving the background by accident; keep the rule that only the element of the open tab moves.
- **One echo copy by default.** Two copies crowded small cards; users add more themselves.
- **The build-time cutout is optional.** `birefnet-general` can be busy; the page cuts the same image in the browser, so never retry it in a loop or stop the run over it.
- **Third languages need every key.** A partial `strings.json` falls back to English per key and mixes languages; `verify.mjs` lists the missing keys.