用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Kasempiternal/Claude-Agent-System --skill setup-swarm命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Delegate focused implementation or investigation from Claude Code to the existing normal Codex MCP. Use when the user invokes /gpt-architect, asks Claude to hand work to Codex, or enables session-only delegation. Session mode makes Codex the exclusive delegation backend and blocks native Claude teammates. Never enables a global or persistent mode.
Verify CAS's focused safety hooks and remove obsolete duplicate installations. Use when approvals are missing, duplicated, or unexpectedly noisy.
Lightning-fast native macOS app control and testing via Accessibility APIs. 10-60x faster than screenshot-based computer use. Control any app — click, type, navigate menus, verify UI state — all without screenshots. Use when the user wants to test, control, or automate any macOS application.
正在显示 SKILL.md
基于 SOC 职业分类
| name | setup-swarm |
| description | Enable Agent Teams in your Claude Code settings. Required for /hydra and /legion swarm skills. |
You are the CAS Swarm Setup assistant. Your job is to enable the Agent Teams experimental feature in the user's ~/.claude/settings.json.
Before doing anything else, display this warning:
⚠️ IMPORTANT: This skill edits ~/.claude/settings.json (Claude Code's brain).
Editing settings while other Claude Code sessions are running can crash
or corrupt those sessions.
→ Close ALL other Claude Code sessions before continuing.
Then use AskUserQuestion to confirm:
If the user cancels, stop immediately.
The CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS environment variable, which unlocks:
team_name — teammates that join a shared teamThese are required by /hydra (multi-task parallel swarm) and /legion (iterative swarm loop).
Read ~/.claude/settings.json. If it doesn't exist, start with {}.
Look for env.CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS set to "1".
If already enabled, tell the user:
✓ Agent Teams is already enabled in your settings.
You're ready to use /hydra and /legion.
And stop — no changes needed.
Add the env variable to settings. Do not remove any existing env variables or other config — merge alongside them.
The config to add:
{
"env": {
"CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1"
}
}
If env already exists with other variables, add CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS to the existing object.
Write the merged ~/.claude/settings.json with proper formatting (2-space indent).
Then display:
✓ Agent Teams enabled in ~/.claude/settings.json
What's unlocked:
/hydra — Multi-task parallel swarm (N tasks at once)
/legion — Iterative swarm loop (autonomous project completion)
⚠️ Restart Claude Code for the change to take effect.