discovering-subtopics

discovering-subtopics is a skill for Claude Code from rootbr/rooted. It costs 205 tokens per session (2,900 once invoked), scanned A, original, Apache-2.0.

A workflow for producing a broad map of questions about a topic before answering it. It is intended for learning, brainstorming, planning, or investigating situations where important angles may be easy to miss.

In plain words
What is it for?
Use it to explore a new field, plan a project or book, investigate an incident, or organize a deep research task into questions across many dimensions.
Why use it?
It helps expose unanswered questions and different perspectives instead of narrowing too early to the first obvious interpretation. Empty areas are marked as unknown rather than padded with invented content.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions subagents.

Part of the evidence-based-authoring plugin — 7 skills, 7 agents shipped together

Good fit Use it to explore a new field, plan a project or book, investigate an incident, or organize a deep research task into questions across many dimensions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rootbr/rooted/discovering-subtopics
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 rootbr/rooted --skill discovering-subtopics
Clone the repo
git clone --depth 1 https://github.com/rootbr/rooted

Made for: Claude Code.

Or install evidence-based-authoring, the plugin that ships this one along with the rest of its 7 skills, 7 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 discovering-subtopics

README.md
[![agentmods](https://agentmods.dev/badge/skills/rootbr/rooted/discovering-subtopics/github.svg)](https://agentmods.dev/skills/rootbr/rooted/discovering-subtopics)
Your own site
<a href="https://agentmods.dev/skills/rootbr/rooted/discovering-subtopics"><img src="https://agentmods.dev/badge/skills/rootbr/rooted/discovering-subtopics/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 discovering-subtopics

Your own site · 80×15
<a href="https://agentmods.dev/skills/rootbr/rooted/discovering-subtopics"><img src="https://agentmods.dev/badge/skills/rootbr/rooted/discovering-subtopics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 205 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,900 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Prompt Injection · line 29
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
How audits are shown
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.00205 $0.02900
Opus 5.5 $0.00082 $0.01160
Sonnet 5.5 $0.00041 $0.00580
Haiku 4.5 $0.00020 $0.00290

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

Security

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 3d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (maintenance/tests/test_research_agents.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/evidence-based-authoring/skills/discovering-subtopics/SKILL.md · 161 lines

How it starts

The opening of the file, as written. The whole thing — 161 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  Write the spawn prompt of each stage into prompts/NN-*.md (01..10) and prompts/synthesis.md
Step 4  Dispatch agents 01–09 in parallel (one Agent call per method, each on its agent type, run_in_background: true)
Step 5  After 01–09 complete (all show <!-- COMPLETE -->), dispatch agent 10 (Coverage Audit) on its agent type
Step 6  After 10 completes, dispatch Synthesis agent on its agent type
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.

Spawn prompt

Every stage's prompts/NN-*.md and prompts/synthesis.md holds the run's values and the path of the stage's prompt file:

Topic: {topic}
Depth: {depth_budget}
Run directory: {run_dir}
Output path: {output_path}
Language: {language}
Prompt file: {skill_dir}/agents/{stage directory}/prompt.md

Read the prompt file and follow it. The values above fill its placeholders.

Read the full file on GitHub · 161 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 Changed · +2 lines 908ef6fe7de7
  2. 3mo ago First seen · 159 lines · 205 tokens per session scan A a9fd4ccbba41

Subscribe to this mod's changes

discovering-subtopics is a skill published in the GitHub repository rootbr/rooted (22 stars, last pushed 3d ago), licensed Apache-2.0. It adds 205 tokens to every session and 2,900 once invoked, about $0.0008 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-08-30.

Related

discovering-subtopics compared with skills from other repositories

discovering-subtopics next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
discovering-subtopicsrootbr/rootedSkill223d agoApache-2.0A205Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82ktodayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill332k6d agoMITA21Claude Code