aicrew /quick (Codex)
Use for scoped tasks that don't need the full /dev ceremony.
Scout the relevant code first, then act with surgical, goal-driven changes.
Token foundation (mandatory)
/dev, /fix, and /quick all share the same 11-capability token-saving stack — only pipeline depth differs. Full reference: ~/Agents/docs/token-foundation.md. Stack: graph-first (codebase-memory-mcp), speculative Scout → verify (SCOUT schema, two-model routing), Karpathy guardrails, layered guardrails (guardrails-taxonomy.md), context-economy read policy, security-guard.py hooks, .ai/state checkpoints, /compact between phases, /handoff on tool switch, optional context-mode + token-optimizer-mcp, caveman default output. For /quick, Scout IS Phase 1 (built-in, always first); Act is Phase 2.
Default output
Caveman/lean style by default. See ~/Agents/agents/caveman.md and ~/Agents/agents/context-economy.md.
/normal or /lean off restores verbose.
Source of truth
~/Agents/commands/quick.md
~/Agents/agents/karpathy-guardrails.md
- Project overrides in
.ai/skills/ and repo AGENTS.md (if present)
Token foundation (mandatory — both phases)
- Graph-first: codebase-memory-mcp (search_graph → trace_path → get_code_snippet) before any Grep/Read
- Speculative context: Scout IS Phase 1 (cheap model); emit SCOUT: schema; verify before Act
- Layered guardrails: security-guard.py (input) → scope lock (SCOUT Goal:) → karpathy-guardrails (Act) → context budget
- Context economy: always on; state saved at Checkpoint B
- Two-model routing: Scout on haiku/mini; Act on sonnet/opus
- See: ~/Agents/docs/token-foundation.md
Workflow summary
- Scout — graph-first discovery before touching anything:
- Graph MCP (codebase-memory-mcp):
list_projects → search_graph → trace_path → get_code_snippet
- Fallback:
git diff --name-only, targeted grep, slice-reads
- Emit and verify SCOUT: schema (Goal / Status / Constraints verbatim / Files / Call chain / Next action / Tests / Risks)
- Act — implement with Karpathy guardrails:
- Think Before Coding: Scout verified before any edit
- Simplicity First: fewest files, smallest change
- Surgical Changes: diff-sized edits only, no unrelated reformats
- Goal-Driven Execution: every edit traces to the Goal line; stop when done
- Write/update
.ai/state/AI_STATE.<tool>.<session>.md at Checkpoint B and after Act
When to use /quick vs /fix vs /dev
| Command |
Use when |
/quick |
Scoped task, any type — you want scout-first + guardrails without full ceremony |
/fix |
Pure bug — you need TDD reproduce-fail-fix cycle + security review |
/dev |
Multi-phase feature, refactor, or anything needing brainstorm + design spec |
1---2name: aicrew-quick3description: Run the aicrew /quick scout-first, Karpathy-guarded lightweight flow in Codex.4---56# aicrew /quick (Codex)78Use for scoped tasks that don't need the full `/dev` ceremony.9Scout the relevant code first, then act with surgical, goal-driven changes.1011## Token foundation (mandatory)1213`/dev`, `/fix`, and `/quick` all share the same 11-capability token-saving stack — only pipeline depth differs. Full reference: `~/Agents/docs/token-foundation.md`. Stack: graph-first (`codebase-memory-mcp`), speculative Scout → verify (SCOUT schema, two-model routing), Karpathy guardrails, layered guardrails (`guardrails-taxonomy.md`), context-economy read policy, `security-guard.py` hooks, `.ai/state` checkpoints, `/compact` between phases, `/handoff` on tool switch, optional `context-mode` + `token-optimizer-mcp`, caveman default output. For `/quick`, Scout IS Phase 1 (built-in, always first); Act is Phase 2.1415## Default output1617Caveman/lean style by default. See `~/Agents/agents/caveman.md` and `~/Agents/agents/context-economy.md`.18`/normal` or `/lean off` restores verbose.1920## Source of truth2122- `~/Agents/commands/quick.md`23- `~/Agents/agents/karpathy-guardrails.md`24- Project overrides in `.ai/skills/` and repo `AGENTS.md` (if present)2526## Token foundation (mandatory — both phases)2728- Graph-first: codebase-memory-mcp (search_graph → trace_path → get_code_snippet) before any Grep/Read29- Speculative context: Scout IS Phase 1 (cheap model); emit SCOUT: schema; verify before Act30- Layered guardrails: security-guard.py (input) → scope lock (SCOUT Goal:) → karpathy-guardrails (Act) → context budget31- Context economy: always on; state saved at Checkpoint B32- Two-model routing: Scout on haiku/mini; Act on sonnet/opus33- See: ~/Agents/docs/token-foundation.md3435## Workflow summary36371. Scout — graph-first discovery before touching anything:38 - Graph MCP (codebase-memory-mcp): `list_projects` → `search_graph` → `trace_path` → `get_code_snippet`39 - Fallback: `git diff --name-only`, targeted grep, slice-reads40 - Emit and verify SCOUT: schema (Goal / Status / Constraints verbatim / Files / Call chain / Next action / Tests / Risks)412. Act — implement with Karpathy guardrails:42 - Think Before Coding: Scout verified before any edit43 - Simplicity First: fewest files, smallest change44 - Surgical Changes: diff-sized edits only, no unrelated reformats45 - Goal-Driven Execution: every edit traces to the Goal line; stop when done463. Write/update `.ai/state/AI_STATE.<tool>.<session>.md` at Checkpoint B and after Act4748## When to use /quick vs /fix vs /dev4950| Command | Use when |51|---|---|52| `/quick` | Scoped task, any type — you want scout-first + guardrails without full ceremony |53| `/fix` | Pure bug — you need TDD reproduce-fail-fix cycle + security review |54| `/dev` | Multi-phase feature, refactor, or anything needing brainstorm + design spec |