agentleFS
WenyuChiouWenyuChiou/research-hub/skills/research-hub-multi-ai/SKILL.md

research-hub-multi-ai

Skill68 starsChanged 7 months agoMITView on GitHub

Research-domain router that writes `.coord/multi_ai_plan.md` when one round needs two or more bounded delegates and touches `.research/`, `.paper/`, Zotero, Obsidian, or NotebookLM artifacts. Supported leaves are `codex-delegate` and `antigravity-delegate`; long-context, CJK, judgment, and review work stay with the primary model. Use the generic agent-collab task splitter for non-research work.

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. About 0 are common, 7 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before writing a plan:

    line 45
  2. Distinctive:

    Verify every named leaf skill and wrapper exists.

    line 47
  3. Very specific:

    Run the leaf's documented preflight (codex --version or agy --version).

    line 48
  4. Very specific:

    If the plan calls research-hub, run research-hub doctor.

    line 49
  5. Very specific:

    If the research-hub CLI is missing, do not emit commands that call it.

    line 53
  6. Very specific:

    Write .coord/multi_ai_plan.md, or a plan-id suffixed sibling when another plan is active.

    line 58
  7. Distinctive:

    Wait for dependencies before launching a task.

    line 75
  8. Very specific:

    Read the exact declared result_artifact:

    line 76
  9. Distinctive:

    Use only a CLI returned by current detection and compatible with the requested task.

    line 94
  10. Distinctive:

    No fabricated citations, metadata, tool output, or completion status.

    line 101
  11. Distinctive:

    No overlapping write ownership.

    line 104
  12. Very specific:

    Do not overwrite an active plan with a different plan_id.

    line 105
  13. Distinctive:

    Do not mutate remote libraries, overwrite vault notes, publish, merge, or delete without the workflow's human gate.

    line 106

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

research-hub Multi-AI Router

This is a planning router. It writes a coordination plan and per-leaf briefs; the supported leaves execute. The current leaf set is:

  • codex-delegate: implementation-heavy or repetitive work with a structured result.json contract.
  • antigravity-delegate: narrowly scoped, non-honesty-critical mechanical work with an agy_result_*.md contract.

The archived Gemini delegate is not a supported leaf. Long-context reading, CJK drafting, scientific judgment, governance, and final review stay with the primary model unless the operator has separately verified another adapter.

When to invoke

Invoke only when a single round needs two or more delegates and at least one task operates on research-hub artifacts. Examples:

  • Codex scaffolds tests while Antigravity applies an already-approved metadata transform to a disjoint fixture subtree.
  • Two independent Codex tasks prepare separate adapters, followed by primary model reconciliation.
  • Antigravity performs a bounded transcription, then Codex consumes the verified artifact to generate a deterministic report.

For one delegate, use its leaf skill directly. For generic, non-research multi-agent work, use agent-collab-workspace:agent-task-splitter.

Do not invoke

  • One Codex or Antigravity task.
  • A single research-hub auto --llm-cli ... run.
  • Translation, long-form CJK drafting, literature judgment, security, governance, or final review. Keep those with the primary model.
  • Work whose delegates would edit overlapping files in parallel.

Prerequisite and health checks

Before writing a plan:

  1. Verify every named leaf skill and wrapper exists.
  2. Run the leaf's documented preflight (codex --version or agy --version).
  3. If the plan calls research-hub, run research-hub doctor.
  4. Record an unavailable leaf as a blocker. Never silently substitute an unverified executor.

If the research-hub CLI is missing, do not emit commands that call it. Plans that use only healthy delegate wrappers may proceed.

Output artifact

Write .coord/multi_ai_plan.md, or a plan-id suffixed sibling when another plan is active. Use references/multi_ai_plan_template.md.

Every task declares:

  • a unique id and agent (codex, antigravity, or primary);
  • a brief path;
  • dependencies;
  • verifiable success criteria;
  • its exact result_artifact path and explicit result_contract discriminator;
  • in-scope paths and a stop condition.

The router writes each non-inline brief. Leaves never edit the plan and never commit or push.

Reconciliation

  1. Wait for dependencies before launching a task.
  2. Read the exact declared result_artifact:
    • Codex: wrapper .result.json plus diff and tests.
    • Antigravity: bounded agy_result_*.md plus independently verified file and sentinel checks.
  3. Compare actual files changed and evidence against task and round criteria.
  4. Reject scope drift or unsupported completion claims.
  5. Append a new fix-up task rather than mutating completed task history.
  6. Primary model performs judgment, final review, and any commit/push.

Single-LLM research-hub routing

The --llm-cli option is a research-hub runtime feature, not a router decision:

research-hub auto "TOPIC" --with-crystals --llm-cli codex
python -c "from research_hub.auto import detect_llm_cli; print(detect_llm_cli())"

Use only a CLI returned by current detection and compatible with the requested task. Do not preserve a retired model route merely because an old command still appears in history.

Guardrails

  • At least two delegate tasks per router plan.
  • No fabricated citations, metadata, tool output, or completion status.
  • Antigravity receives only bounded mechanical work; it never reviews or makes scientific/governance decisions.
  • No overlapping write ownership.
  • Do not overwrite an active plan with a different plan_id.
  • Do not mutate remote libraries, overwrite vault notes, publish, merge, or delete without the workflow's human gate.

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.