Skills for agents that should ship work, not excuses.

Make your AI coding agent less chaotic.

A bilingual skill pack for Codex and other coding agents: clarify before building, reproduce before fixing, test behavior before refactoring, handoff before context dies, and operate fast without making the user do the agent's job.

给 AI Agent 装上一点工程纪律。不是让它更会聊天,是让它更会交付。

The failure mode is familiar.

The agent says “done”. Tests were not run. The bug was not reproduced. The feature was built against a guessed requirement. The user somehow became the intern.

Agent Discipline turns that mess into five repeatable moves.

Five skills. One job each.

01

clarify-first

Ask fewer, sharper questions before building. If code or docs can answer, inspect them instead of bothering the user.

02

repro-first

Build a reproducible feedback loop before debugging. No repro, no guessing theater.

03

behavior-first

Write behavior-focused tests and ship in small red-green-refactor slices.

04

session-handoff

Compress goals, state, decisions, risks, and next steps so the next session can continue cleanly.

05

fast-operator

Move quickly, verify directly, and interrupt only at real trust boundaries.

Install for Codex

Clone the repo, then run:

.\scripts\install-codex.ps1

Or copy manually:

Copy-Item .\skills\* "$env:USERPROFILE\.codex\skills" -Recurse -Force

Use it like this.

Use $clarify-first before building this feature.
Use $repro-first to debug this failure.
Use $behavior-first to implement this with tests.
Use $session-handoff to prepare the next session.
Use $fast-operator from now on.
先用 clarify-first 问清楚
用 repro-first 排查这个 bug
用 behavior-first 做这个功能
用 session-handoff 做交接
进入 fast-operator 模式