Skip to content

Codex, Pi, and Others

[view as markdown]
Terminal window
fp init # interactive — pick "Standard AGENTS.md" at the prompt
fp init --agent standard # equivalent, non-interactive
fp init --agent codex # alias for `standard`

--agent standard writes FP_AGENTS.md with lightweight fp workflow rules and ensures AGENTS.md @-includes it. Agents that read AGENTS.md (Codex, Gemini, Mistral, Cursor, Pi, and many others) will load the rules on every session without further configuration.

--agent codex is an alias for standard

To add or refresh AGENTS.md later without re-running fp init:

Terminal window
fp agent setup standard # idempotent
fp agent setup codex # alias for `standard`

Instead of shipping skill files, fp bundles the skills in the cli itself.

All of these primers ship with the CLI:

Terminal window
fp guide plan # Planning skill
fp guide implement # Implementation skill
fp guide brainstorm # Brainstorm authoring (alias: bs)
fp guide extension # Extension authoring (aliases: extensions, ext)

Output is markdown. Ask your agent to look in the guides, or print them to skill files if you so desire.

Pass --references <name> to surface companion material, for example fp guide brainstorm --references mermaid.

Once FP_AGENTS.md is in place, the workflow is identical to Claude Code. Some agents may need the primer text inlined or referenced explicitly:

Use the plan primer printed by `fp guide plan` to plan this feature

For the full workflow reference, see the Claude Code Workflow guide. The plan/implement loop is the same regardless of which agent you use.

If you want to build your own custom workflows, you should visit the Extensions docs asap.