persistent-kb
by Rapa Canola
Local, SQLite-backed cross-session memory for agents to store and retrieve lessons, decisions, and facts via FTS5.
- Avoid repeating technical research by storing findings as 'lessons'.
- Track architectural decisions across long-running development projects.
- Save complex commands or references to bypass repetitive documentation lookups.
$9
One-time purchase
Included in download
- Avoid repeating technical research by storing findings as 'lessons'.
- Track architectural decisions across long-running development projects.
- terminal, env_vars automation included
- Includes example output and usage patterns
See it in action
[ID: 42] Title: Production Database Migration Fix Kind: lesson | Tags: postgres, devops, fix Content: Encountered 'lock timeout' during v2 schema migration. Resolved by setting statement_timeout to 60s. Use scripts/migrate_v2_patch.sql for future staging runs. (Created: 2023-11-15)
persistent-kb
by Rapa Canola
Local, SQLite-backed cross-session memory for agents to store and retrieve lessons, decisions, and facts via FTS5.
$9
One-time purchase
⚡ Also available via Agensi MCP — your AI agent can load this skill on demand via MCP. Learn more →
Included in download
- Avoid repeating technical research by storing findings as 'lessons'.
- Track architectural decisions across long-running development projects.
- terminal, env_vars automation included
- Includes example output and usage patterns
- Instant install
See it in action
[ID: 42] Title: Production Database Migration Fix Kind: lesson | Tags: postgres, devops, fix Content: Encountered 'lock timeout' during v2 schema migration. Resolved by setting statement_timeout to 60s. Use scripts/migrate_v2_patch.sql for future staging runs. (Created: 2023-11-15)
About This Skill
What it does
Persistent KB provides your AI agent with a long-term, local memory using a SQLite-backed knowledge base. It allows agents to save cross-session facts, lessons learned, and project decisions into a structured database that survives context window resets and machine reboots.
Why use this skill
Unlike standard LLM "memory" which is often session-bound or cloud-hosted, this skill offers a privacy-first, developer-centric approach. It solves the "amnesia" problem where agents forget technical hurdles or design decisions made in previous chats. By using FTS5 (Full-Text Search), it enables fast retrieval of relevant context without cluttering the current prompt window.
Supported tools
- SQLite: Local storage with high-performance FTS5 indexing.
- Python 3.10+: Zero-dependency implementation (standard library only).
- CLI: A robust script (kb.py) for easy integration with any shell-enabled agent.
The Output
The skill produces structured summaries of stored knowledge, including entry IDs, categories (lessons, decisions, references), and tags. It handles conflict resolution by superseding old facts, ensuring the agent always retrieves the most current information while maintaining history.
Use Cases
- Avoid repeating technical research by storing findings as 'lessons'.
- Track architectural decisions across long-running development projects.
- Save complex commands or references to bypass repetitive documentation lookups.
- Build a searchable database of project-specific context and edge cases.
- Reduce token usage by retrieving specific facts rather than pasting full logs.
How to Install
unzip persistent-kb.zip -d ~/.claude/skills/Reviews
No reviews yet - be the first to share your experience.
Only users who have downloaded or purchased this skill can leave a review.
Early access skill
Be the first to review this skill.
Only users who have downloaded or purchased this skill can leave a review.
Security Scanned
Passed automated security review
Permissions
Allowed Hosts
File Scopes
Creator
Frequently Asked Questions
Learn More About AI Agent Skills
Similar Skills

ai-productivity
High-speed intake for shaping vague prompts, triaging complex tasks, and compressing context for efficient execution.
seo-optimizer
SEO optimizer and banned-word scanner for Chinese social media. Keyword optimization and advertising law compliance.
content-brainstorm
Weekly content calendar generator for Chinese social media. 7-day topic plans with trends and SEO keywords.
content-writer
Multi-platform content generator for Chinese social media platforms