sketch

sketch is a skill for Claude Code from helderberto/agent-skills. It costs 82 tokens per session (445 once invoked), scanned A, original, MIT.

A code-explanation guide that chooses a small visual, such as a diagram, pseudocode, file tree, or component tree, to show how code or a design works. It also calls for an analogy, a walkthrough, and a relevant warning when useful.

In plain words
What is it for?
Use it to explain algorithms, runtime flow, user-interface structure, file responsibilities, data flow, or a large code diff.
Why use it?
It makes unfamiliar code and large changes easier to understand than a long block of prose alone.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the hb plugin — 42 skills, 4 agents shipped together

Good fit Use it to explain algorithms, runtime flow, user-interface structure, file responsibilities, data flow, or a large code diff.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/helderberto/agent-skills/sketch
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add helderberto/agent-skills --skill sketch
Clone the repo
git clone --depth 1 https://github.com/helderberto/agent-skills

Made for: Claude Code.

Or install hb, the plugin that ships this one along with the rest of its 42 skills, 4 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 sketch

README.md
[![agentmods](https://agentmods.dev/badge/skills/helderberto/agent-skills/sketch/github.svg)](https://agentmods.dev/skills/helderberto/agent-skills/sketch)
Your own site
<a href="https://agentmods.dev/skills/helderberto/agent-skills/sketch"><img src="https://agentmods.dev/badge/skills/helderberto/agent-skills/sketch/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sketch

Your own site · 80×15
<a href="https://agentmods.dev/skills/helderberto/agent-skills/sketch"><img src="https://agentmods.dev/badge/skills/helderberto/agent-skills/sketch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 445 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.00082 $0.00445
Opus 5.5 $0.00033 $0.00178
Sonnet 5.5 $0.00016 $0.00089
Haiku 4.5 $0.00008 $0.00044

Measured today against content hash c5bd6327ae2f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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 today.

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.

skills/sketch/SKILL.md · 29 lines

What it actually says

Read the code and anything it depends on before sketching. Skip the preamble; keep prose to the line each visual needs.

  1. Analogy from everyday life. Complex concepts get more than one.
  2. Sketch: the smallest view that makes the point, placed next to the text it supports. One concept per visual; split rather than cram. Done when every visual answers the current question and nothing else.
  3. Walk through the code step by step.
  4. Gotcha: a common mistake or misconception.

Pick the shape

Question is about Sketch
Logic, algorithm Pseudocode
Runtime control flow Call tree: indented function names
UI structure Component tree: <Component> with state and file path in parentheses
File responsibility, broad refactor Shallow file tree, ├── / └──, one # comment per line
Interaction between actors, state machine, data flow Mermaid (sequenceDiagram, stateDiagram, flowchart)
What changes diff block shaped like the topic: component, file layout, call tree, or state
Mostly new code, or ownership/order hidden by omission Full code block
Visual UI, layout, state comparison, or too dense for Mermaid One HTML file (below)

HTML

Write one self-contained sketch-<description>.html: a diagram, infographic, or short slide deck. Use the product's colors, type, and real labels and data; it works on desktop and mobile. Open it with open sketch-<description>.html (xdg-open on Linux).

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. today First seen · 29 lines · 82 tokens per session scan A c5bd6327ae2f

Subscribe to this mod's changes

sketch is a skill published in the GitHub repository helderberto/agent-skills (21 stars, last pushed yesterday), licensed MIT. It adds 82 tokens to every session and 445 once invoked, about $0.0003 per session on Opus 5.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-12-03.

Related

sketch compared with skills from other repositories

sketch next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sketchhelderberto/agent-skillsSkill21yesterdayMITA82Claude Code
code-explanationDevelopersGlobal/ai-agent-skillsSkill2218d agoMITA34Claude Code, Codex
jupyterG1Joshi/Agent-SkillsSkill162mo agoMITA42Claude Code, Codex
using-agent-skillsaddyosmani/agent-skillsSkill122ktodayMITA54Claude Code
test-driven-developmentaddyosmani/agent-skillsSkill122ktodayMITA118Claude Code
context-engineeringaddyosmani/agent-skillsSkill122ktodayMITA43Claude Code
doubt-driven-developmentaddyosmani/agent-skillsSkill122ktodayMITA96Claude Code