ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 4/5

hexmem

Structured memory database for AI agent identity, tasks, events, lessons, and persistent continuity. Use whenever the user says remember this, log this, track this, what should I do next, recap, summarize, what changed, or when you need to store/retrieve decisions, incidents, fleet ops notes, reminders, TODOs, goals, values, or facts about people/systems/projects across sessions.

Why use this skill?

Install HexMem to give your AI agent persistent, structured memory. Track facts, tasks, and history with an intelligent decay-based database system.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/santyr/skill-hexmem
Or

What This Skill Does

HexMem is a sophisticated, SQLite-based structured memory system designed specifically for AI agents to maintain persistent continuity across sessions. Unlike simple chat logs or flat-file notes, HexMem organizes information into a relational schema that handles identity, factual knowledge, event timelines, and lessons learned. It features a built-in decay engine, ensuring that frequently accessed or emotionally weighted information remains prioritized, while stale data is managed effectively. By using HexMem, your AI agent transforms from a stateless entity into an evolving participant that remembers facts about people, systems, and project goals.

Installation

To install HexMem, you can use the ClawHub command: clawhub skill install hexmem. Alternatively, you can clone the repository directly from GitHub: git clone https://github.com/hexdaemon/hexmem.git. Once installed, ensure the database is initialized using ./migrate.sh up. For seamless integration, add the environment variable HEXMEM_DB to your shell profile and source the helper script hexmem.sh at the start of your session.

Use Cases

HexMem excels in long-term project management and identity maintenance. Use it to track complex technical configurations (e.g., server capacities), maintain personal preferences or team member details, log critical decision-making processes for post-mortem analysis, and record milestones. It is ideal for agents operating in multi-session environments where keeping track of shifting goals and past lessons is essential for high-level productivity.

Example Prompts

  1. "HexMem, remember that the production server capacity is 32GB and update my identity schema to reflect that I am currently focused on project debugging."
  2. "What changed in our fleet operations over the last week? Please synthesize a summary of the events I have logged."
  3. "Summarize the recent lessons we learned from the deployment failure on Tuesday so we don't repeat those mistakes."

Tips & Limitations

To maximize the utility of HexMem, consistently use the emotional tagging features for important events, as this prevents critical memories from decaying quickly. Remember that HexMem relies on your input to stay relevant; the more you explicitly ask it to 'track' or 'remember' specific data points, the more useful the hexmem_synthesize_entity function becomes. Note that this skill requires local file system access to store and manage the SQLite database, so ensure your agent has appropriate permissions to the chosen directory.

Metadata

Author@santyr
Stars1133
Views1
Updated2026-02-18
View Author Profile
AI Skill Finder

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 skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-santyr-skill-hexmem": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#memory#persistence#knowledge-graph#agent-identity#database
Safety Score: 4/5

Flags: file-write, file-read