kameleondb
Store and query structured data without planning schemas upfront. Use when you need to remember information, track entities across conversations, build knowledge bases, ingest API data, store user preferences, create CRM systems, or maintain any persistent state. Automatically evolves data structure as you discover new fields. No migrations, no schema design - just store data and query it.
Why use this skill?
KameleonDB allows AI agents to store and query structured data without schema migrations. Perfect for CRM, knowledge bases, and long-term memory.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/marcosnataqs/kameleondbWhat This Skill Does
KameleonDB is a highly flexible, agent-centric database management system designed to handle structured data without the constraints of traditional relational schema design. It acts as an "evolving" memory layer for your AI agent, allowing it to store, query, and mutate data structures on the fly. Unlike static databases that require complex migrations for every field addition, KameleonDB allows agents to "learn" data structures as they gather information. It supports complex querying, entity tracking, and persistent state management, making it an ideal choice for building long-term memory systems, CRM tools, or knowledge bases that grow alongside the agent's tasks.
Installation
To integrate KameleonDB into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/marcosnataqs/kameleondb
For standard deployment, ensure you have set your KAMELEONDB_URL environment variable. For local testing, a SQLite connection string (sqlite:///./kameleondb.db) is recommended, while production environments should utilize PostgreSQL with the kameleondb[postgresql] driver installed.
Use Cases
- CRM & Contact Management: Track people, emails, and professional relationships by adding fields like "linkedin_url" or "company" as you discover them.
- Dynamic Knowledge Bases: Aggregate research notes, facts, and document summaries into a searchable, queryable database that evolves as you add new information sources.
- Workflow Persistence: Store the status of long-running agent tasks, user preferences, and session-specific configurations to maintain continuity across multiple interaction cycles.
- Entity Tracking: Map complex relationships between diverse data points like tasks, projects, and deadlines without pre-defining rigid joins.
Example Prompts
- "Initialize a new schema for 'ProjectTasks' with fields for title, priority, and due_date, then insert a task for 'Finalize Q4 report' due next Friday."
- "Search my database for all contacts marked as 'Lead' and update their status to 'Follow-up Required' if their last interaction was over 30 days ago."
- "Add a new column 'tags' to the 'KnowledgeBase' schema and categorize the last 10 entries based on their document content."
Tips & Limitations
- Proactive Schema Evolution: Don't be afraid to alter schemas as your data requirements grow. KameleonDB handles the restructuring automatically.
- Performance Monitoring: If you notice sluggish queries, use the self-optimizing hints provided by the tool to adjust indexing.
- Storage Limits: While SQLite is convenient for local agents, transition to a dedicated PostgreSQL instance once you exceed 10,000 records to maintain high-performance retrieval and write speeds.
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-marcosnataqs-kameleondb": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read