nervepack

Open source · Apache-2.0

A modpack for
AI cognition.

Skills, memory, tools, and workflows in one harness. A context hub you run across your machines, so a fresh box and a year-old box behave like the same collaborator.

Works with Claude Code, and any agentic host that can read files and run shell.

What it is

One source of truth for what your AI should know.

nervepack is the source of truth for the skills, rules, and dev-environment setup an AI coding assistant should carry with it. It loads into each session as skills and wires into the session lifecycle, so the decisions you've already made get reused instead of re-derived.

The pack

Four tiers, one namespace.

np-core

Cognition machinery

Capture, recall, sync, contribute, toggle. The engine that carries context between sessions and machines.

np-kb

Knowledge base

Domain how-to. Branding, coding rules, security review, framework gotchas. The decisions you already made, encoded.

np-env

Environment

Machine setup. Toolchain, editor and plugin stacks, secrets refresh. A fresh box bootstraps to a known-good state.

np-flow

Workflows

Recurring agent procedures (review, merge-gate, handoff) run the same disciplined way every time.

How it works

Injected at session start. Distilled over time.

A hook injects nervepack's directive into every session; more hooks and a few crons capture what worked and what didn't, then distil it back into durable skills. Knowledge is layered by authority. Higher layers always win.

  1. 1 skills human-reviewed behavior, how to act
  2. 2 sources curated, version-pinned reference
  3. 3 wiki LLM-owned synthesis across the above
  4. 4 playbooks failure→recovery, enforced at the tool call
  5. 5 episodic working narrative, lowest authority

Get started

Clone it. It bootstraps.

Pull the engine, then run the onboard for your host. Full steps in the docs.

git clone https://github.com/pat-browne/nervepack ~/Code/nervepack
cd ~/Code/nervepack && ./engine/setup/onboard.sh