@agent-context-kit/cli
v0.3.40
Published
CLI for agent-context-kit
Readme
@agent-context-kit/cli
CLI context-kit for agent-context-kit: scaffold layered LLM context (docs/agent/, manifest.yaml) and keep engine-managed doc regions in sync.
Requirements: Node.js 18+.
Install
npm install -g @agent-context-kit/cliOr run without installing:
npx @agent-context-kit/cli --helpThe context-kit command is available after a global install (or via npx).
Quickstart
In your project root (empty or existing repo):
context-kit initThis creates manifest.yaml, docs/agent/*, docs/features, docs/decisions, docs/human, plus Cursor (.cursor/rules/agent-context-kit.mdc) and Claude (CLAUDE.md) entry points so agents know how to use the workflow.
Then run the interactive wizard to auto-detect your stack and pre-fill the project-specific docs:
context-kit setupThe wizard detects your language and stack from package.json, go.mod, pyproject.toml, Cargo.toml, etc., then asks a few focused questions (architecture overview, glossary terms, project rules) and writes the answers directly into your docs.
Commands
| Command | Description |
|--------|-------------|
| context-kit init | Scaffold the kit structure in the current directory |
| context-kit setup | Interactive wizard: auto-detect stack, fill project sections |
| context-kit sync | Update <!-- agent-context-kit:engine --> regions from the bundled template; keeps <!-- agent-context-kit:project --> blocks |
| context-kit check | Check manifest.yaml exists, required files, rough token budget warnings |
| context-kit list | List prompt files and feature specs in docs/ |
| context-kit new-spec <name> | Scaffold docs/features/<name>.md and add a registry entry |
context-kit --helpCompanion package
Use @agent-context-kit/toolshed-server to expose the same manifest.yaml and docs as MCP tools (Cursor, Claude Desktop, etc.).
License
MIT
