hmem-write

Create structured long-term memory entries with hierarchical titles and bodies.

23|5|Updated Feb 19, 2026
One-click install
npx skills add https://github.com/Bumblebiber/hmem --skill hmem-write
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hmem-write
Source: https://github.com/Bumblebiber/hmem/tree/main/skills/hmem-write
Command: npx skills add https://github.com/Bumblebiber/hmem --skill hmem-write

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Writes and organizes long-term memories using the MCP system, ensuring safe, consistent entries and preventing memory corruption or data loss.

Core Features & Use Cases

  • Structured memory entries: use write_memory with a defined prefix and a multi-level title + drill-down body.
  • Safe editing: guidelines to avoid direct file writes and ensure data integrity.
  • Discoverability: enforce tagging, IDs, and hierarchical organization for cross-project memory references.

Quick Start

Call write_memory with an appropriate L1 title and a drill-down body that follows the hierarchical formatting rules.

Frequently Asked Questions about hmem-write

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write long-term memories safely using MCP?

To safely write long-term memories with MCP, use the write_memory tool to create structured entries with a hierarchical L1 title and drill-down body, enforcing proper prefixes and indentation to prevent data corruption.

What is the best way to organize cross-project memory entries for discoverability?

The best way to organize cross-project memory entries is by enforcing tagging, IDs, and hierarchical organization within the write_memory tool, which improves discoverability and enables consistent memory references across different projects.

Can I directly edit memory files to update notes?

You should not directly edit memory files to update notes. Instead, follow safe editing guidelines using the write_memory tool to ensure data integrity and prevent memory corruption or data loss during revisions.

How does hierarchical formatting work when logging memories?

Hierarchical formatting for logging memories works by applying a defined prefix, a multi-level title, and a drill-down body with proper indentation and hashtags. This structure prevents data corruption and improves discoverability across cross-project contexts.

Why do my memory entries suffer from data corruption when using MCP?

Memory entries suffer from data corruption when proper prefixes, indentation, and hashtags are not enforced. Applying structured formatting rules with the write_memory tool prevents this corruption and ensures safe, consistent memory logging.

Does the write_memory tool support tagging and revision workflows?

Yes, the write_memory tool supports tagging and revision workflows by enforcing proper prefixes, indentation, and hashtags. This enables consistent memory logging and hierarchical organization for cross-project memory references.