table-peek-portrait

Community@sumino/table-peek-portrait
Community skill — not reviewed. It was shared by Jagulus and has not been checked by Neta. Read SKILL.md below before letting an agent use it.
Installation
npx -y @neta-art/neta-search-cli@latest skills add @sumino/table-peek-portrait
Summary

Turn your character into a realistic cosplay photo peeking over a table, with their name lettered above.

  • Makes one tall cover picture that looks like a real studio photo of a cosplayer, not a drawing or a 3D doll.
  • Only the head and both hands show: chin resting on a glossy dark wood table, fingers spread, body hidden.
  • A soft semicircle in your character's signature colour sits behind the head, with plain light beige around it.
  • The character's English name is lettered above in thick brown brush writing, with a small heart, star and underline.
  • Works best for characters with a clear look: horns, ears, unusual skin or one signature accessory become costume pieces and makeup.
SKILL.md
# Table Peek Portrait

A vertical single-person cover in the style of a real cosplay studio photograph: the character hides behind a dark brown glossy wooden table, with only the head, face, a little neck/shoulder and both hands above the edge. The chin and cheeks rest on the table, the hands lie flat with spread fingers, the body is completely hidden. A soft colored semicircle sits behind the head, light beige paper outside it, and the character's English name is lettered above in a round, thick brush font.

The point is the illusion: a real photograph of someone peeping over a table, not a half-body lying on it, not a 3D doll.

## What you get

- A 1086×1448 (3:4) photorealistic cover PNG.
- Only head, face, a little neck/shoulder and hands; no chest, torso, waist or legs.
- Chin and cheeks pressed on the table edge, skin slightly squished, real contact shadows and a faint reflection of the face and hands.
- A soft semicircle behind the head in the OC's representative colour, light beige outside, clean title space above.
- A brush-lettered name (Caveat Brush) in deep brown, with a small heart, star and short rule, composited by a no-dependency renderer.
- An image Work placed on the Board. No web page.

## When to use

Use when the user wants a photographic, intimate cover of a character peeking over a table:

- "table peek portrait", "peeking over table", "tabletop peeking cover";
- "探头肖像", "桌沿探头", "桌面探头封面", "单人封面";
- a cosplay-style cover with only head and hands, a glossy table and a name above.

Do not use for:

- a normal portrait or half-body — use a character portrait skill;
- a full scene with the body visible;
- an anime illustration;
- a page or interactive work — build one only if asked.

## Hard rules

0. **Use the sandbox CLI path.** Every `neta` command is `node /mods/neta/neta …` (`neta` may not be on PATH).
1. **Read the OC first.** Use the atom, cover and `## 形象参考`; write an identity translation table (see `references/identity.md`).
2. **Do not attach the character card as an image reference.** The anime/doll cover pulls the model toward a porcelain doll or a 3D render. Read it yourself and describe the identity in text. This is the single most important rule.
3. **It must read as a photograph.** Real human skin with pores, fine peach fuzz, natural redness and minor imperfections; 85 mm, f/1.8, soft warm light, low contrast. No plastic skin, no porcelain doll, no CG, no anime, no rough 3D.
4. **Only head and hands.** No chest, no torso, no waist, no legs, no full half-body, no shoulders below the edge, no floating face. The table occludes everything from the collarbone down.
5. **Chin and cheeks on the table.** The lower cheeks slightly squished, face close to the wood, hands flat on the edge, fingers spread and slightly over it, wrists and a little forearm visible.
6. **Table bottom third.** Dark brown, high-gloss wood, fine grain, soft specular highlights, a faint reflection of the face and hands only, real contact shadows.
7. **Background is two layers.** A clean soft semicircle in the OC's colour behind the head; pure light beige outside. Leave at least 170 px of clean space above the semicircle for the title.
8. **No text in the photo.** All lettering is composited. One name, one line, deep brown brush, no coloured fonts, no gibberish.
9. **Title above the semicircle.** Never over the face or the hat. If it does not fit, reduce the size or regenerate with more top space.
10. **Image Work and card only.** No web page unless asked.

## Pipeline

### 1. Read the character and translate the design

```bash
node /mods/neta/neta atom list --type character
node /mods/neta/neta atom get "world/characters/<Name>.md"
node /mods/neta/neta find images "<Name>"
```

Write a small table before prompting:

| Non-human feature | Cosplay translation |
| --- | --- |
| horns / antlers | prosthetic headpiece, matte painted foam or resin |
| pointed ears | silicone ear prosthetics |
| a third eye | closed prosthetic seam or painted line on the forehead |
| one central eye | one large coloured sclera contact lens + the other eye winking |
| unusual skin colour | body paint / makeup |
| fangs | dental prosthetics, only if the mouth is open |
| wings / tail | omit; not in frame |
| scars / markings | makeup |
| signature accessory | a real prop, worn or beside the face |
| hair colour / style | a wig, braided or styled as canon |
| a pet | omit; no extra characters |

If a feature cannot be worn literally, choose the closest wearable substitution that keeps the read. Example: a one-eyed character becomes one crimson sclera lens plus a wink; a third eye becomes a closed prosthetic seam.

### 2. Generate the photo

