GPTMap

/init

The slash command that creates an AGENTS.md instructions file for Codex.

Codex commandsopenaicodexclituislash-commandagents-md

Specs

Verified:

Kind
Slash command (inside TUI session)
Syntax
/init
First seen
—
unverified

The official description of /init is "create an AGENTS.md file with instructions for Codex" — it scaffolds a repo-level instructions file for Codex. AGENTS.md is an open format, so one file can serve Codex CLI and other agents that honor it. First-seen version is unverified.

Key features

  • Scaffolds an AGENTS.md draft in the project root
  • AGENTS.md is an open format — shared across agent tools

Use cases

Run it on a repo's first Codex session to get an initial instructions draft, then hand-edit — faster than writing from scratch.

Install

Type `/init` in the TUI. Verify the generated commands (build/test/lint) against the repo before committing.

Caveats

The generated file is a model-inferred project profile — verify command names and directory conventions against the repo before keeping it.

Added

Updated

Verified

Related entries