recursive-research
Skill2 starsChanged 52 days agoMITView on GitHub
Use when researching a topic to expert depth, tiering sources by reliability, or mapping state of the art before a design spec or a plan. Don't use for session summaries (use summarize), code review (use code-review), or packaging prompts for an external model (use web-advisor-prompt).
2 other projects use a version of this.
Adopted by
Most recently taken up by
- chaakresh/claude-skillstheir own version, first seen Sep 7, 2026
- zaka33333-hash/claude-skillstheir own version, first seen May 14, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- chaakresh/claude-skills★ 0same name
- zaka33333-hash/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository35 other files it gives its agents.
- agent-planningSkill
- brainstormingSkill
- codebase-designSkill
- code-reviewSkill
- conventional-commitSkill
- copy-web-designSkill
- executing-plansSkill
- frontend-designSkill
- i18nSkill
- laravelSkill
- prototypeSkill
- pull-requestSkill
- reactSkill
- reflect-to-skillSkill
- review-a-skillSkill
- s13nSkill
- schema-migrationSkill
- security-auditSkill
- skill-testingSkill
- summarizeSkill
- systematic-debuggingSkill
- t3-operational-guardrailSkill
- technical-writingSkill
- testing-patternsSkill
- ui-motionSkill
- ui-ux-reviewSkill
- unslopSkill
- upsert-codebase-docsSkill
- verification-before-completionSkill
- vibe-wiseSkill
- web-advisor-promptSkill
- wizardSkill
- workspace-onboardingSkill
- writing-for-agentsSkill
- writing-plansSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. About 0 are common, 7 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Read references/source-tiering.md when you assign a tier to a source or pick seed sources.
- Very specific: line 13
Write-Target Boundary. Write evidence only under .agents/research/<slug>/.
- Distinctive: line 27
Follow these six steps in sequence.
- Distinctive: line 31
Ask the user for the topic, the evidence scope (web, local files, or both), the priority and excluded sources, and the cycle cap (default …
- Very specific: line 33
Create .agents/research/<slug>/ with state.md, threads.md, findings.md, and the four source ledgers.
- Very specific: line 35
When .agents/research/<slug>/state.md already exists, read it, report the last completed cycle and the next thread, and continue from that …
- Distinctive: line 43
Run Munger inversion over the kept threads.
- Distinctive: line 59
Run one cycle at a time.
- Distinctive: line 63
Read the sources and harvest facts, numbers, quotes with attribution, and new names.
- Very specific: line 65
Write cycle-NN.md with the thread, the sources, the new findings, the cross-thread links, and the open questions.
- Very specific: line 66
Update state.md with the cycle count, the coverage per thread, and the saturation ratio of new findings to accumulated findings.
- Very specific: line 68
Follow references/cycle-protocol.md for the checkpoint schema, the resume procedure, and the context threshold that triggers a pause before …
- Distinctive: line 74
Test the five criteria. Move to Step 6 only when all five pass.
- Distinctive: line 82
When the cap trips before the criteria pass, close with the gap list and state the failed criteria by number instead of claiming expert …
- Very specific: line 88
Write synthesis.md with the findings per thread, the contradictions, and the open gaps.
- Very specific: line 106
Write evidence only inside .agents/research/<slug>/.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Recursive research
Research a topic to expert depth before you write a design spec or a plan. Run regulated cycles that pick the least covered thread, tier every source, save a checkpoint each cycle, and stop only when the five fitness criteria pass or the cycle cap trips.
Read references/source-tiering.md when you assign a tier to a source or pick seed sources. Read references/decision-frameworks.md before an autonomous pick and before you declare fitness. Read references/cycle-protocol.md at every cycle checkpoint and when you resume a saved run.
<HARD-GATE>
Write-Target Boundary. Write evidence only under `.agents/research/<slug>/`. Do not edit application source, schemas, migrations, configuration files, or shell history. Confirm the slug and root before Step 1.
</HARD-GATE>Modes
Select a mode before Step 1.
- Cycle mode (default). Run the loop across 3 to 5 seed threads until the five fitness criteria pass or the cap trips. Use it for a dossier, a state of the art map, or a spec input.
- Targeted mode. Answer one bounded question across the best available sources, skip cross-thread synthesis, and return a cited brief. Callers such as
brainstorminguse this mode when a design needs rules rather than a dossier.
State the mode in one line before you start.
Workflow
Follow these six steps in sequence.
Step 1. Intake and state file
Ask the user for the topic, the evidence scope (web, local files, or both), the priority and excluded sources, and the cycle cap (default 8). Read the local paths when the user names them.
Create .agents/research/<slug>/ with state.md, threads.md, findings.md, and the four source ledgers. Keep the slug in kebab case at 40 characters or fewer.
When .agents/research/<slug>/state.md already exists, read it, report the last completed cycle and the next thread, and continue from that cycle instead of restarting.
Completion criterion. The user confirms the topic, the scope, and the cap in one line, and .agents/research/<slug>/state.md exists on disk.
Step 2. Seed threads
List 5 to 8 candidate threads, score them with the weighted decision matrix in references/decision-frameworks.md, and keep the top 3 to 5. Score coverage, perspective diversity, source access, and relevance to the user goal.
Run Munger inversion over the kept threads. Name the dropped thread that carries a dissenting school, a missing region, or a counter-position. Add it when the inversion finds a hole, then rescore.
In Targeted mode, keep one thread and stop.
Completion criterion. threads.md lists the kept threads with scores and the dropped candidates with a reason.
Step 3. Source plan
Tier every candidate source T1, T2, T3, or Rejected against references/source-tiering.md. Present the seed source list for the domain from the same file and let the user add or reject entries.
Reject a source that carries no named author, no data, or no citation trail. Record the tier, the URL, the author, the date, and the reason in the matching ledger.
Completion criterion. Every consulted source appears in one of the four ledgers with a tier and a reason, and zero sources carry an unstated tier.
Step 4. Cycle
Run one cycle at a time.
- Pick the thread with the lowest coverage.
- Score the candidate sources for this cycle with the matrix in
references/decision-frameworks.md, then invert the pick and name the contradicting source you skipped. - Read the sources and harvest facts, numbers, quotes with attribution, and new names.
- Tier each source into the matching ledger.
- Write
cycle-NN.mdwith the thread, the sources, the new findings, the cross-thread links, and the open questions. - Update
state.mdwith the cycle count, the coverage per thread, and the saturation ratio of new findings to accumulated findings.
Follow references/cycle-protocol.md for the checkpoint schema, the resume procedure, and the context threshold that triggers a pause before the session compacts.
Completion criterion. cycle-NN.md and state.md both carry the current cycle number and agree on the findings count.
Step 5. Fitness check
Test the five criteria. Move to Step 6 only when all five pass.
- Coverage is the number of required subtopics in
threads.mdwith at least one T1 or T2 source divided by the total required subtopics, reaching 80 percent or higher on every seed thread. Record the numerator, denominator, and percentage. - Each thread has at least 3 T1 sources, or at least 2 T1 and 3 T2 sources when the domain contains fewer than 3 T1 sources. Record the count in
threads.md. - Saturation at 5 percent or lower for three consecutive cycles.
- Munger inversion written into
gaps.mdfor the current knowledge state. - Three or more explicit links between different threads.
When the cap trips before the criteria pass, close with the gap list and state the failed criteria by number instead of claiming expert depth.
Completion criterion. You state pass or fail for each of the five criteria with the measured value and the file that holds it.
Step 6. Close and hand back
Write synthesis.md with the findings per thread, the contradictions, and the open gaps. Write gaps.md with what you still do not know, the conflicting sources, and the bias in your source set. Write actions.md with the checklist of next actions.
Return the brief from the Handoff section to the caller. Ask the user whether to close, deepen one gap, add a thread, or continue.
Completion criterion. synthesis.md, gaps.md, and actions.md exist on disk and the brief names at least one open gap.
Handoff
Return these fields and stop when a caller invokes this skill in Targeted mode.
- Topic and the bounded question.
- Findings grouped by the affected layer or subsystem.
- Citations with source titles, URLs, and tiers.
- Rejected sources with the rejection reason.
- Open gaps and the risk each one carries for the caller.
Boundaries
Write evidence only inside .agents/research/<slug>/. Leave application source code, database schemas, migrations, configuration files, and shell commands byte for byte. Return findings to the caller and let the caller edit its own spec and plan files.
Anti-patterns
| ID | Title | Pattern description | Why it fails | Concrete fix |
| RR-1 | Flat search | Repeats queries with synonyms and never opens sources | Produces no new evidence | Open the source and harvest facts |
| RR-2 | Source picked for comfort | Confirms the first answer | Hides contradicting evidence | Add the contradicting source from the inversion |
| RR-3 | Missing checkpoint | Five cycles of work lost to compaction | Destroys resumability | Write cycle-NN.md before the next cycle |
| RR-4 | Tier 3 without a citation trail | Spreads an unverified claim | Corrupts the evidence base | Reject the source or move it to Rejected |
| RR-5 | Self-declared expert depth | Skips the measured criteria | Produces false confidence | State pass or fail per criterion with the number |
Quick audit checklist
| Check | Passing condition |
| State file | .agents/research/<slug>/state.md exists and names the current cycle |
| Source ledgers | Every source carries a tier, a URL, and a reason |
| Cycle checkpoint | cycle-NN.md exists for each completed cycle |
| Fitness evidence | Each of the five criteria carries a measured value |
| Gaps | gaps.md names the unknowns, the conflicts, and the source bias |
| Handoff | The brief carries findings, citations, rejected sources, and gaps |
| Boundaries | Zero edits outside .agents/research/<slug>/ |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

