AGENT SKILL
token-efficient-codex-run
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-06-08
- Stars
- ★ 0
- Forks
- 0
03 SKILL.md 正文
token-efficient-codex-run
when_to_use
Use this skill when starting a Codex-style coding-agent run that should rely on durable lane state and a compact context pack instead of repeated project history, logs, diffs, or prior completion reports.
inputs
- Lane name.
- Current goal.
- Lane YAML path.
- Project state pack paths.
- Allowed and forbidden paths.
- Completion budget.
allowed_actions
- Read the lane file and listed state packs.
- Generate a context pack with
scripts/wave context-pack. - Inspect only files named by the context pack or necessary for the current goal.
- Write a heartbeat artifact before deeper implementation work.
- Write compact completion JSON and a markdown receipt.
forbidden_actions
- Do not paste full project history into the prompt.
- Do not read unrelated source trees.
- Do not print full files or full diffs.
- Do not include raw logs in receipts or chat.
- Do not touch forbidden paths, secrets, tenant data, or private runtime artifacts.
commands
scripts/wave smoke
scripts/wave audit
scripts/wave context-pack --lane demo-lane --skill token-efficient-codex-run --goal "describe the bounded task"
test "$(wc -l < .agent-wave/context/latest_demo-lane.md)" -le 200
stop_conditions
- Lane file or skill file is missing.
- Worktree or branch does not match the lane contract.
- Required state pack is missing.
- The goal requires forbidden paths.
- Logs exceed the configured cap and cannot be summarized safely.
completion_receipt_rules
- Receipt max: 120 lines.
- Include changed files, commands run, tests/build result, blockers, next recommended action, and raw log path only.
- Write
reports/codex_runs/<task>/completion.json. - Write
reports/completions/<task>.receipt.md. - Update
reports/completions/latest_codex_completion.md.