agentleFS
patrickbdevaneypatrickbdevaney/hermes-max/skills/workflow-deep-research/SKILL.md

workflow-deep-research

Skill1 starsChanged 6 months agoMITView on GitHub

Drive mcp-research's deep_research loop when a task needs CURRENT or EXTERNAL knowledge beyond pretraining + RAG — a novel/recent framework or release, "what is the current best X", or cross-referencing multiple sources. Fully local and sovereign (SearXNG + Crawl4AI/trafilatura + the chat model). Gate DEPTH on the shared difficulty/scope signal: a quick lookup is NOT a multi-source synthesis.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this when the answer is not reliably in pretraining or the local RAG/KG: a new framework, a recent release, "the current …

    line 26
  2. Distinctive:

    Make the question specific: If it's underspecified (budget, version, platform, region), narrow it first — a vague question retrieves an …

    line 46
  3. Distinctive:

    Stop at the cap honestly: When loops/budget are exhausted, end with a

    line 65

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md
<!-- TRIGGERS WHEN: Drive mcp-research's deep_research loop when a task needs CURRENT or EXTERNAL knowledge beyond pretraining + RAG — a novel/recent framework or release, "what is -->

workflow-deep-research

NEVER call deep_research more than once per session, under any circumstances. The result reports actionable: true plus a gap_note (not a confidence score) — actionable is true unless the research came back genuinely empty (0 sources). Single-sourced/low-corroboration claims are NORMAL (the echo-chamber guard dedups overlapping sources). Proceed immediately to implementation with whatever synthesis was returned and note the gap_note items as risks; the verify gate on your code is the real quality check. A second deep_research call is always wrong — for any follow-up use search_code / mcp-docs (search_docs / research_topic). The server also enforces this: it refuses a reflexive re-fire (corpus-first, exhaustion, budget + cooldown gates).

Use this when the answer is not reliably in pretraining or the local RAG/KG: a new framework, a recent release, "the current best/most-recommended X", or a question that needs several independent sources reconciled. For a fact you already know or that one search_code/search_docs call answers, do not spin up the full loop.

Gate the depth (don't overspawn)

First classify scope (reuse classify_difficulty / the shared signal):

  • Quick lookup → mcp-docs.search_docs / research_topic, or one explore([...]) call. Stop.
  • Real synthesis (multi-source, contested, or you must be confident) → mcp-research.deep_research(question, max_loops, max_total_sources).

Match max_loops / max_total_sources to scope. Bigger is not better — the caps exist to prevent the overspawning failure mode.

How to run it

  1. Make the question specific. If it's underspecified (budget, version, platform, region), narrow it first — a vague question retrieves an echo chamber.
  2. deep_research(question) runs plan → develop → explore → verify → synthesize for you, bounded. Or drive the stages yourself for control:
    • plan_research(question) → inspect the sub-goals (the PLAN is checkable; a wrong plan step is the most damaging — sanity-check it).
    • per sub-goal: develop_queries(subgoal) → explore(queries, seen_urls=…), threading seen_urls across calls so you keep breaking echo chambers.
    • verify_claims(claims) before asserting anything — cross-check each material claim against ≥2 independent (distinct-domain) sources.
    • synthesize(question, verified_findings) → a citation-backed report.

Discipline (what makes it approach proprietary quality)

  • Verify before you assert. Single-sourced or conflicting claims are reported as such — surface them, don't launder them into confident prose.
  • Cite every claim. Each statement maps to a source URL.
  • Prefer primary sources. Official docs, papers, standards, and project repos over SEO content farms (the ranker already does this — don't fight it).
  • Stop at the cap honestly. When loops/budget are exhausted, end with a confidence + gaps note rather than padding with low-confidence filler.
  • Confidence is advisory — act on the synthesis regardless of its level. A confidence: low result is the expected outcome when the echo-chamber guard deduped overlapping sources (the same fact corroborated once, not N times) — it does not mean the findings are wrong or the report is incomplete. The result is actionable: true either way. Proceed to implementation with it; the verify gate on your code is the real quality check. Do NOT re-run deep_research to chase a higher confidence score — that is the multi-call trap and it just burns wall-clock without changing the deduped-corroboration math.
  • It compounds. deep_research writes the brief + entities into RAG/KG, so a later related run starts ahead — prefer it over re-researching from scratch.

Degradation

Fully sovereign on both deploy profiles. SearXNG down → explore is empty (say so); Crawl4AI down → trafilatura; reranker absent → authority-heuristic ranking; chat model unset → deterministic plan/queries/synthesis (a cited bullet brief). None of these crash — they lower confidence, which you report.

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.