- Home
- Skills
- Agents & Orchestration
- persistent-kb
Persistent kb
Local, SQLite-backed cross-session memory for agents to store and retrieve lessons, decisions, and facts via FTS5.
$9
Works with the AI tools you already use
persistent-kb
Example session with this skill installed
What did we learn from the database migration issues last November? Show me the specific fix.
- Read your context and instructions
- Compiled the persistent-kb
[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)
Connects securely to your tools. The creator never sees your data.
What you get
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.
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean 4 months ago
- Passed all security checks, Safe to install