Chief Feature Workflow
/install chief-feature
Chief Feature Workflow
Chief is an AI-driven development loop: reads a prd.json, implements user stories one by one via Claude Code, commits each, and tracks progress.
Full Workflow
1. Clone / verify repo
Confirm the project is cloned locally.
2. Create a new PRD
Run interactively in the project root:
cd \x3Cproject>
chief new \x3Cprd-name>
Chief launches Claude Code in PRD-writer mode. It will ask clarifying questions with lettered options. Provide:
- The full feature description / spec
- Answers to clarifying questions (e.g. "1A, 2C, 3D")
When Chief asks "Do you want to create prd.md?" — approve (option 1 or 2).
Chief converts prd.md → prd.json on /exit. Watch for:
✓ PRD converted successfully
Files land at: .chief/prds/\x3Cprd-name>/prd.md and prd.json
3. Create a worktree + branch
git worktree add ../\x3Cproject>-\x3Cprd-name> -b feat/\x3Cprd-name>
mkdir -p ../\x3Cproject>-\x3Cprd-name>/.chief/prds/\x3Cprd-name>
cp .chief/prds/\x3Cprd-name>/prd.{md,json} ../\x3Cproject>-\x3Cprd-name>/.chief/prds/\x3Cprd-name>/
4. Commit the PRD
cd ../\x3Cproject>-\x3Cprd-name>
git add .chief/prds/\x3Cprd-name>/prd.md
git commit -m "docs: add \x3Cprd-name> PRD"
Only commit prd.md — prd.json is typically gitignored.
5. Delegate to a subagent (recommended for long runs)
Instead of running Chief manually and polling, spawn a subagent to handle the full implementation autonomously:
Spawn a subagent with this task:
- Working directory: ~/\x3Cproject>-\x3Cprd-name>
- Run `chief \x3Cprd-name>` with pty:true
- Press `s` to start the loop
- Approve bash prompts with `1` + Enter (or `2` to always allow)
- If stuck on a prompt, send hex `0d` (Enter)
- Poll until all stories show ✓ (100%)
- Commit progress.md, push, open PR
- Announce the PR URL when done
The subagent runs fully isolated and auto-announces on completion. You can spawn multiple subagents in parallel — one per PRD/worktree — for concurrent feature development.
Parallel runs: 2–3 concurrent subagents is the practical sweet spot. Each Chief run is API-heavy (runs Claude Code under the hood), so more than 3 parallel runs risks rate limits and high cost.
5b. Run Chief manually (alternative)
If you prefer to supervise directly:
chief \x3Cprd-name>
Press s in the TUI to start. Chief works through stories in priority order, runs verification (make test, pnpm typecheck, etc.), commits each passing story, and updates progress.md.
Monitor via process(action=poll) on the PTY session. Watch for **US-00X is complete**.
6. Commit progress + push
git add .chief/prds/\x3Cprd-name>/progress.md
git commit -m "docs: add \x3Cprd-name> progress"
git push -u origin feat/\x3Cprd-name>
7. Open a PR
gh pr create \
--title "feat: \x3Cprd-name>" \
--body "Implements the \x3Cprd-name> PRD. See .chief/prds/\x3Cprd-name>/prd.md for spec." \
--base main
8. Clean up the worktree
After the PR is merged:
cd \x3Cproject>
git worktree remove ../\x3Cproject>-\x3Cprd-name>
git branch -d feat/\x3Cprd-name>
Use
git worktree remove --forceif the directory has uncommitted changes.
Tips
- TUI bash prompts: use
1(Yes) or2(Yes, always allow) - If stuck on a permission prompt, send
hex: ["0d"]viaprocess(send-keys) - If a story fails, Chief retries or logs the failure in
progress.md prd.jsonis typically gitignored — only commitprd.mdandprogress.md- Chief resumes automatically from the last completed story if restarted
Reference
See references/chief-commands.md for CLI commands, TUI keyboard shortcuts, and official links.
About Chief
Chief is an open-source AI-driven development loop built by minicodemonkey.
- Website: https://chiefloop.com/
- GitHub: https://github.com/minicodemonkey/chief
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install chief-feature - After installation, invoke the skill by name or use
/chief-feature - Provide required inputs per the skill's parameter spec and get structured output
What is Chief Feature Workflow?
Create and implement new features in Chief-managed projects using the Chief CLI. Use when asked to create a new PRD, implement a feature with Chief, set up a... It is an AI Agent Skill for Claude Code / OpenClaw, with 437 downloads so far.
How do I install Chief Feature Workflow?
Run "/install chief-feature" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Chief Feature Workflow free?
Yes, Chief Feature Workflow is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Chief Feature Workflow support?
Chief Feature Workflow is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Chief Feature Workflow?
It is built and maintained by Luiz Gustavo Nogara (@nogara); the current version is v1.0.2.