@caty-ai/context-kit
v0.3.0
Published
Small, composable context-engineering tools and safety hooks for AI coding agents.
Readme
@caty-ai/context-kit
Context Kit is a small set of command-line tools and Claude Code hooks for keeping agent output manageable, preserving useful context, validating delegation briefs, and guarding risky operations. See the project repository for the full guide.
Install
Run the guided installer with npx. It previews every file and settings change before writing anything:
npx @caty-ai/context-kit installTo expose context-kit, lg, recall, and wt-snapshot on your PATH, install the package globally:
npm i -g @caty-ai/context-kit
context-kit installThe package supports macOS and Linux with Node.js 18 or newer.
Installer usage
Dry-run is the default. Review the file plan and unified settings diff, then repeat the printed command with --apply:
context-kit install --all
context-kit install --all --applyInstall only selected pieces by naming them:
context-kit install lg recall --apply
context-kit install scratch-persist brief-validator safety-hooks --applyAvailable pieces are lg, scratch-persist, brief-validator, safety-hooks, recall, and wt-snapshot. Use context-kit --help for test-oriented --settings and --prefix overrides.
Uninstall
There is no uninstall command in this release. To remove the kit manually:
- Remove
~/.claude/context-kit. - If
~/.claude/settings.jsondid not exist before install, delete it. Otherwise remove only the hook entries whose commands point into that directory from~/.claude/settings.json, or restore a non-empty installer backup after confirming it does not discard later settings changes. - Remove any shell configuration that added
~/.claude/context-kit/bintoPATH.
Restore instructions apply only when a non-empty backup exists.
For piece-specific behavior and verification, read the absolute project docs for lg, scratch-persist, brief-validator, safety hooks, recall, and wt-snapshot.
