cheese-brain
DuckDB-powered knowledge management system for fast retrieval across 22+ entity types (projects, contacts, tools, workflows, decisions, etc.). Use when you need to recall context about past projects, look up configuration details, find tool documentation, retrieve contact information, search workflows/procedures, or query any tracked knowledge. Supports sub-millisecond keyword search and BM25 full-text search with relevance ranking.
Why use this skill?
Optimize your agent's memory with Cheese Brain. A DuckDB-powered tool for fast, persistent storage and retrieval of projects, workflows, and configurations.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/mhugo22/cheese-brainWhat This Skill Does
Cheese Brain is a high-performance, DuckDB-backed knowledge management system designed to serve as the persistent memory layer for AI agents and power users. Unlike ephemeral chat history, this skill stores structured entities—such as projects, workflows, tools, and decisions—in a searchable local database. It supports sub-millisecond keyword lookups and BM25 full-text search, allowing for nuanced relevance ranking. By centralizing disparate information into a queryable interface, it transforms scattered data into a unified, actionable knowledge graph.
Installation
To integrate Cheese Brain into your environment, use the OpenClaw hub CLI.
Command: clawhub install openclaw/skills/skills/mhugo22/cheese-brain
For manual local setup:
- Clone the repository:
git clone https://github.com/mhugo22/cheese-brain.git - Navigate to the directory:
cd cheese-brain - Set up your virtual environment:
python3 -m venv venv && source venv/bin/activate - Install the package:
pip install -e . - Verify functionality:
cheese-brain stats
Use Cases
Cheese Brain excels when you need to maintain context over long time horizons. Key scenarios include:
- Technical Documentation: Storing tool paths, API configuration details, and infrastructure credentials.
- Decision Tracking: Documenting the rationale behind past architectural choices to prevent repeating past mistakes.
- Workflow Management: Maintaining step-by-step procedures for recurring tasks to ensure consistency.
- Relationship Management: Tracking contact details, calendar feeds, and professional context.
Example Prompts
- "Cheese Brain, what was the reason we decided to use DuckDB for the analytics module last month?"
- "Search for the backup script workflow and provide me with the current configuration path and execution schedule."
- "Add a new project entry for 'Alpha-Portal' with the repo URL https://github.com/org/alpha and tag it as 'priority' and 'infrastructure'."
Tips & Limitations
- Precision vs. Recall: Use the
searchcommand for broad keyword queries, but switch tofts(full-text search) when you need to rank by relevance or filter by specific categories. - Data Structure: Utilize the
--dataflag with well-formatted JSON strings to ensure your metadata remains machine-readable for future programmatic access. - Limitations: As a local database tool, it does not sync across multiple machines automatically; ensure your database file resides in a synced folder (like Dropbox or Git) if you require multi-device access. Keep your database updated regularly using the
updatecommand to ensure the agent is working with the latest context.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-mhugo22-cheese-brain": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read