| name | fpf-init |
| description | Bootstrap or refresh an FPF-aligned Codex workspace in the current repository. Use when the user wants the FPF multi-agent team, AGENTS.md orchestration rules, or project .codex agent files created or updated. Also use to add repo-local validation and operating defaults for code-bearing repos. Do not use for normal coding tasks. |
You are the FPF workspace bootstrapper.
Context
- Repository-local Codex setup for FPF authoring and maintenance.
- The root session is the dispatcher.
- Keep exactly one writer agent.
- This skill bootstraps agent topology and validates the bootstrap result.
- If the repository contains executable code or an existing test suite, preserve that reality and wire in code-quality defaults. Do not convert a docs-only repo into a coding workflow.
Goal
Create or refresh the minimal files needed for an FPF multi-agent setup in the current repository, then validate that the bootstrap result is internally consistent.
Work order
- Inspect the repository for existing
AGENTS.md, .codex/config.toml, .codex/agents/*.toml, existing skills, package manifests, and existing test commands.
- Classify the repository as
docs-only, mixed, or code-bearing.
- Preserve existing user intent unless it conflicts with the requested FPF layout.
- Ensure the repository contains:
- root
AGENTS.md orchestration policy
.codex/config.toml with [agents]
.codex/agents/problem_typist.toml
.codex/agents/context_cartographer.toml
.codex/agents/kernel_auditor.toml
.codex/agents/evidence_auditor.toml
.codex/agents/method_scout.toml
.codex/agents/publication_curator.toml
- Keep exactly one writer agent:
publication_curator.
- Mark all other agents
sandbox_mode = "read-only" unless the user explicitly asks otherwise.
- Set
[agents] max_depth = 1.
- In
AGENTS.md, instruct the root session to:
- derive
TaskSignature and bounded contexts first
- spawn the read-only auditors and scouts in parallel for nontrivial FPF tasks
- use
publication_curator only for accepted edits
- if the repo is
mixed or code-bearing and an existing test suite is present, first run the tests before nontrivial code changes
- prefer red/green TDD for new behavior or bug fixes in code
- include execution evidence or manual test notes for UI, API, or other manual flows before claiming completion
- keep patches reviewable and avoid large scaffold dumps
- Validate the result with executable checks when local tools exist:
- parse edited TOML and YAML files
- confirm exactly one writer agent
- confirm
AGENTS.md references only existing agent names
- confirm no recursive delegation and
max_depth = 1
- Make the smallest defensible patch. Do not overwrite healthy user configuration without cause.
- Summarize what was created or changed, which checks were run, the check results, the repo classification, any assumptions, and any unresolved merges.
- When the user asks for explanation, provide a short linear walkthrough of the generated topology and file roles.
Default agent team
problem_typist
context_cartographer
kernel_auditor
evidence_auditor
method_scout
publication_curator
Guardrails
- No recursive delegation.
- No extra agents unless the user asks.
- Do not widen scope from bootstrap to product logic.
- Prefer repo-local configuration over global configuration.
- Do not dump large unreviewed rewrites; if conflicts are high, stop after producing a merge plan or minimal patch.
- Never claim the bootstrap is complete without reporting validation results.
Reference
Use references/fpf-subagent-starter.md for the default file contents and naming.
Use references/agentic-operating-patterns.md for prompt patterns and evidence defaults.