Agent bus team
Codex Agent Bus skill family for local multi-agent coordination
npx -y skills add adjcjh777/agent-bus-skills --skill agent-bus-teamAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Create and manage role-based Agent Bus project teams. Use when the user asks to create, join, launch, attach, inspect, or dispatch an Agent Bus team; define planner, executor, tester, reviewer, scout, or role aliases; bootstrap future agents; spawn subagents for roles; or route role-scoped work through Agent Bus.
SKILL.md
4.8 KB, ~1.1k tokens by cl100k_base, as published. Nobody here has run it
Agent Bus Team
Use this skill when the user wants organized multi-agent collaboration around a project or goal.
Default Team Shape
Infer roles from the user's request. When unspecified, start with:
planner: plans tasks and maintains the ledger.executor: implements bounded changes.tester: runs focused verification and reports PASS/BLOCKED.reviewer: audits final claims, scope boundaries, secrets, and release readiness when risk warrants it.
Use stable role aliases so future sessions can claim queued bootstrap work.
Create a Team
~/.codex/tools/codex-agent-bus/bin/agent-bus team create <team-name> \
--project /absolute/project/path \
--goal "<team goal>" \
--role planner:"Plans tasks and maintains the ledger" \
--role executor:"Implements bounded changes" \
--role tester:"Runs focused verification"
This creates durable team state, role aliases, pending bootstrap messages, and launch prompts. It does not by itself prove that visible Codex threads were created.
Launch and Attach
Preferred path for visible Codex App role threads:
- Run:
~/.codex/tools/codex-agent-bus/bin/agent-bus team launch <team-id-or-name> --mode codex-app
-
If the launch result includes
project_resolution.status=project_lookup_required, callcodex_app.list_projects, choose the deepest saved project path that contains the team project path, then rerun launch with--codex-project-id <projectId>or fill the returnedcreate_thread_request.target.projectId. -
For each returned
create_thread_request, callcodex_app.create_thread. This creates the left-sidebar-visible Codex App thread. -
Immediately call the returned
attach_after_createcommand usingcreate_thread.threadId. -
If attach returns
visible_delivery, callcodex_app.send_message_to_threadwith the created thread id andvisible_delivery.promptso the role receives the canonical Agent Bus bootstrap message.
Use subagent launch when the controller wants in-turn worker agents instead of persistent Codex App threads:
- Run:
~/.codex/tools/codex-agent-bus/bin/agent-bus team launch <team-id-or-name> --mode subagent-tool
-
For each returned
spawn_request, call the available subagent spawn tool from the controller conversation. -
Attach the returned subagent id as the role thread/session handle:
~/.codex/tools/codex-agent-bus/bin/agent-bus team attach-thread <team-id-or-name> \
--role <role> \
--thread-id <spawn_agent.agent_id>
Do not ask the spawned agent to guess its own id.
Use prompt mode when a human or controller will open sessions manually:
~/.codex/tools/codex-agent-bus/bin/agent-bus team launch <team-id-or-name> --mode prompt
Use attach when a real role conversation already exists:
~/.codex/tools/codex-agent-bus/bin/agent-bus team attach-thread <team-id-or-name> \
--role tester \
--thread-id <existing-thread-id-or-session-id>
Dispatch Role Work
Choose the dispatch transport from the role's real target:
- Attached Codex App thread/session: prefer
--trigger codex_app. - Spawned subagent controlled by the current conversation: use
--trigger subagent_tool. - Future role with no real thread: use
--trigger queueor pending bootstrap flow.
~/.codex/tools/codex-agent-bus/bin/agent-bus team dispatch <team-id-or-name> \
--role tester \
--trigger <codex_app|subagent_tool|queue> \
"<task>"
If the command returns a transport payload for a visible subagent or Codex App thread tool, call that tool with the returned target and prompt. The Bus record is durable, but the target sees the task only after the visible transport succeeds.
Team Commands
~/.codex/tools/codex-agent-bus/bin/agent-bus team list
~/.codex/tools/codex-agent-bus/bin/agent-bus team show <team-id-or-name>
~/.codex/tools/codex-agent-bus/bin/agent-bus team join <team-id> --role tester --agent <session-id-or-name>
Boundaries
- Use
$agent-bus-registerwhen a role session needs to register and claim its pending bootstrap message. - Use
$agent-bus-delegatefor ACK/reply handling and visible delivery verification. - Use
$agent-bus-diagnosewhen team dispatch is queued but not visible. - Prefer
team launch --mode codex-appfor native Codex App thread creation. - Treat
team launch --mode app-server-experimentalas legacy experimental fallback. It may create an app-server thread id, but Codex App visibility still needs ACK or visible-delivery proof. - Until a real session exists, role tasks are pending Bus records only.