Surrealdb Knowledge Graph Memory
Skill by maverick-software
Why use this skill?
Enhance your OpenClaw agent with persistent memory. Store facts, build knowledge graphs, and enable continuous self-improvement with SurrealDB integration.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/maverick-software/surrealdb-knowledge-graph-memoryWhat This Skill Does
SurrealDB Knowledge Graph Memory is a robust, self-improving memory architecture for OpenClaw agents. It transitions your agent from stateless interactions to a persistent, evolving intelligence. By leveraging a local SurrealDB instance, it stores facts as structured nodes and edges, enabling the agent to recall past experiences, understand complex relationships between data, and learn from its own history. The system operates via a continuous feedback loop: it records memories in markdown files, parses them via LLMs to extract structured data, correlates entities to build a knowledge graph, and injects context into future conversations to ensure the agent grows smarter over time.
Installation
To install this skill, run: clawhub install openclaw/skills/skills/maverick-software/surrealdb-knowledge-graph-memory. Ensure your environment has python3 (v3.10+) and the surreal binary installed in your system path. You must also configure your OPENAI_API_KEY in the environment variables, as the extraction logic uses OpenAI models to parse unstructured text into graph data.
Use Cases
- Project Management: Track long-running task states, client requirements, and historical technical debt across multiple sessions.
- Personalized Assistance: Maintain a profile of user preferences, past topics discussed, and specific context relevant to the user's workflow.
- Autonomous Research: Build a research assistant that connects dots between disparate sources, forming a web of knowledge rather than just storing isolated documents.
- System Automation: Use the episodic memory to audit agent actions and refine future decision-making based on prior task success or failure.
Example Prompts
- "Remember this: The project requirements for the new API integration prioritize security-first authentication protocols."
- "What do you know about the authentication bugs we discussed last Tuesday in the legacy module?"
- "Memory search: Find similar tasks where we faced issues with dependency hell during the Python 3.10 migration."
Tips & Limitations
- Privacy: Since this skill utilizes external LLMs for entity extraction, ensure no sensitive personal information is stored in plain-text markdown files if your security policy forbids it.
- Performance: The graph grows over time; for extremely large workspaces, ensure your SurrealDB instance is optimized for memory consumption.
- Dependencies: The 6-hour extraction cycle and 3 AM correlation job require your host machine to be running at those times. If the machine is off, the jobs will trigger upon the next startup.
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-maverick-software-surrealdb-knowledge-graph-memory": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, data-collection, external-api
Related Skills
Plugin Architecture
Skill by maverick-software
discord-connect-hub
Complete Discord integration for Clawdbot with automatic UI installation. Provides Discord bot connectivity, dashboard tab, setup wizard, credential management, server monitoring, and plugin architecture hooks. Use when setting up Discord channel integration or adding Discord tab to the Control dashboard. Includes automatic installation of UI components, RPC handlers, and navigation updates.
zapier-mcp
Connect 8,000+ apps via Zapier MCP. Includes full UI integration for Clawdbot Gateway dashboard. Use when setting up Zapier integration, connecting apps, or using Zapier tools via mcporter.
Agent Mode Upgrades
Skill by maverick-software
1password-ui
1Password UI tab for OpenClaw dashboard. Manage secrets, credential mappings, and auth state from the Control UI.