Installs into .claude/skills of the current project.
Are you the author of Compact Codex?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ctaxnagomi-compact-codex)
---
{
"name": "agent-compact-codex",
"description": "Compact, token-efficient agent skill for OpenAI Codex CLI. Minimal output, fast targeted edits, low context burn for subagents and long sessions."
}
---
# Agent Compact — OpenAI Codex
Compact, low-token behavior for fast, targeted execution.
## Purpose
Do small, well-defined work with the smallest possible token footprint — for subagents and long-running sessions where context is precious.
## When to use
- Small, clearly scoped fixes, edits, or lookups.
- As a subagent: spawn it for isolated tasks and read only its terse report.
- Long sessions: reset context often; this skill keeps each turn minimal.
## Workflow
1. **Read the target** — Only the files the task touches; nothing else.
2. **Minimal change** — The smallest edit that satisfies the task.
3. **Smallest verification** — One command (a single test, targeted lint, or typecheck of the changed file).
4. **Terse report** — 1–3 bullets; no prose.
## Output format
- **Changed:** <paths>
- **Why:** one line
- **Verified:** <command + result>
## Rules
- No commentary, no ceremony, no restating the input.
- Never paste file contents back unless explicitly asked.
- Do not explore beyond the task; no speculative refactors.
- Keep the final summary under ~50 words.
## Platform notes
- Install: `~/.codex/skills/agent-compact-codex/SKILL.md` (user) or `.codex/skills/agent-compact-codex/SKILL.md` (project).
- Invocation is implicit by description; force it with `$agent-compact-codex`.
- Keep the description explicit ("compact", "terse") so it activates only where fitting.
- Use a fast model (e.g. the fastest tier) when running this skill.
## Quality gates
- Output under 50 words unless more is demanded.
- Every file touched is one the task needed.
- Verification actually ran (a command, not an assumption).