Index of every page on this site: llms.txt
All skills
Run it yourself

Create accurate, simple, hand-drawn whiteboard diagrams from a user's process, system, architecture, learning workflow, comparison, or causal explanation. Use when the user asks for a scribbly whiteboard visual, educational workflow graphic, hand-drawn explainer, or diagram like the bundled reference; ask one focused clarification question when the subject or relationships are missing, then generate and visually verify the final image.

  • 12 files
  • 1.6 MB
  • Updated 3 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/cneuralnetwork/diagrams/diagrams

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈112 tokens for metadata: the name and description. ≈755 when used: this file. ≈4.7k more on demand in 7 files.

Description uses 5.8% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈461 characters, or 5.8%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Whiteboard Diagrams

Turn a described system into one causal picture that a new reader can follow without narration.

Workflow

  1. Read SCALE.md completely before composing or generating anything.

  2. Extract the subject, audience, components, relationships, required labels, and output format from the request.

  3. Apply the intake gate below. Do not invent a missing workflow.

  4. Convert the request into a compact diagram spec. Use references/INTAKE.md for the schema and references/EXAMPLES.md when the topology is unclear.

  5. Validate and compile the spec:

    python scripts/diagram_prompt.py validate path/to/spec.json
    python scripts/diagram_prompt.py build path/to/spec.json --output /tmp/diagram-prompt.txt
  6. Generate one raster image with the available image-generation tool using the compiled prompt. For a brand-new diagram, do not pass unrelated reference images. If the user supplies a style reference, label it as a style reference, never as an edit target.

  7. Inspect the actual output at full size. Check every required label, arrow, merge, lane, margin, and distinction against the source spec.

  8. Make one targeted correction when text, causality, or clipping is wrong, then inspect again. Do not call an inaccurate diagram finished.

  9. Return the image and, for project-bound work, its saved path.

Intake gate

Proceed without asking when the request provides both:

  • what the diagram must explain; and
  • the main steps, components, or relationships.

If either is missing, ask exactly one concise question and stop generation until answered:

What should the diagram explain, and what are the main steps or components and how do they connect?

Do not ask about style, palette, or dimensions unless the user explicitly needs a non-default treatment. Use the defaults in SCALE.md for those choices.

Non-negotiable rules

  • Preserve causal truth. An attractive wrong arrow is a failed output.
  • Use the user's exact technical names and verbatim copy.
  • Show state changes, joins, feedback loops, and frozen versus trainable parts explicitly.
  • Keep the whiteboard human: loose marker strokes, imperfect arrows, terse labels, and small explanatory doodles.
  • Keep the information disciplined: no fake UI, decorative cards, gradients, glows, shadows, icon tiles, background grids, or ornamental clutter.
  • Assign color by meaning, not decoration. Default to black structure, blue flow, and one red emphasis for the learned or critical component.
  • Keep all live content clear of the canvas edge. Nothing may be clipped.
  • Never hide missing information behind generic labels such as "process," "data," or "AI magic."
  • Never claim generation succeeded without inspecting the produced image.

Output contract

The final answer must include:

  • the generated diagram;
  • a one-sentence description of what it explains; and
  • the saved path when the image belongs to a project or repository.

Do not expose the full internal prompt unless the user requests it.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at ba18224. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 3 months ago

README badge

README badge for cneuralnetwork/diagrams