Logo : Omh Deep Research

Omh Deep Research

Communauté
witt3rd
omh-deep-research

parallel web research; subagents→synthesis→cite-verify

Add to TypingMind

Présentation

Éditeurwitt3rd
Dépôtoh-my-hermes
Nom de la compétenceomh-deep-research
Étoiles
371
Forks
33
Fichiers inclus
Instructions uniquement
LicenceMIT
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Tout dans les instructions

    Tout ce dont le modèle a besoin se trouve dans les instructions : aucun fichier supplémentaire à synchroniser.

  • Open source

    Publiée par witt3rd sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Omh Deep Research dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/witt3rd/oh-my-hermes/tree/master/plugins/omh/skills/omh-deep-research
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/witt3rd/oh-my-hermes.git /tmp/oh-my-hermes
mkdir -p .claude/skills
cp -r /tmp/oh-my-hermes/plugins/omh/skills/omh-deep-research .claude/skills/omh-deep-research
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Omh Deep Research dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Omh Deep Research dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence Omh Deep Research n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

OMH Deep Research — Multi-Phase Web Research with Citation Verification

When to Use

  • The user asks for "deep research on", "a research report about", "comprehensive research", "investigate X", "what's known about Y"
  • omh-deep-interview encounters an unfamiliar domain and needs background
  • omh-ralplan needs external context before it can plan responsibly
  • The user's question requires synthesizing 3+ web sources into one coherent answer, not a single search

When NOT to Use

  • A confirmed report already exists at .omh/research/{slug}-report.md with status: confirmed for this topic — view it instead
  • The question is answerable by a single web_search call
  • The user wants real-time / current-events data only (this skill emphasizes durable synthesis, not freshness)
  • No web toolset is available in this Hermes install (see Prerequisites)

Prerequisites

This skill fail-fasts if any of the following are missing:

  • web toolset — provides web_search AND web_extract. If either is unavailable, print:
    omh-deep-research requires the `web` toolset (web_search + web_extract); aborting.
    and exit before doing any work.
  • omh_state tool — preferred path. If absent, fall back to manual JSON read/write at .omh/state/research--{slug}.json (per-instance — {slug} is the kebab+date+random4 minted in Phase 1; multiple research topics can run concurrently). If neither is writable, fail-fast with a clear error.
  • Write access to .omh/ for state, plan, findings, report, log.

Hermes discovery: hermes skills list | grep omh-deep-research should return this skill once installed.

Installation (symlink for Hermes discovery)

mkdir -p ~/.hermes/skills/omh && ln -snf <repo>/plugins/omh/skills/omh-deep-research ~/.hermes/skills/omh/omh-deep-research

Parent dir creation MUST precede the symlink.

Architecture

Five invocation phases, exit-safe between any two:

#PhaseReadsWritesSubagents
1decomposeuser query{slug}-plan.md, state.phase=searchnone
2searchplan, state, findings/new findings file(s), state.completed_subtopics, phase1-3 [omh-role:researcher] parallel
3gap_checkall findingsoptional _followup.md OR direct phase flip0 or 1 [omh-role:researcher]
4synthesizeall findings (parent inlines){slug}-report.md status: draft, phase=verify1 [omh-role:research-synthesist]
5verifyreport + findings (parent inlines)confirmed frontmatter / state mutate / blocked1 [omh-role:research-verifier]

Per-instance state. Each research session lives at .omh/state/research--{slug}.json (the engine slugifies instance_id into the filename). Multiple topics can be in flight concurrently — the slug minted in Phase 1 IS the instance_id, and every subsequent omh_state(...) call passes instance_id="{slug}". Per-session artifacts (plan, findings, report) are slug-keyed under .omh/research/. The earlier research-{id}.json and research-state.json (singleton) wordings from older specs are superseded.

Parent owns the filesystem. All web tool use happens inside delegated subagents. The parent reads findings files and inlines their contents into synthesist's and verifier's context field. Subagents return text only.

Roles are referenced, never inlined. Use [omh-role:NAME] markers. The full role bodies live in plugins/omh/references/role-*.md.

Procedure

Phase 0: Check for Existing State and Sentinel

