Capy — Development skill for Claude Code
Persistent knowledge base — cross-session project memory with FTS5 search.
How to install Capy
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open serpro69/capy and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Capy does
**C**ontext-**A**ware **P**rompting ...or "**Y**et another solution to LLM context problem"
Alternatives in Development
- Claude Supermemory — Persistent memory across sessions and projects using Supermemory 2.3k ★
- Rb Refresh — Rebuild the repobrain project knowledge base after significant changes 1.3k ★
- Ag Refresh — Rebuild the antigravity project knowledge base after significant changes 1.2k ★
README
capy
**C**ontext-**A**ware **P**rompting ...or "**Y**et another solution to LLM context problem"
[](https://github.com/serpro69/capy/stargazers) [](https://github.com/serpro69/capy/network/members) [](https://github.com/serpro69/capy/commits) [](LICENSE)
Privacy & Architecture
`capy` is not a CLI output filter or a cloud analytics dashboard. It operates at the MCP protocol layer - raw data stays in a sandboxed subprocess and never enters your context window. Web pages, API responses, file analysis, log files - everything is processed in complete isolation.
**Nothing leaves your machine.** No telemetry, no cloud sync, no usage tracking, no account required. Your code, your prompts, your session data - all local. The SQLite databases live in your home directory and die when you're done.
This is a deliberate architectural choice, not a missing feature. Context optimization should happen at the source, not in a dashboard behind a per-seat subscription. Privacy-first is our philosophy - and every design decision follows from it. [License](#license)
The Problem
Every MCP tool call dumps raw data into your context window. A single API response costs 56 KB. Twenty GitHub issues cost 59 KB. One access log - 45 KB. After 30 minutes, 40% of your context is gone. And when the agent compacts the conversation to free space, it forgets which files it was editing, what tasks are in progress, and what you last asked for.
`capy` is an MCP server and Claude Code plugin that solves both halves of this problem:
- Context Saving - Sandbox tools keep raw data out of the context window. 315 KB becomes 5.4 KB. ~98% reduction.
- Searchable Knowledge Base - All sandboxed output is indexed into SQLite FTS5 with BM25 ranking. Use
capy_searchto retrieve specific sections on demand. Three-tier fallback: Porter stemming, trigram substring, fuzzy Levenshtein correction.
...
Related Skills
Kb
Search the project knowledge base via GitMark (FTS5 bm25 + trigram/fuzzy). Argument = query; no argument shows
Pupsik
Claude Code workspace toolkit: persistent memory, multi-account inbox MCPs, rule discipline, auto-capture know
Memory Ingest
Process new raw content into the agent memory knowledge base. Creates source/concept/entity pages, cross-links
Global Review
Start a global / cross-project / meta session — review the knowledge base itself or work its meta-backlog
Memory Orchestrator
🧠 Five-layer memory system for OpenClaw agents — persistent, cross-session, cross-platform context that never
Obs
Manage your Obsidian agent memory vault — initialize, analyze projects, write session summaries, scaffold proj
Related Agents
Memory Manager
Invoke when the user wants to save brand knowledge to persistent memory, search past campaign learnings, sync
Rememora Developer
Use this agent when you need to work on Rememora development tasks — picking tickets, planning implementations
Atlas Review
Program manager reviewing for completeness, cross-reviewer connections, and creative challenges. Maintains For