Deep research

From Mark393295827/third-brain-v5-skills · View interactive version

Deep research is an AI agent skill from the GitHub repository Mark393295827/third-brain-v5-skills. Use when a decision-relevant question needs multi-source search, claim-level citations, contradiction handling, uncertainty, or a durable wiki handoff.

How to use this skill

Skill file

Deep Research

<skill_contract>

<input>Decision-relevant question, audience, scope, recency, source and privacy boundaries, budget, and required deliverable.</input>

<output>An answer-first synthesis with source and claim ledgers, citations, contradictions, uncertainty, and durable handoff.</output>

<done>Decision-critical claims are traceable and adversarially checked, unresolved gaps are explicit, and the stop rule is met.</done>

<non_goals>Link collection, uncited material claims, privacy leakage, exhaustive search, or autonomous high-impact experiments.</non_goals>

Research is an evidence loop, not a volume contest. Define the decision, gather the minimum diverse evidence, maintain source and claim ledgers, attack the synthesis, then stop when additional search no longer changes the answer.

Usage Template

Provide: research question, audience/decision, scope, recency, allowed/excluded sources, privacy boundary, budget, output format, and wiki destination if durable. Load references/research-ledgers.md for ledger schemas.

Workflow

<intake>

Choose one mode: evidence brief, knowledge curation, recency pulse, domain intelligence, scientific-method audit, or heavy research. Convert the question into 3-7 information requirements, decision criteria, interruption points, and a source-access plan.

</intake>

<unknowns_gate>

If the decision, recency window, private-data authority, or source boundary materially changes the result, return NEEDS_INPUT. Record known, probeable, testable, and inaccessible unknowns. Do not treat inaccessible sources as supporting evidence.

</unknowns_gate>

<execute>

  1. Run a broad discovery pass; rank sources by authority, directness, recency, independence, and relevance.
  2. Prefer primary and official evidence for consequential claims; use secondary sources for context and disagreement discovery.
  3. Build a source ledger and claim ledger while reading, not after drafting.
  4. Triangulate central claims; record dates and whether sources are independent or repeating one origin.
  5. Run a gap-fill pass only for decision-critical unknowns.
  6. Draft an answer-first synthesis separating evidence, inference, uncertainty, disagreement, and implications.
  7. Run an adversarial pass: strongest counterevidence, alternative mechanism, stale data, selection bias, and missing base rate.
  8. For science/AI experiments, specify problem, data/simulator, intervention, objective metric, uncertainty, reproducibility, and human judgment boundary.
  9. Produce an activity trace and, when requested, a STOW handoff packet for wiki-ingest rather than writing source claims directly into governed concepts.

For high-stakes conclusions, use independent review. Obtain approval before accessing private systems, publishing, or launching experiments. Any durable write needs a diff-based rollback path.

</execute>

<evaluate>

Audit every material claim against the ledger. Check citation entailment, source independence, freshness, contradiction coverage, privacy, and whether the recommendation changes under plausible uncertainty. Stop when new searches repeat known evidence or cannot change the decision.

</evaluate>

<retry_policy>

max_attempts: 3 research passes: discovery, gap-fill, adversarial. A retry must target a named gap with a changed query/source class. Stop on duplicate evidence, repeated access failure, or NO_PROGRESS.

</retry_policy>

<state_contract>

Persist {run_id, status, attempt, budget, evidence, unknowns, last_error, next_action} plus question version, mode, information requirements, source/claim ledgers, search trace, contradictions, privacy decisions, approval, draft version, and rollback/write receipts.

</state_contract>

Failure Protocol

Output Contract

Return status, result (answer-first synthesis and recommendation), evidence (claim/source ledgers and citations), unknowns, and next_action including approval or wiki handoff.

Edge Cases

Success Metrics

Quality Gates

</skill_contract>

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.