ha-multi-agent-coding

ha-multi-agent-coding is a skill for Claude Code from shiwenwen/hope-agent. It costs 45 tokens per session (751 once invoked), scanned A, original, MIT.

A set of rules for coordinating multiple AI coding assistants. It decides when work can be split safely, assigns each assistant a limited task, and combines their results.

In plain words
What is it for?
Use it to run independent investigations, separate code implementations, or different review perspectives with defined scope and verification.
Why use it?
It helps avoid duplicated effort, conflicting edits, and coordination overhead when several assistants work on one coding task.

Skill for Claude Code

Written for Claude Code: paths in frontmatter. Also seen: mentions subagents.

Good fit Use it to run independent investigations, separate code implementations, or different review perspectives with defined scope and verification.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shiwenwen/hope-agent/ha-multi-agent-coding
About the project

Hope Agent is a cross-device personal AI assistant that remembers context, uses tools, and continues working toward goals through dynamically organized workflows. Individuals use it from desktop, web, server, or messaging environments to manage projects, knowledge, designs, and long-running tasks. The catalogue add-ons extend its agent workflows and capabilities.

shiwenwen/hope-agent · 1,553 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add shiwenwen/hope-agent --skill ha-multi-agent-coding
Clone the repo
git clone --depth 1 https://github.com/shiwenwen/hope-agent

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ha-multi-agent-coding

README.md
[![agentmods](https://agentmods.dev/badge/skills/shiwenwen/hope-agent/ha-multi-agent-coding.svg)](https://agentmods.dev/skills/shiwenwen/hope-agent/ha-multi-agent-coding)
Your own site
<a href="https://agentmods.dev/skills/shiwenwen/hope-agent/ha-multi-agent-coding"><img src="https://agentmods.dev/badge/skills/shiwenwen/hope-agent/ha-multi-agent-coding.svg" alt="Measured on agentmods" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 751 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00045 $0.00751
Opus 5 $0.00023 $0.00376
Sonnet 5 $0.00009 $0.00150
Haiku 4.5 $0.00005 $0.00075

Measured 7d ago against content hash 312520db42e3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

ha-multi-agent-coding scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/ha-multi-agent-coding/SKILL.md · 97 lines

How it starts

The opening of the file, as written. The whole thing — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Hope Multi-Agent Coding

Use multiple Agents when parallel evidence or implementation meaningfully outweighs coordination cost. Do not make delegation the default for complex-looking work.

Fan-Out Decision

Good candidates:

  • Similar independent investigations across modules.
  • Distinct review angles with a shared structured output.
  • Independent implementations with non-overlapping ownership.
  • A bounded set of alternatives that the main Agent will compare.

Keep work with one Agent when:

  • The task is small or one search path is likely sufficient.
  • Steps depend on prior results.
  • Agents would edit the same files or shared generated state.
  • A single broad investigation needs coherent context.
  • Coordination, token, or merge cost exceeds expected parallel gain.

Define Each Child Contract

Provide:

  • One concrete objective and bounded scope.
  • Relevant context already known by the parent.
  • Allowed and forbidden actions.
  • File ownership or read-only isolation.
  • Required output schema, evidence, and stop condition.
  • Verification expected from the child.

Do not re-delegate the entire parent assignment to one child. Children do not own final user communication or Goal closure.

Isolation

  • Prefer shared_read_only for research, discovery, and verification.
  • Use separate worktrees for independent writes.
  • If writes cannot be isolated, serialize them or assign mutually exclusive file ownership.
  • Permission mode, protected paths, approval surfaces, and tool restrictions remain runtime-enforced. A child prompt cannot grant access.

Bounded Execution

Set explicit limits for fan-out count, depth, turns, tokens, and time. Respect runtime queues and backpressure. Never recursively create Workflow runs or an unbounded Agent tree.

Progressive Control

The main Agent may choose based on task needs:

  • Consume the first useful results and adapt (waitAny / checkpoint).
  • Query status without consuming output.
  • Read one structured result, then steer or cancel remaining work.
  • Add a follow-up child when new evidence changes the decomposition.
  • Wait for all children only when a true barrier is required.

Read the full file on GitHub · 97 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 97 lines · 45 tokens per session scan A 312520db42e3

Subscribe to this mod's changes

ha-multi-agent-coding is a skill published in the GitHub repository shiwenwen/hope-agent (1,553 stars, last pushed today), licensed MIT. It adds 45 tokens to every session and 751 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

memory

Use this skill when Pioneer should proactively use durable memory or recalled context: decide whether memory can improve a turn, answer from remembered user/project facts, request memory tools, search/list/get stored memories, save durable preferences or project decisions, forget memories, audit or clean up memory, or…

pioneerdotai/pioneer · 64 tokens

subagents

Use this skill when Pioneer should delegate current-turn work to attached task-backed subagents, coordinate parallel child agents, wait for child results, review/revise/accept/cancel/detach attached work, or synthesize accepted child results into the parent answer.

pioneerdotai/pioneer · 54 tokens

tasks

Use this skill when Pioneer should create, inspect, update, reschedule, pause, resume, troubleshoot, or configure delivery for durable tasks, scheduled tasks, recurring tasks, interval tasks, cron jobs, background work, or existing task state.

pioneerdotai/pioneer · 50 tokens

browser

Headless web browsing: navigation, page inspection, interaction, data extraction, screenshots, PDFs, and browser session management.

pioneerdotai/pioneer · 26 tokens

technology-search

Search tech blogs, developer forums, and IT media (TechCrunch, Hacker News, 36氪, etc.) for software and hardware industry updates with heat ranking and EN↔CN translation. Use this skill only when the topic is clearly about programming, software, hardware, AI, or IT infrastructure.

netease-youdao/LobsterAI · 65 tokens

imap-smtp-email

Read and send email via IMAP/SMTP. Check for new/unread messages, fetch content, search mailboxes, mark as read/unread, and send emails with attachments. Works with any IMAP/SMTP server including Gmail, Outlook, 163.com, vip.163.com, 126.com, vip.126.com, 188.com, and vip.188.com.

netease-youdao/LobsterAI · 82 tokens