Skip to content
Back to skills

drawing

ASecurity

Draws a subject by hand on a real canvas, one mark at a time, the way a person would. Measures the subject, blocks it in with straight lines, checks each stage against the subject before the next, and only then commits to curves, ink and colour. Use when the user asks to draw, sketch, illustrate, ink, redraw or restyle a picture by hand, or wants a drawing rather than an image generated by a model.

  • 7 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 13, 2026
ai-agentspythongoshellbashnodeexpressaws

Works with

  • cli

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 9 files and shows the line behind each finding

Scanned November 13, 2026

npx -y skills add jchapuis/drawing-skill --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of drawing?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for drawing
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jchapuis-drawing/badge)](https://www.skillsdirectory.com/skills/jchapuis-drawing)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: drawing
description: Draws a subject by hand on a real canvas, one mark at a time, the way a person would. Measures the subject, blocks it in with straight lines, checks each stage against the subject before the next, and only then commits to curves, ink and colour. Use when the user asks to draw, sketch, illustrate, ink, redraw or restyle a picture by hand, or wants a drawing rather than an image generated by a model.
---

# Drawing

You place every mark yourself, in a Python script. The tools measure the
subject, render what you placed, and check each stage before you move on. The
final judge is a blind describer: an agent that sees only the render, never the
subject or your script, and says what the picture shows.

Placing a mark is easy. Knowing where it goes is the work. Every tool here
either helps you see the subject more exactly or catches a mistake you have
stopped noticing.

This file is the map. The detail lives in `reference/`, loaded when you need it
(see [Reference](#reference) at the end).

## Terms

- **Gesture**: a few loose strokes that capture the action of the whole figure or object before any detail.
- **Line of action**: the main curve the gesture follows; the direction of the movement or pose.
- **Armature**: the skeleton of main lines (eye level, ground, axes) that the masses hang on.
- **Block-in**: the subject's regions drawn as straight-edged shapes, to fix placement and proportion before any curve.
- **Value**: how light or dark something is, apart from its colour.
- **Value group**: the values that belong together (the lit and shaded versions of one surface). A drawing has two groups, and they must not overlap.
- **Flat**: an area of one uniform colour, with no shading.
- **Trapping**: drawing a flat slightly past where its ink line will go, so no gap shows between colour and line.
- **Lost and found edges**: a lost edge fades into what is behind it; a found edge is crisp. Losing most of an object's edges is how you push it back.
- **Mass** and **part**: a mass is drawn only as a flat shape, with no lines of its own. A part is an object drawn with its own lines.
- **Centre of interest**: the one place in the picture with the strongest contrast and the most detail.
- **Tier**: a part's rank in `parts.json`. Tier 1 is the focus. A tier sets how heavy and how contrasted a part is drawn, never which of its pieces exist.
- **Gate**: a check a stage must pass before the next stage begins.
- **Describer** and **critic**: the two judges, described under [Judging](#judging).
- **Emphasis**: how heavy and how detailed a part is drawn, relative to the centre of interest.
- **The files**: `draw.py` is your script; it writes `ops.json`, the list of marks the canvas renders. `palette.json` holds the named colours, `regions.json` the subject's traced colour regions, and `parts.json` the parts list (each part's tier, its pieces and the overlaps between parts).

## You write the marks; tools only measure

The drawing is `draw.py`. You type every point of every stroke there, from a
measurement you read. A measuring tool may tell you where things are: a
landmark, a width, the rows a slot occupies, a traced outline to read positions
off. It may not write the strokes. A tool that prints `slot 3: rows 212-260,
left 118->131` is measuring. A tool that prints `stroke([...])`, or a list you
feed to `stroke` in a loop, is drawing for you.

So these are forbidden:

- turning the subject's own lines or colour areas into strokes or fills
  (skeletonising, vectorising, auto-tracing);
- turning a trace into lines of `draw.py` by any route: a generated module, a
  loop over regions, a generator whose output you import or paste.

A drawing made that way can pass every gate and still be a vectorised copy. It
carries the tracer's artefacts (a bead at every junction, halos, small parts
lost, thin lines dropped), and none of them is a decision you can go back and
fix, because the script is just pasted output with nothing in it to revise.

**Reading versus pasting.** A tool may print an outline. You then type the
points where the silhouette turns, in order around the outline. Copying every
printed point in order is pasting, however it got into the file. A script that
edits `draw.py` is fine as a text editor, when each line it writes is a mark you
decided. A script that computes a coordinate is a generator.

`pen.write` refuses to save, and `check.py --stages` fails, when strokes are
called from another file, when one call site runs more than once (a loop, a
comprehension, an import that draws), or when most control points are not
written as numbers in `draw.py`. On six hand-written drawings none of these
fired; on a generated one all three did.

### What the checks cannot see

The checks read the finished `draw.py`, not how its numbers got there. A script
that adds a fixed offset to centres you chose, or copies a list shifted, passes
every check. There is no reliable test for it: hand-typed hatching often repeats
one offset exactly, so a test would refuse honest work. The rule is the only
guard. If a script computed a coordinate (by offset, by copy or by formula), the
mark was generated, whatever the checks say. Type each hatch line and tick, and
vary its length and spacing the way a hand does (`reference/line.md`).

A scene stays affordable through economy: five to twelve masses, a part list
fixed at the start, and marks spent near the centre of interest. Never through
a generator. A hatched region costing a hundred lines of `draw.py` is normal;
keep it affordable by suggesting the texture rather than drawing every line
(`reference/line.md` § Hatching and texture).

## Setup

```bash
cd harness && npm install && npm run build && npx playwright install chromium   # once
```

Python needs `numpy`, `scipy`, `pillow` and `opencv-python`. `describe.sh` needs
the `claude` CLI on the PATH.

- **One directory per drawing**, holding `subject.png` and everything the
  drawing produces. Nothing goes in `/tmp`.
- Copy `build.sh` into it and point it at this skill with `export SKILL=…`, or
  edit its `SKILL=` line. A copy cannot find the skill on its own, and says so.
- Your script is `draw.py`; it writes `ops.json`.
- Copy `gates.sh` in the same way, with its own `SKILL=` line set. `./gates.sh` runs every gate whose input
  files exist, prints one line per gate (PASS, FAIL, UNCHECKED, SKIP, or LOOK
  for an image you must look at yourself), keeps full output in `gates/`, and
  exits 1 on any FAIL. `--zoom`, `--hatch`, `--unfilled` and the describer are
  run by hand.
- **Work at four times the delivered size** for a scene, and for a single
  object whose smallest feature is under about 40px. The delivered size is the
  subject's own size unless the user names another. `subject.png` is then the
  delivered image upscaled 4x with `Image.BILINEAR` (never LANCZOS or BICUBIC,
  which leave a pale halo beside every dark line). Keep the original beside it
  as `subject_1x.png`. Render with `./build.sh --scale 0.5` so renders line up
  1:1 with `subject.png`. Points traced on `subject_1x.png` can be typed as
  traced after `from pen import unit; unit(4)`, which scales them and adds no
  shape; `unit(1)` goes back. `frame()` and `trap=` stay in working pixels. Describe a render shrunk back to
  `subject_1x.png`'s size, since that is what the describer saw of the subject.
- **Files you will keep**, besides those stage 0 lists: `notes.md` (one entry
  per correction round) and `refuted.md` (every complaint that did not survive
  measuring). Create both at the start. Tracing details are in `reference/stage-0.md`.
- **The shell may be zsh.** zsh does not split a variable into words, so
  `G="--stages ops.json"; check.py drawing.png $G` reaches `check.py` as one
  argument. Write flags out, or use an array: `G=(--stages ops.json); …
  "${G[@]}"`.
- **macOS has no `timeout`.** Use `gtimeout`, or `perl -e 'alarm N; exec @ARGV' --`.

## One object or a scene

A single object goes through the object stages at one scale. A scene is first
designed as masses; then every object in it that must be recognisable goes
through the same object stages, in the same document and coordinates, at a
resolution high enough for its smallest feature. There are two reasons:

- **You can only judge what is large on the page.** You look at a render at
  about 1,500px whatever its size, so in a scene a 12px eye or a 20px hand is
  too small to judge, and a part you could not see while drawing comes out
  badly. So every object that must be recognisable is a part: you look at it
  magnified with `--zoom` (magnification `1500 / max(box_w, box_h)`; a box as
  wide as the picture cannot be magnified, so split it where another form
  already hides the seam), and you work at a resolution that puts its smallest
  feature near 40px. Anything else is a mass with no lines of its own. There is
  nothing in between.
- **A scene is more than its objects.** What holds it together is one centre of
  interest, a tone plan of two to four big masses, most edges lost into what is
  behind them, and the places where things touch. An object drawn well with its
  own closed outline can break the picture. The scene stages decide these
  before any object is drawn and check them after.

You decide which case you have at stage 0, from the reading. A picture with
furniture in it can still be a single object.

## The object stages

Each stage settles one thing while the next is still cheap to change. **Do not
start a stage until the previous gate passes on a render you have looked at**,
and keep every part within one stage of every other.

`draw.py` holds every stage and `build.sh` renders all of it, so it is tempting
to write every stage at once and check afterwards. Don't. Write one stage,
render it with `STAGE=<name> ./build.sh --scale 0.5` (`gesture`, `blockin`,
`construction`, `fill`, `contour`, `ink`, `correct`; each renders that stage and
those before it), pass its gate, and only then write the next.

| # | Stage | You produce | Gate |
|---|---|---|---|
| 0 | **Read** | `palette.json`, `regions.json`, `subject.describe.md`, `reading.md`, `parts.json` (see `reference/stage-0.md`) | every tier-1 and tier-2 part has a shape note; the acceptance list quotes the describer's answers 3–5; `reading.md` records the line character, and every hatched region you will draw has a `hatch` entry measured with `--hatch` |
| 1 | **Gesture** | 3–10 strokes, `stage="gesture"`: the line of action, then each big mass as one loose loop. Use `smooth=False` for a built or faceted mass (a building, a box, a machine, a rock), or it renders as ovals and the describer names jars | `describe.sh gesture.png` answers questions 2 and 3 the way `subject.describe.md` does (for a subject with no figures, such as a diagram, compare question 4 instead). If the action does not read now, no later stage adds it. Exceptions below |
| 2–3 | **Block-in** | `stage="blockin"`, `smooth=False`: every tier-1 and tier-2 region as straight lines from `regions.json`, with shared corners named once | `check.py blockin.png --ref subject.png --overlay --dark 200` (block-in lines are pale; without `--dark` none count as line): the straight lines sit on the subject's edges |
| 4 | **Construction** | `stage="construction"`: for each volume, how it turns in space, written down, and its centre line placed accordingly | a written turn for every tier-1 form (on flat art, one line saying nothing turns) |
| 5 | **Masses** | `stage="fill"`, `tool="flat"`: one flat per surface, trapped where it meets a silhouette (see below), written in depth order | `check.py contour.png --ref subject.png --masses` (`STAGE=fill ./build.sh` stops before `drawing.png`, which it removes): both read as the same shape, described in words. On a subject with heavy line, judge it once each form's ink is in: flats alone never match a subject whose lines carry weight |
| 6 | **Contour** | `stage="contour"`: the real edge, curved where the subject curves | `--overlay` again |
| 7–8 | **Ink** | `stage="ink"`: one stroke per edge, width measured on the subject, each tagged with the edge it draws; then hatching, group by group, one stroke per line | `--doubled ops.json` and `--stages ops.json` pass; `--joins ops.json --parts parts.json` lists no line stopping just short of what it meets; `--linework parts.json --ref subject.png` passes |
| 9 | **Fill** | flats refined; the blacks laid in as one value before anything is shaded | rendered with `--hide ink`, the figure still stands out from the ground |
| 10 | **Correct** | correction marks aimed by the judges, for the number of rounds fixed at stage 0: `stage="mend"` (above the flats, under the ink, so it cannot damage a line) by default, `stage="correct"` (above everything) only to fix the ink itself (`reference/correcting.md`); `refuted.md` for every complaint that did not survive measuring | `describe.sh drawing.png` matches the acceptance list point by point; `--registration`, `--parts`, `--ranking` |

**When the action cannot read at the gesture stage.** If the action lives in
value rather than outline (pale fingers against a dark glove), record the
describer runs that show it and check the action at stage 5 instead. If it
lives in a small feature no loop can show (an open beak, a tilted head, a
glance), record the runs and check it at the stage that draws that feature.

**Trapping at stage 5.** `trap=<px>` grows a flat outward so the ink covers its
edge. A traced outline sits at the colour change, inside the ink, so untrapped
it falls short by half a line and the ground shows through.

- Trap an edge that is a silhouette. Never trap a flat that is a mark in its
  own right (a vent, an eye, a cast shadow): trapping swells it until it eats
  the form.
- Trap a band (a strap, a rim, a hem) only at its ends. Its two long edges face
  opposite ways, so trapping widens it by twice the trap, every gate still
  passes, and parallel bands lose the width ratio that makes them read.

**Stages 5 to 8 go form by form, not as four passes over the whole drawing.**
When two forms overlap, write the far form's fill, then its ink, then the near
form's fill over that ink, then the near form's ink. Written stage by stage,
the far outline lands on top of the near flat and draws a seam across it.
Overlap comes only from write order, and `--depth ops.json parts.json` is its
only check. Never use `back("fill")`: it sends every flat behind every line, so
an object can no longer hide part of itself. A hole (a vent, a window) is
written after the ink of the surface it pierces. The naming rules `--depth`
relies on are in `reference/marks.md` § Overlap order.

**A subject with no outline** (flat vector art, a poster) goes through the same
stages. Its contour is the shared edges between flats, with no weight of its
own. The ink stage holds only what the subject draws as a dark line (spokes,
cables, a seam). Do not add an outline the subject does not have. The build
refuses ink with no contour stage, so write the contour as the flats' own point
lists at `stage="contour"`; it is scaffolding and never shows in `drawing.png`.

**A diagram** (icons, arrows, labels) is drawn as a scene of small flat
objects. Lettering, arrowheads and dashed lines: `reference/redrawing.md` §
Diagrams and lettering.

Going back to a stage invalidates everything after it, so re-run each later
stage. One call re-renders the lot.

`gesture.png` and `blockin.png` are drawn in stock colours on a stock ground,
for checking action and placement. The palette is judged on `contour.png` and
`drawing.png`. `drawing.png` never shows gesture, construction, block-in or
contour lines, so nothing needs erasing.

## The scene stages

These wrap the object stages. S0–S2 design the picture and draw no object. Then
every object is drawn into the same `draw.py`, in whole-picture coordinates, at
4x. There is one `ops.json` and one coordinate space.

Objects drawn in their own crop and pasted back came out as blobs; the same
objects drawn in place came out well. What the crop gave was a forced, magnified
look, and that survives as a rule: **`--zoom` every object before you call it
done.** Crops are for measuring and looking only.

| # | Stage | You produce | Gate |
|---|---|---|---|
| S0 | **Read as a tone field** | everything stage 0 produces, plus the S0 items below, in `reading.md` | a thumbnail of the tone plan has one dominant value and its strongest contrast at the centre of interest; every overlap has a depth decision; the part list and the acceptance list agree |
| S1 | **Armature** | `stage="gesture"`: eye level, ground plane, main lines, line of action, the major masses as loops. A scene needs one stroke per mass plus the ground and eye lines, typically 15–20; with too few, the describer mixes up objects | `describe.sh gesture.png`: the action and the big shape read |
| S2 | **Masses** | `stage="blockin"` straight lines for the masses, then their flats (`stage="fill"`): the middle tone over everything, then the lights, then the darks, keeping sharp and lost edges. Every object gets its mass here, part or mass; whether it gets lines comes later. No object's lines yet | `--masses` against the subject at thumbnail size; `--stages` shows 0 ink |
| S3 | **Every object, in place** | object stages 2–9 on each object, in the one `draw.py`, written from the furthest object forward (you may work the centre of interest first and insert it at its depth). **Refine each object's S2 mass into its stage-5 fill by editing the same line**, never by stacking a second fill on top | `--zoom` on the object beside the subject before you leave it. Not optional. Then its own stage gates, `--faces` and `--unfilled` |
| S4 | **Junctions** | nothing new: each object was drawn with its neighbours already in place. Walk the overlaps table and confirm each row: the accent where forms touch, the line that breaks behind a nearer form, the lost edge still lost | `--doubled`; `--depth ops.json parts.json` clean with nothing UNRESOLVED; every overlap row has a decision and a look |
| S5 | **Emphasis** | nothing new. Confirm that weight and detail fall off with distance from the centre of interest and with depth. Fewer edges means edges lost into the mass behind, never pieces left out: a far figure keeps its arms and feet | no part away from the centre of interest is as heavy as it; the describer names every part |
| S6 | **Overlaps** | a pass over the overlaps table on the whole picture: accents where forms touch, tangents fixed by overlapping or separating, lost edges confirmed | every row has a decision and a look |
| S7 | **Blacks, hatching, texture, edges** | the pattern of blacks across objects; each hatched region drawn as its measured groups, one stroke per line, dense at edges, turns and the centre of interest, thinning into the light; other texture suggested with a few marks; the drawing's outer edge against the paper | `--ranking parts.json`: the centre of interest leads and nothing outranks its tier; `--linework parts.json --ref subject.png` passes |
| S8 | **Correct from a distance** | stage 10 on the whole picture, with the describer run twice. Misnamed parts get the budget first, then parts whose shape note is untrue | the acceptance list; `--ranking` still shows one centre of interest; no part misnamed. A complaint that comes back after a round that addressed it means stop |

**S0 items for `reading.md`:**

- **One** centre of interest.
- The tone plan: one dominant value and two to four big masses.
- The masses: five to twelve, each edge marked sharp or lost, no object with a
  closed outline.
- Every object marked **part** or **mass**. A part is an object (the lamp, the
  figure), never a feature of one. An object the describer names in answers 3–4
  is a part, because the acceptance list will ask for it. The one exception is
  an object with no silhouette against its surround: draw it inside the mass it
  sits in, and write down now that its clause may stay unmet. Budget is never a
  reason to leave a clause unmet.
- For each part: its box, its smallest feature at working resolution, any parts
  nested in it (a face in a figure), and its emphasis.
- The overlaps table, with an `in front` column for every crossing, masses
  included. A road cut into a hillside is in front of it. Rows naming a mass
  stay UNRESOLVED until its line is written, so check them at S4.
- The counts of repeated small forms, including zeroes.

**When the action cannot be shown at S1.** A pose carried by value (a seated
figure with foreshortened thighs has a standing figure's outline), or one the
describer's expectations override (any figure above a bicycle reads as riding),
is checked at S2 instead; record the describer runs that show it. An action in a
small feature (an open beak, a glance) is checked at the S3 stage that draws it.

**Every part gets all its stages; budget never shortens one.** Rationing a scene
by percentages fails the same way every time: the centre of interest is
finished, everything else stays an outlined mass, hands become slabs and a
small mechanism becomes two blocks. So a part that must be recognisable is
either drawn through stages 2–10 with its own corrections, or it is a mass.
Never leave one half-drawn.

**A small human figure is never a minor part.** People look at figures at any
size. However small, it has a head (with hat or hair), neck, shoulders, torso,
two arms with elbows and hands, hips, two legs with knees, and feet, in the
pose of the gesture. It gets its own `--zoom` and a working resolution where its
head is about 40px. Its tier lightens its line, not its anatomy
(`reference/figure.md` § A small figure is still a whole figure).

**When one agent cannot carry every part**, split the scene: one agent per part,
each writing its own section of `draw.py` in its depth position, all sharing
the S0 reading. Sections, copies, the merge and the final pass are in
`reference/scene.md` § The mechanics. Check in after S2, after the first part,
and after the last.

## Stage 0 in brief

The full procedure, with the traps in each step, is `reference/stage-0.md`.
Read it before you start.

1. **Palette.** Sample every flat and the ground into `palette.json`, one named
   `#rrggbb` per flat (`"coat.lit": "#c8934a"`) plus `background`. Sample each
   step at its most saturated patch, never an average, and keep the subject's
   shift in hue from light to shadow.
2. **Trace.** `trace.py` for flat or printed art, `segment.py` for photographs
   and paintings. Both write `regions.json`. Trace each object from its own crop
   (`crop.py`), not from the whole picture, and trace the masses from
   `subject_1x.png`.
3. **Describe the subject.** `describe.sh subject.png A` and again with `B`.
   Answers 3 (what each figure is doing), 4 (what touches what) and 5
   (expression) become the acceptance list, quoted word for word.
4. **Reading.** Write `reading.md`: what the picture is, the big shape, the line
   of action, how this subject differs from a typical one (measured), the light,
   the two value groups, the line character (measured), what you leave out on
   purpose (never an object), the budget and number of correction rounds, then
   the acceptance list.
5. **Inventory.** Write `parts.json`: ranked entries, each with a shape note and
   a box, broken down into the pieces that make the object what it is (a wheel
   is tyre, rim, spokes and hub). Count repeated small forms, measure hatching,
   name the junctions, and check each part's crop with the describer.

```json
{
  "nose": {"shape": "ON the silhouette: the profile leaves the brow, runs down and OUT to the tip, then turns back under it", "box": [540, 336, 45, 50]},
  "mug.handle.top/hand.near": {"shape": "the fingers close over the handle; the handle disappears behind them and reappears 30px to the left. No gap", "box": [318, 470, 96, 70], "in_front": "hand.near"},
  "radiator.slots": {"shape": "seven slots radiating from the top edge, each tapering to both ends", "box": [380, 100, 330, 200], "count": 7, "value": "black"},
  "rock.face": {"shape": "short horizontal dashes along the front face, densest under the overhang", "box": [400, 3330, 1600, 150], "hatch": {"angle": 2, "spacing": 33, "length": 39}}
}
```

## Marks in brief

```python
from pen import stroke, frame, fade, erase, back, write
V = {"hip": (462, 590), "knee": (445, 715), "ankle": (452, 880)}   # measured once, named once
P = lambda *names: [V[n] for n in names]
ops = [frame(0, 0, 3712, 4608)]   # the working space: 4x the delivered 928x1152
ops.append(stroke(P("hip", "knee", "ankle"), stage="gesture", nib="fine"))
ops.append(stroke(P("hip", "knee", "ankle"), stage="blockin", smooth=False))
ops.append(stroke(P("hip", "knee"), stage="ink", nib="medium", tag="figure.leg.near.thigh"))
ops.append(stroke(P("knee", "ankle"), stage="ink", nib="medium", tag="figure.leg.near.shin"))
ops.append(stroke([(430, 600), (470, 598), (468, 880), (440, 882)], stage="fill", tool="flat",
                  closed=True, color="leg.shade", size="s", scale=0.5, tag="figure.leg.near"))
write("ops.json", ops)   # color= takes a palette.json name; an unknown name is refused
```

Read `reference/marks.md` before the first ink. The rules that matter most:

- **Read every point off the subject** with `look.py grid`, and confirm the ones
  your shape depends on with `look.py probe`, `look.py edge` or `check.py
  --scan`. Never retype a coordinate from memory; measure it again.
- **Every mark on its own line with its own numbers.** No shape functions, no
  loops, no `ellipse()`. Reusing your own named points for two marks (a flat
  and its ink) is fine and prevents drawing one edge twice.
- **Only `tool="flat"` fills.** Every other tool draws a closed path as an
  outline.
- **Tag every ink stroke with the edge it draws** (`tag="jaw.left+neck"`).
- **One stroke per limb segment.** A smoothed stroke through hip, knee and ankle
  renders as a single bow with no bend at the knee.
- **Straight lines, corners on the frame, quads and faceted forms take
  `smooth=False`.** Organic forms keep the default smoothing.
- **Draw a weight swatch first**, in its own `swatch.py` → `swatch.json`,
  render it with `node $SKILL/harness/cli.mjs` and `--palette palette.json`,
  read it back with `--weights`, and check it at delivered size.
- **A chain, belt, rope or cable is one continuous path** that meets what it
  wraps with no gap.

## Judging

Full detail, and every `check.py` flag with what it catches, is in
`reference/judging.md`.

- **The describer** (`describe.sh image.png [RUN]`) answers five fixed questions
  about an image it sees under a neutral name. It is blind and literal, so ask
  it what a thing is, never whether it is good. It is noisy: run it twice and
  keep only what both runs say. Describe the drawing at the subject's size.
- **Naming a part.** Crop a part's box out of the subject and the drawing, run
  the describer on both, and compare the two paragraphs. It is the only check
  that asks what a thing *is*; everything else measures presence, placement or
  value. A wrong name is a true diagnosis. A right name proves only
  recognition, not likeness.
- **Likeness** comes from the shape note, checked with an outline scan (`--scan`)
  and the two inks overlaid (`--overlay --box`).
- **The critic** is a fresh agent shown both images and asked for the few worst
  ways the drawing differs. About a quarter of what it says is invented, so
  measure every point before acting, and record each one you refute in
  `refuted.md` so it is not raised again.
- **The numbers** (`check.py` flags) are lists to work through, never scores.

## The correction cycle

**Work on one part at a time, never the whole picture.** A whole-picture round
costs about ten times more and tells you less, because the faults are per part
anyway.

There is no score, so the acceptance list drives the loop. Order parts by the
clauses they break, worst first: a part the describer misnames comes before one
whose shape note is inexact, which comes before one that is only missing.

```
per part: --zoom beside the subject, and the describer on its crop
  crop misnamed               -> the worst fault. Its stage failed; go back to
                                 that stage, not to a correction mark
  named, shape note untrue    -> measure the point on subject AND drawing,
                                 find the stage it belongs to, fix it there
  named, every note true      -> done; take the next part
  same complaint returns after
  a round that addressed it,
  and still measures true     -> stop, and report what it stopped on
  a clause flips between runs
  with no mark changed        -> describe the subject's pair again: a clause the
                                 subject's own runs disagree on is noise
  it returns and is already
  in refuted.md               -> the critic never saw the refusal. Measure once
                                 more with a different tool; still refuted,
                                 note it and move on
  budget spent                -> hand the remaining parts to another agent;
                                 never leave one half-drawn
```

- **Fix a contradiction before an omission.** A contradiction is a fault; an
  omission is often a choice. A fault in shape or along a whole length goes back
  to its stage. Only a small, local fault gets a `correct` mark.
- **Log every round in `notes.md`**: what changed, what the describer called
  each crop, which clauses became true. From the inside, a plateau looks like
  progress; the log is how you notice.
- **Judge beside the subject, at the same scale, in one image.** Ask "is this
  clause true", never "is this better than last time". Comparing each render
  with the previous one ends in signing off on work that improved and is still
  bad.
- **Your eye finds problems; a measurement decides whether a mark moves.**
  Proportions judged by eye from a side-by-side were wrong in both directions
  (a head that looked 10% large was 3% wide). Measure every complaint, yours,
  the critic's or a person's, on both images before changing anything. Never
  read a fault's size off a zoom's tick labels; probe or scan the pixels.

## Rules

- **Seeing comes first, and you record it as shapes.** A sentence about a shape
  is something you can check the drawing against.
- **Whole before part** in placement and in stage order, but not in effort. How
  far each tier is built is decided once at stage 0, and the furthest tier gets
  no lines of its own.
- **Place the mass first; name the object later.** A dark shape is placed, then
  called a rock. Most junctions in a scene are lost. Losing an edge is the only
  cheap way to push an object back; a wash over something too loud just makes a
  dirty copy of it.
- **Commit late:** gesture, straight lines, curves, ink, black, in that order.
- **Form before edge.** Each mark describes a volume you have in mind. A traced
  silhouette has no volume behind it, so there is nothing to correct it against.
- **Two value groups that never overlap**, decided before any tone.
- **Vary the execution, keep the structure.** Weight and path vary; proportion,
  landmarks and identifying features do not. Never mirror, and avoid twinning,
  two limbs or two figures in the same pose: they read as copies.
- **Exaggerate gently along each feature's own direction:** a small mouth gets
  smaller.
- **Overlaps are objects.** They get their own inventory entries and depth
  decisions, and are drawn with both objects present. A near-miss tangent reads
  as neither touching nor separate.
- **A part that is missing or unrecognisable is a failed stage**, not a known
  issue. `--parts` catches the first, the describer on its crop the second.
- **Stage 10 runs before anyone sees the picture.** A correction that changes
  nothing when switched off comes out. Zero `correct` marks, because every fault
  went back to its stage, is a pass.
- **Where the subject merges two edges into one, draw one.** `--doubled` wins
  over `--registration` there.

## Style

The gates judge a clean tldraw render, which looks like vector art. A
`style.json` beside `draw.py` changes how your marks land and how the finished
picture is rendered (medium, looseness of hand, paper, a scanned look, a brush
renderer), without adding a mark. Gates and the describer always read
`drawing.png`, never the styled `final.png`. Some of a hand-made look is in what
you draw (how many times a contour is restated, how far you drift from the
subject); decide that at stage 0. Keys and details: `reference/style.md`.

## Reference

Load what the picture needs. Use a reference to diagnose a problem, not as a
template: if a passage could be followed with the subject covered up, it is
being misused.

- **The process:** `stage-0` (the full first stage), `marks` (reading
  coordinates, the pen, smoothing, weights, overlap order), `judging` (the
  describer, the critic, every `check.py` flag), `correcting`, `style`.
- **The method behind it:** `method` (the full method and the failure behind
  each rule), `scene` (tone plan, masses, the overlaps table, splitting a scene
  across agents).
- **Subjects:** `head`, `figure`, `hands-and-feet`, `quadruped` (dogs, cats,
  horses, cattle), `bird`, `bicycle`, `vehicle` (cars, boats, aircraft, trains),
  `building` (perspective, interiors, furniture), `landscape` (sky, water,
  mountains), `tree-and-plant`, `still-life` (ellipses, containers, glass,
  food).
- **Craft:** `measuring` (sighting, plumb lines), `light`, `line` (weight,
  hatching, inking order), `tone`, `colour` (flats, trapping), `photograph`
  (simplifying a photo before tracing, fur and grass), `redrawing` (a generated
  image as the subject).

Load every subject file whose subject appears in the picture. Their
` ```checklist ` blocks are enforced on `parts.json` whether you read the file
or not.

To test this skill, give a fresh agent this directory and a subject and nothing
else. Notes from an earlier attempt leak into the test.

Files in this skill

  • .claude-plugin/marketplace.json639 B
  • .claude-plugin/plugin.json735 B
  • SKILL.md33.4 KB
  • brush.py35.4 KB
  • build.sh6.1 KB
  • crop.py1.9 KB
  • describe.sh4.7 KB
  • docs/how-it-works-subject.png53.3 KB
  • docs/how-it-works.png87.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.