Read `references/photo-prompt.md` for the full prompt template.

```bash
NETA_DEFAULT_IMAGE_MODEL=gpt-image-2 node /mods/neta/neta generate image \
  --work-title "<Name> · table peek" \
  --work-description "<one sentence>" \
  --param size=1536x2048 --param quality=high --param output_format=png \
  --prompt "$(cat /tmp/<slug>-peek.txt)"
```

No `--image` character reference. The prompt must include:

- real cosplayer, 85 mm, f/1.8, warm soft light, low contrast, skin pores;
- the translated identity pieces;
- only head/hands above the table, body hidden;
- chin/cheeks on the edge, hands flat, fingers spread;
- the expression (wink, pout, lazy squint, smirk);
- table bottom third, reflection of face and hands only;
- a semicircle behind the head and light beige outside, title space above;
- no text, no body, no CG.

### 3. Judge realism before anything else

Open the image at 100%. Ask a vision check:

- Is this a real photograph, or a 3D/CG/doll render?
- Is any chest, torso or half-body visible?
- Are both hands on the table edge?

If the face reads as a doll or a render, **regenerate**. Do not post-process a doll into a photo. The usual cause is attaching the anime cover or under-specifying skin; remove the reference and add "visible pores, peach fuzz, no porcelain finish, no CG".

If a body or shoulder appears, regenerate with "body completely hidden below the table, only head and hands".

### 4. Letter the name

```bash
node scripts/render-title.mjs --config /path/to/config.json --probe
```

Config:

```json
{
  "name": "OC NAME",
  "background": "path/to/photo.png",
  "out": "path/to/cover.png",
  "title_size": 104,
  "title_top": 20,
  "title_align": "center",
  "title_color": "#3a2118",
  "decor": true
}
```

- `title_align`: `center` for long names (7+ characters), `right` for short names (3–5).
- `title_size`: 104 for 7–9 characters; the renderer auto-shrinks long names to fit 900 px.
- `title_top`: 20; the title block ends around 120–150 px.
- `decor`: a small heart and star flanking the name, plus a short rule below.
- The renderer uses 1086×1448, the included Caveat Brush font, and headless Chrome; no npm packages.

### 5. QA the cover

Follow `references/qa.md`.

- output 1086×1448;
- `font: true` in the probe;
- title box above the semicircle, no overlap with the face or hat;
- title is one line and readable;
- no text inside the photo;
- no body, no extra people, no cartoon/CG;
- table reflection shows only face and hands.

### 6. Deliver

```bash
node /mods/neta/neta work import image \
  --file uploads/<slug>.png \
  --work-title "<English Title>" \
  --prompt "<one sentence>" \
  --work-description "<one sentence>"

node /mods/neta/.agents/skills/board-ops/scripts/place.mjs \
  --title "<English Title>" \
  --work "works/work_<id>.json"
```

For a chat embed, upload the final PNG to a public asset and use the returned HTTPS URL. Verify the Work page returns 200.

## Title geometry (1086×1448)

| Element | Value |
| --- | --- |
| Canvas | 1086×1448 |
| Title top | 20 px |
| Title size | 104 px (auto-fit down for long names) |
| Title colour | `#3a2118` deep brown |
| Font | Caveat Brush, included |
| Alignment | centre for long names, right 66 px for short |
| Decorations | 19 px heart, 15 px star, 92×2 rule |
| Title block height | ~100–150 px |
| Clear top space needed | ≥ 170 px above the semicircle |

## Parameters (one mechanism)

| Parameter | Options | Effect |
| --- | --- | --- |
| `expression` | wink / pout / lazy squint / smirk | face performance |
| `oc_color` | one colour from the OC | semicircle block |
| `title_align` | center / right | long vs short names |
| `title_size` | 84–118 | name length |
| `title_color` | deep brown / dark brown | ink tone |
| `decor` | true / false | heart, star, rule |

Do not fork the skill per expression or per colour. Change the prompt and the config.

## Failure fallbacks

- **Doll/CG look:** remove the character reference; regenerate text-only with "real photograph, visible pores, peach fuzz, no porcelain finish, no CG, no 3D".
- **Body/chest visible:** regenerate with "only head and hands above the table; body completely hidden; no shoulders below the edge".
- **Hands missing or cropped:** regenerate with "both hands flat on the table edge, palms down, fingers spread, wrists visible".
- **Face floating:** add "chin and cheeks pressed on the table edge, contact shadow, slight skin indentation".
- **Title over the semicircle:** move it up, reduce size, or regenerate with "semicircle begins one-fifth down, clean title band above".
- **Title too wide:** lower `title_size`; the renderer also auto-fits to 900 px.
- **Background has text:** regenerate; never clone it out.
- **Chrome missing:** set `CHROME_BIN`. The renderer has no npm dependencies.

## Files

```
table-peek-portrait/
  SKILL.md
  templates/title.html, title.css, config.example.json
  scripts/render-title.mjs
  references/photo-prompt.md, identity.md, qa.md, publishing.md
  assets/demo-cover.webp, assets/fonts/caveat-brush.woff2
```

The demo cover is a textless example photo; no names or story text.