JSPM

  • Created
  • Published
  • Downloads 76
  • Score
    100M100P100Q109133F
  • License MIT

CLI for agent-context-kit

Package Exports

  • @agent-context-kit/cli
  • @agent-context-kit/cli/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@agent-context-kit/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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/cli

Or run without installing:

npx @agent-context-kit/cli --help

The context-kit command is available after a global install (or via npx).

Quickstart

In your project root (empty or existing repo):

context-kit init

This 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 setup

The 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 --help

Companion package

Use @agent-context-kit/toolshed-server to expose the same manifest.yaml and docs as MCP tools (Cursor, Claude Desktop, etc.).

License

MIT