Introducing PCSKit: Project Continuity Kit for AI Agents
PCSKit is a free, open-source CLI and MCP server that hands AI coding work to the next agent using verified evidence, so context limits and tool switches don't lose progress.
On this page
- PCSKit at a glance
- What problem does PCSKit solve?
- What do I do when Claude Code hits the context limit?
- Can I switch between Cursor and Claude Code without losing context?
- How does PCSKit work?
- How does PCSKit know what to trust?
- How is PCSKit different from a HANDOFF.md or CLAUDE.md?
- How do I hand off work between agents?
- Can I check that the history was not edited?
- Which tools does PCSKit work with?
- FAQ
- What is PCSKit?
- Is PCSKit free?
- What do I need to run it?
- Does it send my code anywhere?
- Is it only for Claude?
- Can it run as an MCP server?
- What if an agent died before writing a handoff?
- How do I remove it?
- Try it
PCSKit (Project Continuity Kit) is a free, open-source command line tool and MCP server that hands work from one AI coding agent to the next. It records evidence while agents work, then gives the next session a checked brief of what really happened, so a token limit or a switch from Claude to Cursor does not erase progress.
Last updated: November 23, 2026 · Written by Kumar, founder of Causly
PCSKit at a glance#
| Full name | PCSKit: Project Continuity Kit |
| What it is | Local-first CLI (pcs) and MCP server for AI coding agent continuity |
| Install | npm install -g @knihal/pcskit |
| Requires | Node.js 22.13+ and git |
| License | Apache-2.0 (free and open source) |
| Works with | Claude Code, Claude Desktop, Cursor, any MCP client |
| Data | Stays on your machine in .pcs/, no network access, no telemetry |
| Platforms | Linux, Windows, macOS (tested in CI) |
| Website | pcskit.causly.in |
| Source | github.com/KNIHAL/pcskit |
What problem does PCSKit solve?#
AI coding agents lose context when a session ends. A context limit hits, you open a new chat, or you move from one tool to another, and the next agent starts blind.
The usual fix is a summary written by the agent that just ran out of room. That is the part you cannot trust. It may say tests pass when they never ran, or forget the file it was halfway through editing. The next agent then builds on a story instead of on facts.
PCSKit's rule is simple: never trust an agent's "done". It keeps what it observed itself apart from what an agent only claimed.
What do I do when Claude Code hits the context limit?#
Start a new session and let it resume from recorded evidence instead of a summary. With PCSKit, the old session's work is already saved as a handoff, so the new session runs pcs resume (or calls the pcs_resume MCP tool) and gets the original task, verified progress, files in flight and next steps. Nothing has to be retyped.
Can I switch between Cursor and Claude Code without losing context?#
Yes. PCSKit stores the project's history in the project itself, not inside one tool. Agent A can stop in Claude Code, and Agent B can start in Cursor with pcs resume --agent cursor. Both read the same evidence log.
How does PCSKit work?#
PCSKit sits beside your agents and records evidence while they work: git state, file hashes, and test runs that PCSKit itself executes. When a session stops, it builds a handoff from that evidence. When the next agent starts, it checks the handoff against the evidence before showing it.
How does PCSKit know what to trust?#
Every line in a handoff carries a label:
| Level | Meaning | Example |
|---|---|---|
verified | PCSKit observed it itself | git state, file hashes, a test run with its exit code |
reported | A person or agent claimed it | "task done", "next step is X" |
inferred | Derived from other facts | "the session was interrupted" |
A task counts as verified only when a passing test run that PCSKit executed is linked to it, and only while the code still matches the state that run saw. If the code changed afterwards, the brief says so.
An abbreviated example of what the next agent receives:
Completed
[verified] Parse --json option (tests passed, code unchanged since)
[reported by claude] Update the help text (no test run linked)
In progress
[verified] src/cli/export.ts has uncommitted changes
Warnings
[inferred] Previous session ended at the token limit
How is PCSKit different from a HANDOFF.md or CLAUDE.md?#
| Agent-written HANDOFF.md | CLAUDE.md / AGENTS.md / .cursor/rules | PCSKit | |
|---|---|---|---|
| Source of truth | The agent's own summary | Instructions you write | Recorded evidence (git, hashes, test runs) |
| Says what happened last session | Only as the agent remembers it | No | Yes |
| Marks claims vs. facts | No | No | Yes: verified, reported, inferred |
| Detects tampering | No | No | Yes: hash chain, pcs verify |
| Works across tools | Manual copy | Per tool | Yes |
CLAUDE.md, AGENTS.md and Cursor rules tell an agent how to behave. They do not remember what happened. PCSKit can add a short marked block to those files so agents know how to use it.
How do I hand off work between agents?#
npm install -g @knihal/pcskit
cd your-repo
pcs init
pcs connect claude-code
pcs connect cursor
Then work as usual. At the end of a session:
pcs session end --reason limit
pcs handoff
The next agent, in any tool, runs:
pcs resume --agent cursor
Resume checks the handoff against the evidence log, snapshots the repo, warns if the code moved since the handoff, and prints the brief. No agent running? pcs resume --prompt prints a ready-to-paste takeover prompt.
Can I check that the history was not edited?#
Yes. Events are stored in an append-only SHA-256 hash chain. pcs verify detects edits, deletions and reordering. A signed anchor kept outside the project also detects truncation and rewrites. pcs export writes the log as JSON or Markdown that can be checked without PCSKit.
PCSKit is honest about its limits: the chain proves changes only if you keep the anchor or an export somewhere else, redaction is pattern based, and reported claims are labelled, not proven.
Which tools does PCSKit work with?#
| Client | Connect |
|---|---|
| Claude Code | pcs connect claude-code (hooks start, checkpoint and end sessions) |
| Claude Desktop | pcs connect claude-desktop |
| Cursor | pcs connect cursor |
| Any MCP client | pcs mcp |
For a visual overview of sessions, tasks with their evidence, notes and test runs, run pcs dashboard. It is read-only and runs on 127.0.0.1.
FAQ#
What is PCSKit?#
PCSKit (Project Continuity Kit) is an open-source CLI (pcs) and MCP server that rebuilds what happened in a project from git and recorded evidence, and hands it to the next AI coding agent as a trusted brief.
Is PCSKit free?#
Yes. It is open source under the Apache-2.0 license.
What do I need to run it?#
Node.js 22.13 or newer and git. It is tested in CI on Linux, Windows and macOS.
Does it send my code anywhere?#
No. PCSKit is local-first, with no network access and no telemetry. Secrets are redacted before anything is stored, and files flagged sensitive, like keys and .env, are listed by name and never read.
Is it only for Claude?#
No. It works with Claude Code, Claude Desktop, Cursor and any MCP client, so you can switch tools mid-task.
Can it run as an MCP server?#
Yes. Run pcs mcp, or let pcs connect write the config. Agents should start with pcs_resume. A --read-only mode exposes only tools that cannot change anything, and the tool that runs commands is off unless you pass --allow-test.
What if an agent died before writing a handoff?#
PCSKit builds one from the evidence log and marks the interrupted session as inferred.
How do I remove it?#
pcs deinit removes everything PCSKit added to a project. pcs connect <app> --remove removes the MCP entry.
Try it#
npm install -g @knihal/pcskit
pcs init
pcs doctor
Docs: pcskit.causly.in/docs · Issues and PRs welcome on GitHub.
Get new posts by email
High-signal notes on AI, automation and building systems. No spam.