Back to library
AI
best practice

Rapidly Bootstrap Workspace Agents Using /init

Instantly generate documentation scaffolds for new workspace agents.

Use the '/init' command in the Codex app composer to automatically generate an AGENTS.md scaffold for your custom agents.

ChatGPT

The Scenario

You are building a new internal workspace agent to help your team automate a specific workflow and need a structured starting point.

Before & after

The old way

Setting up the documentation for a new AI agent's logic and capabilities manually often takes 15–20 minutes of formatting and brainstorming.

With AI

By typing '/init' in the app composer, Codex generates the entire AGENTS.md scaffold instantly (under 1 min), providing a ready-to-fill roadmap for your custom agent.

The Prompt

/init [DESCRIBE THE AGENT PURPOSE, E.G., SALES LEAD QUALIFIER]

The /init command acts as a shortcut within the app composer for Codex. It automatically creates the AGENTS.md file, which is the foundational document for defining how your workspace agent should behave.

Source

ChatGPT Business - Release Notes | OpenAI Help Center
"The release also adds /init in the app composer for generating an AGENTS.md scaffold"