Scaffold an AGENTS.md file

slash commands & shortcuts

// what it does

/init inspects the project — build and test commands, structure, conventions — and generates an AGENTS.md scaffold you can edit. Commit it so everyone's Codex runs on the repo share the same rules.

// shell

$ /init

// gotcha

The generated file is a guess — review and trim it. Stale or wrong AGENTS.md guidance actively misleads the agent on every future run.

// resources