editorial-sketch

editorial-sketch is an agent for Claude Code from cogni-work/insight-wave. It costs 114 tokens per session (4,170 once invoked), scanned A, original, Apache-2.0.

A line-art illustration agent that creates one SVG sketch and saves it to disk. It supports subjects such as maps, people, objects, and small process diagrams in a restrained editorial style.

In plain words
What is it for?
Use it to make cartographic outlines, stakeholder silhouettes, object drawings, or process-diagram sketches.
Why use it?
It removes the need to draw simple explanatory illustrations manually when preparing editorial or data-focused pages.

Agent for Claude Code

Written for Claude Code: $CLAUDE_PLUGIN_ROOT variable. Also seen: model in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the cogni-workspace plugin — 18 agents shipped together

Good fit Use it to make cartographic outlines, stakeholder silhouettes, object drawings, or process-diagram sketches.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add cogni-work/insight-wave
Claude Code
/plugin install cogni-workspace

Made for: Claude Code.

Or install cogni-workspace, the plugin that ships this one along with the rest of its 18 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for editorial-sketch

README.md
[![agentmods](https://agentmods.dev/badge/agents/cogni-work/insight-wave/editorial-sketch.svg)](https://agentmods.dev/agents/cogni-work/insight-wave/editorial-sketch)
Your own site
<a href="https://agentmods.dev/agents/cogni-work/insight-wave/editorial-sketch"><img src="https://agentmods.dev/badge/agents/cogni-work/insight-wave/editorial-sketch.svg" alt="Measured on agentmods" height="20"></a>
Per session 114 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,170 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00114 $0.04170
Opus 5 $0.00057 $0.02085
Sonnet 5 $0.00023 $0.00834
Haiku 4.5 $0.00011 $0.00417

Measured 3d ago against content hash f2b602839645, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

editorial-sketch scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

cogni-workspace/agents/editorial-sketch.md · 229 lines

How it starts

The opening of the file, as written. The whole thing — 229 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Editorial Sketch Agent

Generate ONE editorial-discipline line-art sketch as an SVG, write it to disk, and return a JSON pointer to the file. You are the disciplined sibling of concept-diagram-svg: same JSON contract, same craft, but a much stricter visual language — because your output lives on a Pencil MCP editorial data page where a single stray drop shadow or gradient would undermine the whole aesthetic.

Your Role

Response Format (MANDATORY)

Your ENTIRE response must be a SINGLE LINE of JSON — no text before or after, no markdown fencing.

Success:

{"ok":true,"svg_path":"/abs/path/.sketches/block-3.svg","subtype":"cartographic-outline","subject":"outline of Germany with 5 city markers","dimensions":{"width":480,"height":360},"elements_created":18,"stroke_color":"#C00000"}

Error:

{"ok":false,"e":"error_description","subtype":"cartographic-outline"}

Input (provided by caller in prompt)

Field Required Description
BLOCK_ID Yes Stable identifier used to name the output file (e.g., block-3, sketch-1)
SUBTYPE Yes One of: cartographic-outline, stakeholder-silhouette, object-line-art, process-diagram, metaphor-sketch
SUBJECT Yes One-line concrete description of what to draw ("outline of Germany with 5 city markers")
STROKE_COLOR Yes Resolved hex color for ALL strokes (the render agent passes --accent-primary — typically #C00000 for canonical Economist red, or the theme primary)
OUTPUT_DIR Yes Absolute directory path where the .sketches/ folder should live (usually the brief directory)
WIDTH No Target SVG width in px (default 480 — renders cleanly at the Pencil canvas's 33% row width)
LANGUAGE No en or de — purely a hint for subject interpretation; no text is drawn inside the sketch, so language only informs what you draw, not what you label
DATA No Optional structured payload — shape depends on subtype (see below)

Read the full file on GitHub · 229 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 229 lines · 114 tokens per session scan A f2b602839645

Subscribe to this mod's changes

editorial-sketch is an agent published in the GitHub repository cogni-work/insight-wave (12 stars, last pushed yesterday), licensed Apache-2.0. It adds 114 tokens to every session and 4,170 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.

Related

Other agents, from other repositories

designer

Ornamental design specialist for historical and modern style analysis, colorblind-accessible palettes, and AI-assisted image generation using Z-Image.

pjt222/agent-almanac · 29 tokens

inspiration-scout

Use this agent to find aesthetic references, interaction examples, and visual inspiration that match the project brief and the user's taste profile. Dispatched when the team needs creative direction, visual references, or cross-domain inspiration before design begins.

Owl-Listener/designpowers · 50 tokens

sdpm-composer

Composes assigned slides from approved specs. No user interaction. Used in Phase 2 (compose) of the sdpm slide workflow, invoked in parallel by the sdpm orchestrator.

aws-samples/sample-spec-driven-presentation-maker · 42 tokens

ve-diagram-builder

Build one visual-explainer diagram fragment. Select a semantic pattern and one of the supported editorial visual types, use accessible inline SVG by default, and use Mermaid only for an explicit or over-budget fallback.

theclaymethod/artifacture · 46 tokens

Visual Storyteller

Expert visual communication specialist focused on creating compelling visual narratives, multimedia content, and brand storytelling through design. Specializes in transforming complex information into engaging visual stories that connect with audiences and drive emotional engagement.

lisihao/Solar · 44 tokens

Visual Storyteller

Expert visual communication specialist focused on creating compelling visual narratives, multimedia content, and brand storytelling through design. Specializes in transforming complex information into engaging visual stories that connect with audiences and drive emotional engagement.

criptogus/agent-evolve-network · 44 tokens