acpx-patterns

acpx-patterns is a skill for Claude Code, Codex from KevinZai/commander. It costs 22 tokens per session (1,952 once invoked), scanned A, original, MIT.

A set of ready-made command patterns for running acpx, a command-line tool that controls coding-agent sessions. The patterns cover background work, parallel tasks, monitoring, and recovery after crashes.

In plain words
What is it for?
Use it to monitor file changes, run frontend, backend, and test tasks at the same time, or run overnight jobs with retries and checkpoints.
Why use it?
It removes the need to design and remember command setups for long-running or concurrent agent work. It also provides a way to retry interrupted sessions and check their status.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is acpx flow run ./flows/deploy-pipeline.ts.

Good fit Use it to monitor file changes, run frontend, backend, and test tasks at the same time, or run overnight jobs with retries and checkpoints.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/KevinZai/commander
agentmods
npx agentmods add skills/kevinzai/commander/acpx-patterns

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for acpx-patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/kevinzai/commander/acpx-patterns/github.svg)](https://agentmods.dev/skills/kevinzai/commander/acpx-patterns)
Your own site
<a href="https://agentmods.dev/skills/kevinzai/commander/acpx-patterns"><img src="https://agentmods.dev/badge/skills/kevinzai/commander/acpx-patterns/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for acpx-patterns

Your own site · 80×15
<a href="https://agentmods.dev/skills/kevinzai/commander/acpx-patterns"><img src="https://agentmods.dev/badge/skills/kevinzai/commander/acpx-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,952 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00022 $0.01952
Opus 5.5 $0.00009 $0.00781
Sonnet 5.5 $0.00004 $0.00390
Haiku 4.5 $0.00002 $0.00195

Measured 2mo ago against content hash f8f4f1c6efef, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

acpx-patterns scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/acpx-patterns/SKILL.md · 273 lines

How it starts

The opening of the file, as written. The whole thing — 273 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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:

acpx run --background --name "monitor" \
  --prompt "Watch for file changes in src/ and run tests on each change. Report failures." \
  --max-turns 100 \
  --allowed-tools Bash,Read,Glob,Grep

Parallel Development

Run multiple independent tasks simultaneously:

# Task 1: Frontend work
acpx run --background --name "frontend" \
  --prompt "Implement the dashboard component per spec in tasks/spec-dashboard.md" \
  --allowed-tools Bash,Read,Write,Edit,Glob,Grep

# Task 2: Backend work
acpx run --background --name "backend" \
  --prompt "Implement the API endpoints per spec in tasks/spec-api.md" \
  --allowed-tools Bash,Read,Write,Edit,Glob,Grep

# Task 3: Tests
acpx run --background --name "tests" \
  --prompt "Write integration tests for the existing API routes" \
  --allowed-tools Bash,Read,Write,Edit,Glob,Grep

# Check status
acpx status --all

Crash-Resilient Overnight

Overnight execution with automatic retry and checkpoint:

acpx run --background --name "overnight-build" \
  --prompt "Execute the full implementation plan in tasks/plan-*.md. Checkpoint after each phase. If a step fails, log the error and continue to the next phase." \
  --max-turns 200 \
  --timeout 28800 \
  --retry-on-crash 3 \
  --checkpoint-interval 10 \
  --allowed-tools Bash,Read,Write,Edit,Glob,Grep

Structured Output

Run a task and capture structured JSON output:

acpx run --name "audit" \
  --prompt "Analyze this codebase and return a JSON report with: {health_score, issues[], recommendations[]}" \
  --output-format json \
  --allowed-tools Bash,Read,Glob,Grep

Queue Management

Manage a queue of tasks to run sequentially:

# Add tasks to queue
acpx queue add --name "task-1" --prompt "Fix the auth bug in src/auth.ts"
acpx queue add --name "task-2" --prompt "Add rate limiting to API routes"
acpx queue add --name "task-3" --prompt "Update README with new API docs"

# Run queue (sequential, auto-advances)
acpx queue run --sequential --checkpoint-between

# Check queue status
acpx queue status

Read the full file on GitHub · 273 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 273 lines · 22 tokens per session scan A f8f4f1c6efef

Subscribe to this mod's changes

acpx-patterns is a skill published in the GitHub repository KevinZai/commander (6 stars, last pushed yesterday), licensed MIT. It adds 22 tokens to every session and 1,952 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.

Related

acpx-patterns compared with skills from other repositories

acpx-patterns next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
acpx-patternsKevinZai/commanderSkill6yesterdayMITA22Claude Code, Codex
logingreenpolo/cc-multi-cli-pluginSkill1972d agoApache-2.0A10Claude Code
skill-devandisab/swe-marketplaceSkill232d agoMITA86Claude Code
coordinatorandisab/swe-marketplaceSkill232d agoMITA193Claude Code
mcp-tool-devandisab/swe-marketplaceSkill232d agoMITA158Claude Code
debt-ops-addbcanfield/agentic-tech-debtSkill9yesterdayMITA115Claude Code, Codex
debt-ops-metricsbcanfield/agentic-tech-debtSkill9yesterdayMITA74Claude Code, Codex