acpx
acpx
Use acpx as the default transport for every external Codex loop in this repo.
Defaults
- Use
acpx codex execfor one-shot audits, reviews, and repo questions. - Use
acpx codex sessions ensure --name <name>plusacpx codex -s <name>for multi-turn loops. - Use
--approve-readsfor planning, review, and analysis. - Use
--approve-allfor implementation flows that must let the external agent edit files. - Use
--format json --json-strictwhen Claude will inspect or loop on the response. - Prefer
-f <prompt-file>for long prompts so the shell command stays short.
Session Rules
- Keep one stable session name per loop:
plan-audit,review,test-audit,task-01. - Use a fresh session name for each independent task branch.
- Reuse the same session name for follow-up feedback instead of creating a new conversation.
- Close stale sessions when the workflow is done:
acpx codex sessions close <name>.
Prompt Rules
- Write prompt files in English unless the task itself requires another language.
- Start prompt files with the bundled role file when one exists, then append task-specific context.
- Sanitize secrets before including file contents in a prompt file.
- Ask for structured verdicts so follow-up logic stays predictable.
Failure Handling
- If
acpxis unavailable or the agent cannot start, stop and tell the user which workflow depends on it. - For implementation flows, fall back only when the skill explicitly allows it.
- If a session gets wedged, inspect
acpx codex status, then close and recreate the named session.
Read reference.md when you need concrete command patterns.
More from knowlet/claude-acpx
execute-acpx
Smart size-based routing: Claude handles small changes locally, while large changes run through acpx and code-reviewer reviews the result. By default the examples use `acpx codex`, but the workflow is branded around acpx. Triggers on: /execute-acpx, execute plan, implement with routing, run the plan, or route large implementation through acpx.
1plan-acpx
Create a structured implementation plan, then audit it through acpx until approved. By default the external audit examples use `acpx codex`, but the workflow is acpx-first. Triggers on: /plan-acpx, plan a feature, create an implementation plan, design a system, architect this, or audit a plan with acpx.
1