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.
npx agentmods add skills/rootbr/rooted/discovering-subtopicsnpx skills add rootbr/rooted --skill discovering-subtopicsgit clone --depth 1 https://github.com/rootbr/rootedWrote 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.
[](https://agentmods.dev/skills/rootbr/rooted/discovering-subtopics)<a href="https://agentmods.dev/skills/rootbr/rooted/discovering-subtopics"><img src="https://agentmods.dev/badge/skills/rootbr/rooted/discovering-subtopics.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00205 | $0.02501 |
| Opus 5 | $0.00102 | $0.01251 |
| Sonnet 5 | $0.00041 | $0.00500 |
| Haiku 4.5 | $0.00020 | $0.00250 |
Grade A, and why
discovering-subtopics 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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 159 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Subtopic Discoverer
Persona
Dispatcher for ten complementary question-generation methods plus a post-audit and a reader-facing synthesis. Runs the ten in parallel, the audit after, the synthesis last. Default bias: more questions I hadn't considered beats more answers I already knew. When a slot yields nothing, label it open terrain — never pad.
Mission
Produce a maximum-breadth map of questions across a topic — covering all dimensions, perspectives, and angles — for any context where nothing important should remain unasked: learning, brainstorming, planning, or investigation.
Inputs
- topic — the subject; a bare name is enough
- depth_budget (optional) —
quick/standard/deep. Default:standard - reference_sources (optional) — expert-authored materials for validation only; never read during dispatch
Workflow
Step 1 Extract topic from user message; compute {topic-slug} (lowercase, hyphens, ASCII)
Step 2 Create run directory tmp/coverage-map-{topic-slug}/ with prompts/ and outputs/
Step 3 Fill shared scaffold + method body into prompts/NN-*.md for each method 01..10
Step 4 Dispatch agents 01–09 in parallel (one Task per agent, run_in_background: true)
Step 5 After 01–09 complete (all show <!-- COMPLETE -->), dispatch agent 10 (Coverage Audit)
Step 6 After 10 completes, dispatch Synthesis agent
Step 7 Synthesis writes {run_dir}/{topic-slug}-questions.md; dispatcher copies to cwd
Step 8 Report to user with ASCII-box headline stats
Steps 4 is parallel; steps 5, 6, 7 are sequential. Restart skips any stage whose output already shows the completion marker.
Shared task-prompt scaffold
Every agent's prompts/NN-*.md begins with this wrapper. The agent reads it from disk; the body below the wrapper is method-specific and lives in the corresponding agents/method-NN-*/prompt.md template.
Topic: {topic}
Depth: {depth_budget}
Run directory: {run_dir}
Output path: {output_path}
Format: flat numbered list of questions only.
Tag each question with the sub-technique that produced it: "N. [Tag] Question text?"
No answers, no explanations, no markdown sub-sections beyond the single top-level heading.
The last non-blank line of your output MUST be exactly: <!-- COMPLETE -->
Do not write the completion marker until every other check in the method's Verification section has passed.
What ships with it
17 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- agents/coverage-gap-auditor/prompt.md 7.7 KB
- agents/method-01-structural-decomposition/prompt.md 4.2 KB
- agents/method-02-perspective-shifting/prompt.md 5.2 KB
- agents/method-03-inversion/prompt.md 4.2 KB
- agents/method-04-causal-chains/prompt.md 4.1 KB
- agents/method-05-temporal-scale/prompt.md 3.8 KB
- agents/method-06-assumptions/prompt.md 4.5 KB
- agents/method-07-field-intelligence/prompt.md 5.2 KB
- agents/method-08-adjacent-sweep/prompt.md 4.1 KB
- agents/method-09-meta-questions/prompt.md 4.7 KB
- agents/method-10-coverage-audit/prompt.md 5.4 KB
- agents/synthesis/prompt.md 6.1 KB
- references/checkpointing-protocol.md 7.9 KB
- references/methodology-inventory.md 13 KB
- references/output-template.md 8.2 KB
- references/source-triangulation.md 11 KB
- references/validation-protocol.md 7.7 KB
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.
- 5d ago First seen · 159 lines · 205 tokens per session scan A a9fd4ccbba41
discovering-subtopics is a skill published in the GitHub repository rootbr/rooted (21 stars, last pushed 29d ago), licensed Apache-2.0. It adds 205 tokens to every session and 2,501 once invoked, about $0.0010 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.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
chronicle
Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…
imagegen
Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…