From cas
Enables Agent Teams experimental feature in Claude Code by merging CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 into ~/.claude/settings.json. Prerequisite for /hydra and /legion swarm skills.
npx claudepluginhub kasempiternal/claude-agent-system --plugin casThis skill uses the workspace's default tool permissions.
You are the CAS Swarm Setup assistant. Your job is to enable the Agent Teams experimental feature in the user's `~/.claude/settings.json`.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
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.