cartograph-use-case

cartograph-use-case is a skill for Claude Code, Codex from jeunessegamesee/clew. It costs 54 tokens per session (429 once invoked), scanned A, original, MIT.

A tool-guided method for documenting one service use case as a tree: Input → Branches → Output. It follows requests, events, webhooks, and asynchronous calls, where work may continue after the initial message.

In plain words
What is it for?
Use it when a service's hops.md map is missing or outdated, when mapping a new flow, or when tracing a flow that crosses asynchronous service boundaries.
Why use it?
It gives the team a shared map of what enters a service, which conditions choose each path, and what each path produces or calls next.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when a service's hops.md map is missing or outdated, when mapping a new flow, or when tracing a flow that crosses asynchronous service boundaries.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jeunessegamesee/clew/cartograph-use-case
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 jeunessegamesee/clew --skill cartograph-use-case
Clone the repo
git clone --depth 1 https://github.com/jeunessegamesee/clew

Made for: Claude Code, Codex.

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 cartograph-use-case

README.md
[![agentmods](https://agentmods.dev/badge/skills/jeunessegamesee/clew/cartograph-use-case/github.svg)](https://agentmods.dev/skills/jeunessegamesee/clew/cartograph-use-case)
Your own site
<a href="https://agentmods.dev/skills/jeunessegamesee/clew/cartograph-use-case"><img src="https://agentmods.dev/badge/skills/jeunessegamesee/clew/cartograph-use-case/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 cartograph-use-case

Your own site · 80×15
<a href="https://agentmods.dev/skills/jeunessegamesee/clew/cartograph-use-case"><img src="https://agentmods.dev/badge/skills/jeunessegamesee/clew/cartograph-use-case.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 429 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.00054 $0.00429
Opus 5 $0.00027 $0.00215
Sonnet 5 $0.00011 $0.00086
Haiku 4.5 $0.00005 $0.00043

Measured 11d ago against content hash 6cb9c0d0f2f3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

cartograph-use-case 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 11d 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.

skills/cartograph-use-case/SKILL.md · 25 lines

What it actually says

Cartograph a use case

This session is expensive on purpose. Write the map, then stop. Do not also implement the feature.

Read tree.md, communication-types.md, dispatch.md.

Write a tree per use case: Input → Branches → Output. This service owns one level; next points at another service’s tree (same monorepo or another repo).

If maps already exist, prefer the research-use-case skill (gap-fill). Use this skill for a first tree or a full remap of one service — not the whole monorepo in one session. After writing hops.md, run clew score --root <repo> and confirm the new tree removed a P0.

  1. Forest first: each inbound event/request → which tree? Event name and/or kind/type may be a use case.
  2. For each tree, one Input node (interaction, transport, contract, example, stitch).
  3. Under that input, Branches (when / also / else) on payload fields. Each taken path ends in one or more Output nodes (interaction, transport, contract, example, next or terminal).
  4. Nested decisions after an output belong in the downstream tree, not here.
  5. Request-response: trace ok. Command/event/webhook: stitch + logs. One real payload per path (leaf), not one happy path.
  6. else is required. Unknown values are a trap.
  7. Commit hops + examples. Stop.

Do not paste another service’s schema. Point at their hops file.

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. 11d ago First seen · 25 lines · 0 tokens per session scan A 6cb9c0d0f2f3

Subscribe to this mod's changes

cartograph-use-case is a skill published in the GitHub repository jeunessegamesee/clew (0 stars, last pushed 16d ago), licensed MIT. It adds 54 tokens to every session and 429 once invoked, about $0.0003 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-08-31.

Related

Other skills, from other repositories

go

Use when writing, reviewing, testing, or shipping Go code and HTTP services: idioms, %w error wrapping, goroutine/context/errgroup concurrency, net/http 1.22 routing, log/slog, project layout, table-driven tests, Go hardening. NOT language-agnostic threat modeling (that is secure-coding), NOT Dockerfile/CI shipping…

ericrisco/rsc-harness · 86 tokens

rust-conventions

Rust code conventions covering edition 2024, cargo fmt/clippy, Result-based error handling, unsafe discipline, async with tokio, API-guideline naming, trait implementations, benchmarking, and security scanning. Load when writing or reviewing Rust code.

Goldziher/ai-rulez · 53 tokens

bindings

Cross-language binding architecture rules: bindings as minimal glue, canonical API surface ordering (core, ABI, language), per-language test suites in CI, generated-code discipline, and error/async boundary preservation. Load when designing or reviewing polyglot language bindings for a shared core.

Goldziher/ai-rulez · 57 tokens

go-swagger3-docs

Documents existing Go HTTP APIs with go-swagger3 godoc @ annotations and struct tags, then generates OpenAPI 3 specs. Use when the user asks to document an API, add Swagger/OpenAPI comments, generate oas.json/yml, or mentions go-swagger3.

parvez3019/go-swagger3 · 63 tokens

go-docs

Go 1.26 — language specification, standard library, concurrency, modules, tools, testing, crypto, networking, database access, and idiomatic patterns.

pledgeandgrow/pledge-skills · 36 tokens

golang-samber-do

Dependency injection in Golang using samber/do — service containers, lifecycle management, scopes, health checks, graceful shutdown, and module organization. Apply when using or adopting samber/do, when the codebase imports github.com/samber/do or github.com/samber/do/v2, or when refactoring manual constructor…

alexastrum/skl · 74 tokens