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.

Kumar NihalNovember 23, 20265 min read
On this page

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

npm License

PCSKit at a glance#

Full namePCSKit: Project Continuity Kit
What it isLocal-first CLI (pcs) and MCP server for AI coding agent continuity
Installnpm install -g @knihal/pcskit
RequiresNode.js 22.13+ and git
LicenseApache-2.0 (free and open source)
Works withClaude Code, Claude Desktop, Cursor, any MCP client
DataStays on your machine in .pcs/, no network access, no telemetry
PlatformsLinux, Windows, macOS (tested in CI)
Websitepcskit.causly.in
Sourcegithub.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:

LevelMeaningExample
verifiedPCSKit observed it itselfgit state, file hashes, a test run with its exit code
reportedA person or agent claimed it"task done", "next step is X"
inferredDerived 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:

text
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.mdCLAUDE.md / AGENTS.md / .cursor/rulesPCSKit
Source of truthThe agent's own summaryInstructions you writeRecorded evidence (git, hashes, test runs)
Says what happened last sessionOnly as the agent remembers itNoYes
Marks claims vs. factsNoNoYes: verified, reported, inferred
Detects tamperingNoNoYes: hash chain, pcs verify
Works across toolsManual copyPer toolYes

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?#

text
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:

text
pcs session end --reason limit
pcs handoff

The next agent, in any tool, runs:

text
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?#

ClientConnect
Claude Codepcs connect claude-code (hooks start, checkpoint and end sessions)
Claude Desktoppcs connect claude-desktop
Cursorpcs connect cursor
Any MCP clientpcs 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#

text
npm install -g @knihal/pcskit
pcs init
pcs doctor

Docs: pcskit.causly.in/docs · Issues and PRs welcome on GitHub.

Share
Kumar Nihal

Written by

Kumar Nihal

AI-first software engineer and founder of Causly. I build software, SaaS and AI systems, and write about it here. More about me

Get new posts by email

High-signal notes on AI, automation and building systems. No spam.

Keep reading

Insight

Why I Built PCSKit: Solving Context Loss in AI Coding Sessions

AI coding agents are productive, but their work can lose continuity when a context window fills up, a session gets interrupted, or developers switch between tools. I built PCSKit to solve this problem with local-first project continuity, evidence-based handoffs, and verifiable development history—so the next AI agent can continue from the actual project state instead of relying on an unreliable summary.

Nov 24, 2026
Insight

AI Coding Agent Handoffs: Why HANDOFF.md Needs Verifiable Evidence

Learn how to preserve context across AI coding agent sessions with reliable handoffs. Explore the limitations of traditional HANDOFF.md files, why task summaries aren't enough, and how Git state, test results, file changes, and verifiable evidence help agents resume development work with greater confidence.

Nov 24, 2026
Insight

MCP Tool Annotations Explained: Practical Examples, Defaults, and Security Best Practices

Understand MCP Tool Annotations and how they influence AI agent interactions with tools. Learn the four core annotations — readOnlyHint, destructiveHint, idempotentHint, and openWorldHint — with practical JSON examples, default behaviors, security considerations, common mistakes, and testing strategies for building reliable Model Context Protocol servers.

Nov 24, 2026