/chakresh-skills:recursive-researchfrom chakresh-skills
Deep recursive research with a self-regulating loop that iterates to PhD level. Works in any domain (science, technology, business, art, humanities). Uses a Weighted Decision Matrix plus Munger inversion for autonomous decisions, tiering of trustworthy sources, and checkpointing to disk to survive context limits. Use when the user wants to go deep on a topic, understand a new field before deciding, prepare a technical paper or proposal, or map state of the art and knowledge gaps.
Ships in chakresh-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Self-regulating research that iterates until it reaches PhD level on a research seed (root topic). Works in any domain: formal, natural and social sciences, humanities, the arts, technology, business.
Throughout this skill, WDM means Weighted Decision Matrix: score each candidate against weighted criteria and take the top scorers. Munger inversion means asking what you are missing or getting wrong, rather than confirming what you already have.
When /recursive-research is invoked, the skill asks the user, in order:
web / local / mixedThe skill presents a summary and waits for confirmation before starting.
slug from the seed (kebab-case, max 40 characters)memory/research/<slug>/ in the current working directory
memory/ does NOT exist, create it and explain: "There is no memory/ folder in this project. I am creating it because the skill needs to consolidate findings to disk every cycle — that is what allows the research to resume in a new session."state.md — metadata, progress, metricsthreads.md — tree of seed threads and sub-threadssources-tier-1.md, sources-tier-2.md, sources-tier-3.md, sources-rejected.mdfindings.md — consolidationGenerate 3-5 seed threads (distinct angles on the topic).
Apply WDM to thread selection:
| Criterion | Weight | What it evaluates |
|---|---|---|
| Conceptual coverage | 4 | Does it cover a distinct dimension of the topic? |
| Diversity of perspective | 3 | Does it bring different voices / schools of thought? |
| Source accessibility | 3 | Do Tier 1/2 sources exist for this thread? |
| Relevance to the user | 4 | Does it align with the goal that motivated the research? |
Evaluate 5-8 candidate threads, select the top 3-5.
Munger inversion on the chosen threads:
If the inversion reveals a critical missing thread, add it and re-run the WDM.
Examples by domain (NOT only code):
| Domain | Seed | Typical threads |
|---|---|---|
| Science | Cancer immunotherapy | Molecular mechanisms / Clinical trials / History and evolution / Controversies and limitations / Commercial status |
| Art | Minimalism in 20th-century music | Key composers / Techniques / Historical and cultural context / Criticism and reception / Landmark works |
| Business | B2B SaaS monetisation models | Pricing strategies / Financial metrics / Documented cases / Legal framework / B2B buying psychology |
| Humanities | Modern applied Stoic philosophy | Primary sources (Epictetus, Seneca, Aurelius) / Contemporary interpretations / Practical applications / Philosophical critiques / Empirical psychological evidence |
| Technology | Hexagonal architecture in microservices | Theoretical foundations / Implementations per language / Real-world cases / Trade-offs and critiques / Tooling |
Before the first cycle, detect available MCPs and order them by preference:
Preference (fastest and most effective first):
firecrawl_scrape, firecrawl_crawl, firecrawl_search, firecrawl_extract) — structured text, fastquery-docs) — when the source is a library or frameworkWebSearch, WebFetch — universal fallbackReason: AI scrapers are 10-50x faster than real browsers and return text that is already structured.
The skill presents the user with a list of seed sources pre-loaded by domain, to confirm, extend or reject:
General science / papers:
Medicine / biology:
Humanities / social sciences:
Code / technology:
Data / statistics:
Art / culture / humanities:
General:
Local sources (if the user supplied paths):
.md, .pdf, .txt, .doc/.docx, .html, .epubEach cycle runs the following sub-steps.
Compute current coverage per thread (findings_recorded / expected_findings_proxy). Pick the lowest percentage.
WDM per candidate source:
| Criterion | Weight | Scale |
|---|---|---|
| Authority (Tier) | 5 | Tier 1 = 5 · Tier 2 = 3 · Tier 3 = 2 · Rejected = 0 |
| Relevance to the current thread | 5 | 1-5 by semantic match |
| Accessibility | 3 | 5 = open full text · 3 = abstract + paywall · 1 = blocked |
| Recency appropriate to the field | 2 | Code: recent > old · Classical philosophy: old = relevant |
| Absence of conflict of interest | 3 | 5 = independent · 1 = funded by an interested party |
Select the top 3-5.
Munger inversion on the selected sources:
Tier 1 — Maximum confidence:
Tier 2 — High confidence:
Tier 3 — Useful with caution:
Automatic rejection:
Every source consulted is recorded in its corresponding tier file with: title, URL, author, date, tier assigned, justification.
At the end of the cycle, write memory/research/<slug>/cycle-N.md containing:
state.mdsaturation = new_findings_this_cycle / total_accumulated_findingsAll 5 criteria MUST be met:
Decision:
Thresholds:
tool_calls_this_session >= 150approx_output_tokens >= 80000If either is crossed:
[PREVENTIVE PAUSE RECOMMENDED]
Current state:
- Cycles completed: N
- Tool calls this session: X (near the limit)
- Approximate output tokens: Y
Reason: I am approaching the context limit. If I continue, I could lose
coherence when the session is compacted.
The research is saved in:
memory/research/<slug>/
To resume in a new session:
/recursive-research --resume <slug>
Pause here, or continue for 1-2 more cycles? (continue / pause)
continue, carry on. On pause, jump to Phase 6 (documented partial close).If the threshold is not crossed -> return to 5.1 for the next cycle.
Whether the close is natural (5 criteria met), forced (cycle cap), or partial (manual pause):
synthesis.md — executive synthesis:
actions.md — checklist of applicable actions, prioritised by impact
FINAL Munger inversion on the state of knowledge (record in gaps.md):
Ask the user:
[RESEARCH COMPLETE — status: natural / forced / paused]
Seed: <topic>
Cycles run: N / <cap>
Sources consulted: X total (T1: A · T2: B · T3: C · Rejected: D)
PhD status: reached / NOT reached (reasons: ...)
Gaps identified:
1. ...
2. ...
3. ...
Options:
1. Close here
2. Go deeper on a specific gap (say which)
3. Add a new thread and continue
4. Change mode (web -> mixed, etc.)
What would you prefer?
The research can be infinite — it only closes when the user decides.
--resume modeInvocation: /recursive-research --resume <slug>
memory/research/<slug>//recursive-researchstate.md -> rebuild the metricscycle-N.md -> recent contextthreads.md -> current tree--list modeInvocation: /recursive-research --list
List every saved research project under memory/research/ in the current project:
memory/research/<slug>/
├── state.md ← progress, metrics, metadata
├── threads.md ← tree of threads and sub-threads with status
├── sources-tier-1.md ← most trustworthy sources consulted
├── sources-tier-2.md ← high-confidence sources
├── sources-tier-3.md ← sources to treat with caution
├── sources-rejected.md ← sources evaluated and discarded (with reason)
├── findings.md ← consolidation of discoveries
├── cycle-01.md ← checkpoint for cycle 1
├── cycle-02.md
├── cycle-N.md
├── synthesis.md ← executive synthesis (Phase 6)
├── actions.md ← checklist of applicable actions
└── gaps.md ← what is NOT known, controversies, biases
User: /recursive-research
Skill: What is the topic you want to research?
User: Mechanisms of episodic memory in humans
Skill: Mode? (web / local / mixed)
User: mixed
Skill: Local paths?
User: C:/Dropbox/neuroscience-papers
Skill: Prioritised sources / authors? (optional)
User: Endel Tulving, Eleanor Maguire
Skill: Excluded sources? (optional)
User: -
Skill: Cycle cap? (default 20)
User: 25
Skill: Confirmed.
Seed: "episodic memory in humans"
Mode: mixed · Local: [C:/Dropbox/neuroscience-papers]
Prioritise: [Tulving, Maguire] · Cap: 25 cycles
Applying WDM + Munger to identify seed threads...
[shows table]
Selected threads:
1. Neuroanatomical basis (hippocampus, PFC)
2. Phenomenology and taxonomy (Tulving et al.)
3. Disorders and dissociations (amnesia, Alzheimer's)
4. Computational models
5. Contemporary cognitive neuroscience
The `memory/` folder does not exist. I am creating it — it is
required to consolidate each cycle to disk.
Path: memory/research/episodic-memory-humans/
Starting cycle 1 (lowest-coverage thread: 1)...
LICENSE file in this directoryContributions welcome upstream. If you spot an anti-pattern that is not covered, a better heuristic, or a more robust PhD criterion, open a PR on the repository above.
This is an English translation of upstream v2.2.0, which is written in Spanish. The structure,
thresholds, weights, tiering rules and stopping criteria are unchanged. The names of the files
the skill generates were translated too (memoria/investigaciones/ -> memory/research/,
estado.md -> state.md, hilos.md -> threads.md, hallazgos.md -> findings.md,
sintesis.md -> synthesis.md, acciones.md -> actions.md, ciclo-N.md -> cycle-N.md),
so research folders created by this copy are not interchangeable with ones created by upstream.
MIT permits this derivative; the copyright notice above and in LICENSE is retained.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub chaakresh/claude-skills --plugin chakresh-skillsOther plugins' skills for the same job
40 skills in this plugin
/ab-test-analysisRigorous A/B test statistical analysis. Use when analyzing experiment results, calculating statistical significance, checking for sample ratio mismatch, or validating test design before launch./ab-testingWhen the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "should I test this," "which version is better," "test two versions," "statistical significance," "how long should I run this test," "growth experiments," "experiment velocity," "experiment backlog," "ICE score," "experimentation program," or "experiment playbook." Use this whenever someone is comparing two approaches and wants to measure which performs better, or when they want to build a systematic experimentation practice. For tracking implementation, see analytics. For page-level conversion optimization, see cro./academic-pptxUse this skill whenever the user wants to create or improve a presentation for an academic context — conference papers, seminar talks, thesis defenses, grant briefings, lab meetings, invited lectures, or any presentation where the audience will evaluate reasoning and evidence. Triggers include: 'conference talk', 'seminar slides', 'thesis defense', 'research presentation', 'academic deck', 'academic presentation'. Also triggers when the user asks to 'make slides' in combination with academic content (e.g., 'make slides for my paper on X', 'create a presentation for my dissertation defense', 'build a deck for my grant proposal'). This skill governs CONTENT and STRUCTURE decisions. For the technical work of creating or editing the .pptx file itself, also read the pptx SKILL.md.