Before starting any new research session:

  1. Mint a candidate slug for the new request (see Phase 1 rule). Call this new_slug. We need it to disambiguate enumeration below.
  2. List existing research instances — omh_state(action="list_instances", mode="research"). If the tool is unavailable, glob .omh/state/research--*.json manually. Each entry carries an instance_id (== slug) and active flag.
  3. For each active entry, run a cancel check first: omh_state(action="cancel_check", mode="research", instance_id="{slug}"). If cancelled, log CANCELLED slug={slug} and clear that instance via omh_state(action="clear", mode="research", instance_id="{slug}").
  4. Sentinel self-heal (recovery from crash between confirm and clear). For each remaining active entry whose .omh/research/{slug}-report.md has frontmatter status: confirmed, the previous run crashed after writing the sentinel but before clearing state. Treat as completed: log REPORT_CONFIRMED_RECOVERED slug={slug}, clear via omh_state(action="clear", mode="research", instance_id="{slug}").
  5. Topic-match resume — if any remaining active entry's topic matches the new request, jump directly to Phase 2/3/4/5 for THAT slug (use its existing instance_id); do not mint new_slug.
  6. Already-confirmed for this topic — if a {slug}-report.md exists with status: confirmed matching the new topic, prompt: refresh (mint a new slug and re-run) / view existing report / cancel.
  7. No conflict — proceed to Phase 1 with new_slug. Concurrent active research on different topics is permitted; do not block.

Phase 1: Decompose

  1. Cancel check: omh_state(action="cancel_check", mode="research", instance_id="{slug}").
  2. Mint a slug — concrete rule: slug = kebab(topic)[:40] + '-' + YYYYMMDD + '-' + random4 where random4 is 4 lowercase-hex chars. kebab() = lowercase, replace runs of non-alphanumeric with -, strip leading/trailing -, truncate to 40 chars.
  3. Decompose the user's topic into 3-5 subtopics. For each subtopic, draft 2-3 candidate search queries.
  4. Write the plan atomically (tmp → fsync → rename) to .omh/research/{slug}-plan.md with frontmatter:
    ---
    status: planning
    topic: {original user topic}
    slug: {slug}
    subtopics:
      - name: {subtopic 1 name}
        queries: [{q1}, {q2}, {q3}]
      - ...
    ---
  5. Initialize state via omh_state(action="write", mode="research", instance_id="{slug}", data={...}):
    {
      "phase": "search",
      "slug": "{slug}",
      "topic": "{topic}",
      "subtopic_count": N,
      "completed_subtopics": [],
      "started_at": "{ISO-8601}",
      "session_id": "{uuid4}",
      "synthesis_attempts": 0
    }
  6. Log STARTED slug={slug} and PLAN_WRITTEN slug={slug} subtopics=N.
  7. Exit. Re-invocation will pick up at Phase 2 via the Phase 0 resume path.

Phase 2: Search (parallel batched, re-entrant)

This phase is re-entrant: it dispatches one batch of up to 3 researcher subagents per invocation, then exits. Re-invoke to dispatch the next batch. Re-entry is driven by state.completed_subtopics.

  1. Cancel check: omh_state(action="cancel_check", mode="research", instance_id="{slug}").
  2. Read state and the {slug}-plan.md frontmatter.
  3. Compute pending = [s for s in plan.subtopics if s.name not in state.completed_subtopics].
  4. Take the next batch = pending[:3] (up to 3 in parallel).
  5. Dispatch ONE batch call with the [omh-role:researcher] marker:
    delegate_task(tasks=[
      {
        "goal": "<self-contained: topic, subtopic name, exact queries to run, output template per [omh-role:researcher]>",
        "context": "<plan excerpt for this subtopic; no other subagent's findings>",
      },
      ...up to 3...
    ])
    Each task's goal is fully self-contained — no inter-subagent dependencies. The role marker [omh-role:researcher] MUST appear in each goal so the subagent loads the role.
  6. (Strict write-order — NEVER reverse this order):
    1. Write all findings file(s) for this batch atomically (tmp → fsync → rename). Each file lands at .omh/research/{slug}-findings/{subtopic-slug}.md with frontmatter capturing subtopic, source_urls, and credibility tags pulled from the subagent's returned SOURCES block.
    2. Update state.completed_subtopics (extend the list, persist via omh_state(action="write", mode="research", instance_id="{slug}", data=...)).
    3. Exit.
  7. Phase transition. On the next invocation, Phase 0 routes back here. If pending becomes empty after the write, set state.phase = "gap_check" BEFORE exiting (still after the findings write — order: findings → completed_subtopics → phase flip).
  8. Log BATCH_COMPLETE batch=N subtopics=[name1,name2,...] per batch.

