/SKILL.md
Use when Codex needs to run Claude Code from PowerShell or Bash in experimental agent-team mode, verify true teammate spawning from debug logs, choose Alibaba Cloud or Z.ai provider routing, or produce teammate-by-teammate task reports.
npx skillsauth add sunwood-ai-labs/cc-orchestrator-cli-skill cc-orchestrator-cli-skillInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill to drive Claude Code from PowerShell or Bash when the goal is true agent-team execution, not session-scoped --agents subagents.
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1.AlibabaCloud and Zai, while Auto prefers ALIBABA_API_KEY first and then ZAI_API_KEY.--dangerously-skip-permissions only when the task needs hands-off file edits or unrestricted tool usage and the user expects that behavior.scripts/inspect-debug-log.ps1 or scripts/inspect-debug-log.sh before claiming team mode worked.This repository keeps the workspace instruction source in shion/CLAUDE.md.
On the maintainer machine, C:\Users\Aslan\.claude\CLAUDE.md is expected to point to that file through a Windows file symbolic link so both locations stay aligned.
Setup command:
cmd /c mklink C:\Users\Aslan\.claude\CLAUDE.md D:\Prj\cc-orchestrator\shion\CLAUDE.md
Important:
shion/CLAUDE.md as the editable source of truth--agents for this workflow unless the user explicitly wants custom subagents instead of agent teams.Create an agent team, Spawn exactly 3 teammates, coder, designer, reviewer, and Clean up the team when done.Prefer over-specifying the task to under-specifying it. Claude Code team runs work better when the lead agent knows:
Include all of these elements in the prompt:
Create an agent team in this workspaceSpawn exactly 3 teammates yourselfcoder owns HTML and JavaScript, designer owns CSS and visual polish, reviewer owns review and final signoffDelegate meaningful work to all teammates, Avoid file conflicts, Fix reviewer findings before finishingUse references/prompt-patterns.md for ready-to-adapt prompt shapes.
When the task is more than a tiny smoke test, tell Claude Code to start by listing:
This makes the lead agent coordinate teammates more cleanly and reduces vague final reports.
Useful phrasing:
Before making changes, create a short QA inventory that lists the deliverables, planned file changes, final claims, and checks required for signoff.
Use scripts/run-claude-team.ps1 on Windows PowerShell, or scripts/run-claude-team.sh from Bash.
Typical flow:
.\scripts\check-runtime.ps1 -Provider Auto or ./scripts/check-runtime.sh --provider Auto once in the workspace.-PromptText.-Dangerous when appropriate..\scripts\inspect-debug-log.ps1 -DebugLogPath <path> or ./scripts/inspect-debug-log.sh --debug-log-path <path>.PowerShell example:
.\scripts\run-claude-team.ps1 -PromptFile .\tmp\prompt.txt -Dangerous
Bash example:
./scripts/run-claude-team.sh --prompt-file ./tmp/prompt.txt --dangerous
Readiness check:
.\scripts\check-runtime.ps1 -Provider Auto
./scripts/check-runtime.sh --provider Auto
These checks confirm that Claude Code is available, provider keys are present when explicitly requested, and the shared shion/CLAUDE.md source exists. They do not call the API unless you run Claude separately.
Provider defaults:
-Provider Auto prefers ALIBABA_API_KEY, then ZAI_API_KEY, and falls back to no provider overrideALIBABA_API_KEY maps to ANTHROPIC_AUTH_TOKENANTHROPIC_BASE_URL defaults to https://coding-intl.dashscope.aliyuncs.com/apps/anthropicANTHROPIC_MODEL defaults to qwen3.5-plus-Provider AlibabaCloud, -UseAlibabaCloud, -AlibabaApiKey, -AlibabaBaseUrl, or -AlibabaModelZAI_API_KEY maps to ANTHROPIC_AUTH_TOKENANTHROPIC_BASE_URL defaults to https://api.z.ai/api/anthropicAPI_TIMEOUT_MS defaults to 3000000glm-5.1 for haiku, sonnet, and opus-Provider Zai, -UseZai, -ZaiApiKey, -ZaiBaseUrl, -ZaiApiTimeoutMs, -ZaiHaikuModel, -ZaiSonnetModel, or -ZaiOpusModelPrefer the bundled log inspector:
.\scripts\inspect-debug-log.ps1 -DebugLogPath C:\Users\Aslan\AppData\Local\Temp\claude-agent-team-20260314-142830.log
./scripts/inspect-debug-log.sh --debug-log-path /tmp/claude-agent-team-20260314-142830.log
The inspectors print TEAM_MODE_CONFIRMED only when the log contains true teammate spawn evidence for the expected roles.
Inspect the debug log for entries like:
spawnInProcessTeammatecoder@...designer@...reviewer@...TeammateIdleTaskCompletedIf the log only shows SubagentStart with query: Explore or behavior tied to --agents, do not claim that true team mode ran.
Summarize:
If Claude Code returns a too-short final answer, inspect the generated files and debug log yourself before responding.
When checking Japanese or other non-ASCII output in PowerShell, prefer:
Get-Content .\index.html -Encoding UTF8
This avoids false mojibake during review.
tools
Use when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layers like Lobster, ACPX, plugins, or plain code. Keep conditional logic in the caller; use TaskFlow for flow identity, child-task linkage, waiting state, revision-checked mutations, and user-facing emergence.
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------
tools
A CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.