kevinzai/commander/acpx-patterns
Claude Code and agent skill by kevinzai/commander
- community
Checking that the SKILL.md file is still in the repository.
Pre-built acpx usage patterns for background, parallel, and crash-resilient sessions
Install
npx vskill@latest install kevinzai/commander/acpx-patternsSKILL.md
ACPX Patterns
Pre-built patterns for using acpx (Agent Control Protocol eXtended) to run Claude Code sessions in advanced modes.
Background Monitor
Long-running monitoring session that watches for changes and reports:
Parallel Development
Run multiple independent tasks simultaneously:
Crash-Resilient Overnight
Overnight execution with automatic retry and checkpoint:
Structured Output
Run a task and capture structured JSON output:
Queue Management
Manage a queue of tasks to run sequentially:
Flows System (v0.5.3)
Flows are user-authored workflow modules with file-backed run state. Each step binds to a working directory, and runs produce trace bundles for replay and audit.
BREAKING CHANGE: defineFlow() is now required
Flows that do not use defineFlow() will fail on startup as of v0.5.3. Update all existing flow files before upgrading.
Defining a Flow
Running Flows
Trace Bundles
Every flow run produces a trace bundle:
Inspect a trace bundle:
Live WebSocket Updates
Subscribe to in-progress flow run events:
Or connect programmatically:
Runtime Embedding API
Embed ACPX session lifecycle directly into your application:
Built-in Adapters
ACPX v0.5.3 ships adapters for three external CLI tools:
| Adapter | Tool | Purpose | |
|---|---|---|---|
factoryDroid | Factory Droid CLI | Project scaffolding | |
qoderCli | Qoder CLI | AI-assisted code review | |
kiroCli | Kiro CLI | Requirements/spec generation |
Migrating Existing Flows
Run the built-in codemod to wrap bare flow exports with defineFlow():
Review the diff before committing — the codemod is mechanical but always check the inferred name and permissions fields.
Best Practices
- Always name sessions -- makes monitoring and log review easier
- Set max-turns -- prevents runaway sessions from burning tokens
- Use allowed-tools -- restrict to only what the task needs
- Checkpoint for long runs -- enables resume after crashes
- Monitor costs -- set
--cost-ceilingfor budget control - Log output -- pipe to file for post-session review:
acpx run ... 2>&1 | tee session.log - Use defineFlow() -- required as of v0.5.3; run
acpx flow migrateon any bare exports - Declare permissions explicitly --
permissionsfield indefineFlow()is the authoritative list for the run - Pin per-step timeouts -- default is 15 min; set lower for fast steps to surface hangs early
- Archive trace bundles --
.acpx/traces/grows unbounded; prune or archive after each run
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/acpx-patterns/SKILL.md
Popularity
- Repository stars
- 6
- Repository forks
- 1
- 7-day trend score
- 10
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/kevinzai/commander/acpx-patterns)