discover

A routing skill for debugging, code review, testing, project exploration, and other investigation tasks. It interprets a broad request and sends it to the relevant workflow.

In plain words
What is it for?
Use it to investigate bugs, review code, plan test coverage, learn project conventions, tour a project, assess change impact, or help review someone else’s work.
Why use it?
It removes the need to know which separate investigation command to use. It can also offer choices when a request covers several activities.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/drafthq/draft/discover
Any agent
npx skills add drafthq/draft --skill discover
Clone the repo
git clone --depth 1 https://github.com/drafthq/draft

Made for: Claude Code, Codex.

Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 780 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00075 $0.00780
Opus 5 $0.00037 $0.00390
Sonnet 5 $0.00015 $0.00156
Haiku 4.5 $0.00007 $0.00078

Measured 2d ago against content hash 36253449306b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

discover 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 2d 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/discover/SKILL.md · 65 lines

How it starts

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

Discover - Investigation & Quality Router

/draft:discover is the single front door for all investigation, auditing, pattern learning, and quality exploration activities.

When to Use

  • Any debugging or root-cause work
  • Code quality reviews (lightweight to exhaustive to architectural)
  • Coverage analysis and test strategy design
  • Discovering and codifying project conventions
  • Project tours, impact analysis, or reviewer assistance

Routing Logic

Strong keyword and phrase matching with fallback to a menu when intent is broad or compound. Several quality commands auto-chain (e.g. review may call bughunt).

User Intent Keywords Dispatches To Purpose
debug, investigate bug, reproduce, isolate, diagnose /draft:debug Structured 4-phase debugging
hunt bugs, find bugs, exhaustive sweep, regression hunt /draft:bughunt 14-dimension bug hunt + regression tests
quick review, fast review, sanity check, lightweight review /draft:quick-review 4-dimension review (~2 min)
deep review, production audit, module audit, ACID compliance /draft:deep-review Full module lifecycle + architecture audit
coverage, code coverage, test coverage report /draft:coverage Coverage measurement and gap report
test strategy, testing plan, coverage targets, pyramid /draft:testing-strategy Test approach design
learn patterns, discover conventions, update guardrails, anti-patterns /draft:learn Pattern mining + guardrail evolution
tour, walkthrough, onboard me, getting started tour /draft:tour Guided interactive project tour
blast radius, code impact, affected modules, downstream callers /draft:review or scripts/tools/graph-impact.sh Graph-derived blast-radius before merge
impact, delivery telemetry, track analytics, CDD effectiveness /draft:impact Project-wide track delivery telemetry
assist review, help reviewer, PR architectural audit /draft:assist-review Risk audit to support human reviewers

Read the full file on GitHub · 65 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. 2d ago First seen · 65 lines · 75 tokens per session scan A 36253449306b

Subscribe to this mod's changes

discover is a skill published in the GitHub repository drafthq/draft (40 stars, last pushed 13d ago), licensed MIT. It adds 75 tokens to every session and 780 once invoked, about $0.0004 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-30.