Pitfalls specific to Phase 2:

  • Dedup across subtopics. Two researchers may surface the same URL. The synthesist (Phase 4) handles cross-subtopic dedup via global Sources renumbering; Phase 2 does NOT need to dedup across files.
  • Slug for findings filename. Use kebab(subtopic.name)[:60]. If two subtopics kebab to the same slug, append -2, -3, etc.
  • Parent never calls web_search or web_extract directly. All web tool use is inside the delegated [omh-role:researcher] subagents. The parent's job is dispatch and disk.

Phase 3: Gap Check (TWO branches only)

The parent skill never calls web_search or web_extract directly; all web tool use happens inside delegated subagents.

  1. Cancel check: omh_state(action="cancel_check", mode="research", instance_id="{slug}").

  2. Read all .omh/research/{slug}-findings/*.md files. From each, extract the GAPS: bullet list. Concatenate, then dedup lexically (case-insensitive trim-compare; preserve first occurrence).

  3. TWO branches only:

    • (a) 0 gaps — Set state.phase = "synthesize", log GAP_CHECK_COMPLETE gaps=0, exit.

    • (b) ≥1 gap — Delegate ONE [omh-role:researcher] subagent. Goal: synthetic "subtopic" named _followup, with the deduped gap list as the queries. Parent writes the returned text to .omh/research/{slug}-findings/_followup.md (atomic). Set state.phase = "synthesize", log GAP_CHECK_COMPLETE gaps=N, exit.

    No threshold tiers. No N-versus-M gap branching. No inline web_search branch. Two branches only — that is the contract.

Phase 4: Synthesize (parent inlines findings; parent writes report)

  1. Cancel check: omh_state(action="cancel_check", mode="research", instance_id="{slug}").

  2. Parent INLINES findings. Read ALL files under .omh/research/{slug}-findings/ (including _followup.md if present). Concatenate their full contents into the delegation's context field. The synthesist subagent has no filesystem access.

    Budget escape (verified safe). If the concatenated payload exceeds the orchestrator's tool-arg budget (≈40KB+ across 5+ findings files is a soft threshold), the parent MAY summarize each findings file's SYNTHESIS section while preserving:

    • The full SOURCES [N] block verbatim (titles + URLs + tags + dates)
    • All GAPS sections verbatim
    • The _followup block verbatim (it is usually the smallest and most claim-dense) Do NOT drop or paraphrase any URL, citation tag, or numeric claim. Dogfooded 2026-04: a 5-subtopic + 1-followup run with summarized SYNTHESIS bodies + verbatim source lists passed verification at high confidence with all 28 globally-renumbered citations intact. When in doubt, prefer full inline; summarize only when forced.
  3. Dispatch ONE [omh-role:research-synthesist] task:

    delegate_task(
      goal="<self-contained: produce report per [omh-role:research-synthesist] template; topic={topic}; reference inlined plan + findings>",
      context="<plan frontmatter + every findings file content, fully inlined>",
    )
  4. Retry context. If state.synthesis_attempts > 0, append the prior verifier's REQUEST_CHANGES feedback (stored in state.last_verifier_feedback) to the goal as:

    Address these prior verifier findings:
    {feedback}
  5. Parent always overwrites .omh/research/{slug}-report.md with the returned text. Frontmatter starts at status: draft. NO -v2 suffixing. Prior verdicts live only in state, not on disk.

  6. C3 propagation. Parent does NOT edit the returned report. Any (insufficient sources for this subtopic) strings remain verbatim.

  7. Set state.phase = "verify", log REPORT_DRAFT, exit.

Phase 5: Verify (parent inlines; 3-strike gate; ordered confirm)

  1. Cancel check: omh_state(action="cancel_check", mode="research", instance_id="{slug}").

  2. Parent INLINES report + findings. Read {slug}-report.md AND all {slug}-findings/*.md files. Concatenate BOTH into the verifier delegation's context field. Verifier subagent has no filesystem access.

  3. Tools allowlist (A5). When dispatching, pass a tools allowlist EXCLUDING write/edit/filesystem tools where Hermes supports per-call tool scoping. If Hermes lacks per-call scoping, document in Known Gaps and rely on the prose READ-ONLY contract in role-research-verifier.md.

  4. Dispatch ONE [omh-role:research-verifier] task. Parse the returned VERDICT.

  5. On VERDICT: PASS — STRICT ORDER (NEVER reverse):

    1. Write {slug}-report.md with frontmatter status: confirmed (atomic; idempotent sentinel; THIS is the source-of-truth and must land FIRST).
    2. Append REPORT_CONFIRMED slug={slug} to the event log.
    3. Clear state via omh_state(action="clear", mode="research", instance_id="{slug}").
    4. Print summary to user; exit.

    Phase 0 self-heals if a crash occurs between step 1 and step 3 (it detects the confirmed sentinel and clears the orphan state).

  6. On VERDICT: FAIL with state.synthesis_attempts < 3:

    • Increment state.synthesis_attempts.
    • Store the verifier's REQUEST_CHANGES verdict (full body) in state.last_verifier_feedback.
    • Set state.phase = "synthesize".
    • Log VERIFY_FAIL slug={slug} and SYNTHESIS_RETRY attempt={N}.
    • Exit. Re-invocation re-runs Phase 4 with feedback context.
  7. On VERDICT: FAIL with state.synthesis_attempts == 3:

    • Set state.phase = "blocked".
    • Surface the verifier's gap list to the user.
    • Log VERIFY_FAIL slug={slug} and BLOCKED_RETRIES_EXHAUSTED slug={slug}.
    • Exit. State is RETAINED so the user can inspect or escalate (Phase 0 will not auto-restart a blocked session).

Logging

Append-only events to .omh/logs/research-{session_id}.log. Events are decisions and phase transitions only — never findings content (matches the omh-deep-interview convention).

Documented event vocabulary:

  • STARTED slug={slug}
  • PLAN_WRITTEN slug={slug} subtopics=N
  • BATCH_COMPLETE batch=N subtopics=[...]
  • GAP_CHECK_COMPLETE gaps=N
  • REPORT_DRAFT
  • VERIFY_PASS
  • VERIFY_FAIL
  • SYNTHESIS_RETRY attempt=N
  • BLOCKED_RETRIES_EXHAUSTED slug={slug}
  • REPORT_CONFIRMED slug={slug}
  • REPORT_CONFIRMED_RECOVERED slug={slug}
  • BLOCKED slug={slug}
  • CANCELLED

Sentinel

Downstream skills (omh-deep-interview, omh-ralplan, omh-autopilot) detect a completed research session by:

.omh/research/{slug}-report.md  with frontmatter `status: confirmed`

This file is the durable contract. State is ephemeral; the sentinel is the source of truth.

Pitfalls

  • Never call web_search or web_extract from the parent. All web tool use happens inside delegated [omh-role:researcher] subagents.
  • Never inline role text. Use [omh-role:NAME] markers; bodies live in plugins/omh/references/role-*.md.
  • Phase boundaries are commit points. Each phase MUST exit cleanly after writing its outputs and updating state. Long-running phases that span multiple delegations are not exit-safe.
  • One active research session per project. Phase 0 enforces this. Don't create parallel research states.
  • Slug collisions are user-visible. The random4 suffix keeps same-topic same-day re-runs from clobbering each other.

Known Gaps

  • Persistence to wiki / fact_store / memory is not yet integrated. The sentinel report is the only durable interface in v1. (Q2)
  • Per-call subagent tool scoping for [omh-role:research-verifier] may be unavailable depending on Hermes install; READ-ONLY contract is enforced by prose in role-research-verifier.md in that case. (A5)

Foire aux questions

À quoi sert la compétence IA Omh Deep Research ?

parallel web research; subagents→synthesis→cite-verify

Pourquoi utiliser Omh Deep Research sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Omh Deep Research se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Omh Deep Research dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/witt3rd/oh-my-hermes/tree/master/plugins/omh/skills/omh-deep-research. TypingMind lit le fichier SKILL.md et l’installe sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Omh Deep Research ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Omh Deep Research ?

Autant que vous le souhaitez. Vous pouvez utiliser Omh Deep Research avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Omh Deep Research est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par witt3rd sous licence MIT. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