agentleFS
patfornapatforna/core-skills/skills/research/SKILL.md

research

Skill0 starsChanged 5 months agoMITView on GitHub

Deep multi-agent research on any topic. Spawns a team of parallel research agents with diverse search strategies, synthesises findings, then runs a convergence review loop with independent reviewers. Use when the user asks to research a topic, investigate a question, do a literature survey, or explore a domain in depth. TRIGGER when: user says "research", "investigate", "deep dive", "survey", "explore", "what does the literature say", "find out about".

189 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use daily-arxiv, exp-eval and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • LambenthanSkill

    daily-arxiv

    每日从 arXiv 拉取新论文,过滤相关性,auto-ingest 高优先级论文,检测 SOTA 更新

    Also in 5 projects that use this

  • LambenthanSkill

    exp-eval

    实验判决门:Review LLM 独立评判实验结果 → 4 种判决路径 → 自动更新 claims confidence、ideas status、graph edges

    Also in 5 projects that use this

  • truongtv22Skill

    Problem-Solving Techniques

    Apply systematic problem-solving techniques for complexity spirals (simplification cascades), innovation blocks (collision-zone thinking), recurring patterns (meta-pattern recognition), assumption constraints (inversion exercise), scale uncertainty (scale game), and dispatch when stuck. Techniques derived from Microsoft Amplifier project patterns adapted for immediate application.

    Also in 5 projects that use this

  • liufeng1976Skill

    setup-ts-deep-modules

    Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.

    Also in 43 projects that use this

  • skyllwtSkill

    exp-pilot-eval

    Pilot result evaluation — read pilot results, apply success criteria, update idea page (pilot_result, failure_reason if failed), generate PILOT_VERDICT_REPORT. Called by /ideate Phase 5 after /exp-pilot-run.

    Also in 4 projects that use this

  • skyllwtSkill

    exp-pilot-run

    Pilot experiment execution — read Pilot Spec YAML, write pilot code, run experiment(Confirm with the user before operation and require the applicant to conduct manual inspection), return results. Called by /ideate Phase 5. Does NOT modify wiki pages or judge pass/fail.

    Also in 4 projects that use this

  • +5 more from Lambenthan
  • +1 more from skyllwt

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 6 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 169 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before any research begins, pre-commit resolution criteria: what would a strong answer look like, and what evidence would change the …

    line 22
  2. Very specific:

    Check for prior work: if docs/research/wip/{slug}/ exists, list the files, present what's there, and ask the user:

    line 24
  3. Distinctive:

    If a Light-scope agent returns conflicting evidence or signals hidden complexity, escalate to Standard with user confirmation.

    line 34
  4. Distinctive:

    Run a pre-mortem: assume the main conclusions are wrong — why might that be?

    line 65
  5. Distinctive:

    Write the research document.

    line 67
  6. Distinctive:

    Read both reviews. Incorporate substantive feedback — with fresh research where gaps were identified (each revision round must introduce …

    line 93
  7. Very specific:

    Delete docs/research/wip/{slug}/ on successful delivery.

    line 110
  8. Distinctive:

    Do not use role/persona prompting for accuracy — it doesn't work (Mollick et al., 2025).

    line 120
  9. Very specific:

    If the Write tool fails on a large document, retry with Bash (cat << 'EOF' > file).

    line 122

“Common” is measured: kept by at least 6 in 10 of the 169 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Research

Usage

/core-skills:research <topic or question> [further user instructions]

Goal

Produce a comprehensive, accurate, deep research document on $ARGUMENTS. Prioritise quality, depth, and accuracy over speed or token efficiency. Save the final document to docs/research/ with today's date prefix.

Protocol

Step 0 — Frame and Pre-Commit

Analyse $ARGUMENTS. Formulate a precise research question — this is the Problem Anchor. Copy it verbatim into every subsequent phase. If the question is too broad to research well, narrow it and tell the user what you scoped to.

Before any research begins, pre-commit resolution criteria: what would a strong answer look like, and what evidence would change the conclusion? This prevents confirmation bias — the test is defined before the results are seen.

Check for prior work: if docs/research/wip/{slug}/ exists, list the files, present what's there, and ask the user:

  • Resume — skip completed agents (those with output files), re-dispatch the rest
  • Synthesise now — use what's available, skip missing agents
  • Restart — delete the wip directory and start fresh

Step 1 — Decompose and Present Plan

Assess complexity. For simple factual lookups, propose 1-2 agents and no review loop. For standard multi-source questions, 3-5 agents and 1 review round. For deep strategic questions, the full protocol. Present this assessment with the plan — the user can override. Never skip the user approval gate, even for Light scope.

If a Light-scope agent returns conflicting evidence or signals hidden complexity, escalate to Standard with user confirmation.

Decompose the research question into orthogonal sub-questions — each with a specific investigative angle and search strategy. Sub-question diversity is the primary quality lever: different questions, different source domains, different search vocabularies (domain-native jargon, not just the user's original phrasing). Include at least one contrarian/adjacent track — an agent exploring non-obvious connections, analogies from other fields, or evidence against the emerging thesis.

Team size proportional to the scope assessment above. Use model: "sonnet" for research agents.

Present the decomposition to the user before spawning agents. Show the scope assessment, sub-questions, agent assignments, and search strategies. Adjust and re-present until the user approves. Skip this checkpoint if the user explicitly requested full autonomy.

Step 2 — Spawn Research Team

Spawn all research agents in parallel using run_in_background: true. Each agent receives:

  • The Problem Anchor (verbatim)
  • Its specific sub-question and search strategy
  • Instruction to cite or flag: cite specific sources for every factual claim — if no source can be found, say so explicitly rather than fabricating
  • Instruction to return structured findings: claims with evidence, source citations with URLs, open questions, and what was searched but not found
  • Instruction to write output to docs/research/wip/{slug}/{agent-name}.md on completion

Step 3 — Monitor, Recover, Synthesise

Re-read the Problem Anchor and resolution criteria before starting this step.

Wait for all agents to complete. Keep the user updated as agents finish ("3 of 7 done"). If an agent appears stuck (significantly longer than peers), check its output file for progress — if stalled, restart it with a tighter scope. If an agent fails, restart it. Do not proceed with partial results — every sub-question was chosen because it matters.

Once all agents have returned, read all findings. Synthesise — don't just aggregate:

  1. Map agreement across agents and assess whether the agreement is independent (different sources) or echo (shared upstream sources citing the same origin)
  2. Surface disagreements and explain why agents diverged
  3. Identify emergent patterns that no single agent found — cross-domain analogies, implicit assumptions shared by all agents, gaps in the collective coverage
  4. Assess claim strength based on evidence quality and source diversity
  5. Note genuine uncertainties, gaps, and what was not found
  6. Run a pre-mortem: assume the main conclusions are wrong — why might that be? State the key assumptions the conclusions depend on and what would change if each were false

Write the research document. Structure it according to what the content demands — length proportional to complexity and insight density. It must include:

  1. The Problem Anchor (verbatim)
  2. References (every source cited, with URLs where available)

Save to docs/research/{date}-{slug}.md.

Step 4 — Review Loop

Re-read the Problem Anchor and resolution criteria before starting this step.

Spawn two independent reviewer agents in parallel (model: "sonnet", with different review prompts — one focused on accuracy and gaps, the other on synthesis quality and non-obvious angles). Each receives the research document and the Problem Anchor, and evaluates against:

  • Comprehensiveness — major facets covered? significant gaps?
  • Accuracy — claims supported by cited sources? unsupported claims?
  • Depth — beyond surface-level? mechanisms explained, not just outcomes?
  • Source quality — reliable, diverse sources? over-reliance on one?
  • Synthesis quality — coherent cross-cutting insights, not just a list?
  • Non-obvious insights — anything surprising or unconventional surfaced?

Reviewers must cite specific sections and explain what's wrong or missing. Cooperative framing: "what's missing or unsupported?" — not adversarial.

Step 5 — Address and Converge

Re-read the Problem Anchor and resolution criteria before starting this step.

Read both reviews. Incorporate substantive feedback — with fresh research where gaps were identified (each revision round must introduce external signal; pure self-reflection without new retrieval is prohibited). Push back on feedback that would drift from the Problem Anchor. Update the document on disk.

Record each reviewer finding and its disposition in a markdown table:

#Reviewer claimResponseOutcome

Outcome is accepted or rejected with a one-line reason. For rejections, use the existing categories: factually wrong (evidence), would drift from the Problem Anchor (drift), or costs more than it's worth (disproportionate). When a finding is partially accepted, split into two rows. When valid but already addressed, record as accepted: already present, no change needed.

Include this table as a ## Review Process section in the final document. For deep research with multiple review rounds, write the review log to a separate {slug}-review-log.md rather than bloating the main document.

Re-review with two new reviewer agents. Convergence: if both reviewers identify no new substantive gaps or corrections → stop. The test is: "did this round produce actionable feedback that would change the document?"

Hard cap: 3 review rounds (safety net, not a target — most research should converge in 1-2 rounds).

Step 6 — Deliver

Delete docs/research/wip/{slug}/ on successful delivery.

Present the user with:

  • Location of the saved research document
  • The summary (key findings)
  • Any unresolved uncertainties or gaps

Notes

  • Do not use role/persona prompting for accuracy — it doesn't work (Mollick et al., 2025). Use task-specific instructions instead.
  • Self-refinement without external signal degrades strong model outputs (EVOLVE, 2025; accuracy-correction paradox). Every revision must bring new evidence, not re-reason over the same context.
  • If the Write tool fails on a large document, retry with Bash (cat << 'EOF' > file).
  • Design rationale: docs/research/2026-03-21-agentic-research-design.md

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.