AI / agent harness

ContextKit

Illustration: a ContextKit card showing INDEX.md, a reference index, and a ticket id. Not a photograph.
Illustration, not a photograph.

ContextKit is a second brain for a code project in Claude Code. Notes and decisions stay in small Markdown files with a generated index, and other repos can be condensed into a read-only reference index. A SessionStart hook can pick up a ticket id from the branch name; /ck skills look it up or add a new note.

Install is local: no server, no database, and nothing is committed to the team repo. Version 2.3.0, MIT, Python 3.9+ with the standard library only.

Features

  • Knowledge base: notes, decisions, and tickets in Markdown, each with a one-sentence summary, plus a generated INDEX.md.
  • Reference index: other repos are read-only and condensed to contracts, API specs, and parity at a pinned repo@sha.
  • SessionStart hook (Claude Code): can detect a ticket id in the branch name. Where a knowledge folder or reference repos are configured, it also reminds you when /ck-doctor or /ck-refs-sync is overdue.
  • /ck skills: /ck-read-note, /ck-create-note, /ck-doctor, /ck-refs-lookup, and /ck-refs-sync in the project. /ck-setup installs in the hub and reconfigures in the project; only /ck-migrate runs exclusively in the hub.
  • Platform key: generic, ios, android, or web. This shapes the parity heading; the Xcode check runs only for ios. Skills can be imported into Xcode, but the hook cannot — run /ck-doctor there instead.
  • Local and small: no server, no third-party Python packages, MIT license. 46 unit tests, all passing when run from the hub with python3 -m unittest discover -s tests -v.