context-engineering-cli
v0.2.10
Published
CLI for Context Engineering: PRD/PRP workflows, guardrails, and context orchestration.
Downloads
60
Readme
context-cli
CLI for Context Engineering. Create and manage PRDs/PRPs, enforce guardrails, build RAG indexes, and execute PRPs with AI agents.
Getting Started (Codex‑friendly)
- Install globally
npm i -g context-engineering-cli@latestThe installer ensures your shell PATH includes the npm global bin (idempotent). If it cannot update automatically, it will print a one‑line follow‑up.
- In any folder (e.g., your project directory)
context-cli init
context-cli doctor --verboseYou should see “All checks OK” and the 4 templates under context/templates/.
Troubleshooting (rare)
- If
context-cliis not found right after install:context-cli setup path --writeexec $SHELL -l(reload your shell)
Common Commands
- Bootstrap:
context-cli init - Diagnostics:
context-cli doctor --verbose - PRD:
context-cli prd new - PRP:
context-cli prp new --type arch|feat|bugfix - Status (Kanban):
context-cli status - Guardrails:
context-cli guard check - RAG build/search:
- Put
.md/.txtincontext/rag/corpus/ context-cli rag buildcontext-cli rag search "keyword"
- Put
- Exec (AI plan/run):
context-cli exec <PRP_ID> --plancontext-cli exec <PRP_ID> --run
Flags
--verboseenables debug logs--traceenables trace logs--jsonprints structured JSON logs
Usage
context-cli --version
context-cli --helpDevelopment
npm run dev -- --help
npm run build
npm run lint
npm testLicense
MIT
