Add zudui skill: chat-driven multi-agent team bootstrapper for Claude Code#6
Open
study8677 wants to merge 4 commits into
Open
Add zudui skill: chat-driven multi-agent team bootstrapper for Claude Code#6study8677 wants to merge 4 commits into
study8677 wants to merge 4 commits into
Conversation
zudui is a Claude Code skill that bootstraps a multi-agent team on the broker via conversational setup. It collects roles + descriptions, registers each agent, writes per-role AGENT.md, and drops a smart tmux/iTerm2/manual launcher that auto-discovers agents. The launcher closes the two dialog gates that block autonomous boot: - pre_trust_dirs() writes hasTrustDialogAccepted into ~/.claude.json for the mother dir + every agent subdir, suppressing the workspace trust prompt - dismiss_bypass_dialogs() polls each tmux pane after spawning claude --dangerously-skip-permissions and sends "2" only on panes that show the bypass-permissions warning, with per-pane dedup so stray digits don't end up in claude's input Result: N panes boot to working shangban polling state with zero human keystrokes. Pairs with shangban (上班 inbox watcher) and xiaban (下班 stop). Adds agents/openai.yaml so Codex CLI can surface the skill via \$zudui. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Document the Claude Code one-click team bootstrapper alongside the existing supported-runtimes table. Mirrors content in README.md and README_CN.md. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
stelee410
pushed a commit
that referenced
this pull request
May 12, 2026
Simplify team bootstrap: team.yaml + up-team CLI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a Claude Code skill,
zudui(组队 = "form a team"), that bootstraps a multi-agent AMP team via fully conversational chat — no tmux/iTerm boilerplate, no manual file editing.The skill complements the existing
setup.mdflow: instead of asking each agent to self-register one by one, the operator says/zudui, answers a few prompts ("what roles do you want, what should each do?"), and the skill handles the rest:AGENT.mdfor each agentstart-team.sh) that auto-detects tmux > iTerm2 > manual--dangerously-skip-permissionswarning, so N agent panes boot to working state with zero human keystrokesIt pairs with two sibling skills (
shangban上班 = inbox watcher,xiaban下班 = stop) to form a completebootstrap → run → stoplifecycle for AMP teams.What's in the PR
.claude/skills/zudui/SKILL.md— full conversational protocol, idempotent rerun support.claude/skills/zudui/start-team.sh.template— smart launcher withpre_trust_dirs()anddismiss_bypass_dialogs()helpers.claude/skills/zudui/agents/openai.yaml— Codex CLI surfacing (so\$zuduiworks there too)README.md+README_CN.md— one new section between "Supported agent runtimes" / "注册 Agent" and "API overview" / "API 概览" pointing to the skillWhy two layers of dialog handling
Verified by testing on a 4-agent team:
--dangerously-skip-permissionsdoes not cover it. The launcher pre-writeshasTrustDialogAccepted: trueinto~/.claude.jsonfor the mother dir + every agent subdir.tmux capture-pane, sending keystroke2only on panes whose buffer contains "Yes, I accept", with per-pane dedup so a stray digit never lands in claude's input.Test plan
email_planner / email_coder / email_reviewer / email_runner):falsefor 5 dirs →./start-team.sh→ 5 dirs flipped totrue, 4 panes spawned, no dialogs visible,⏵⏵ bypass permissions onshown in each pane, agents reachedshangbanpolling state.AGENT.mds; only fills gaps.tmux kill-sessioncleanly stops all panes (CronListschema confirms crons are session-scoped, in-memory, so they die with the claude session).main; README auto-merge resolved without conflicts.🤖 Generated with Claude Code