hmem-using-hmem

Enforce hmem memory, dispatch, and lookup habits during session interactions.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/YuryZZZ/opencode-global --skill hmem-using-hmem
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hmem-using-hmem
Source: https://github.com/YuryZZZ/opencode-global/tree/main/skills/hmem-using-hmem
Command: npx skills add https://github.com/YuryZZZ/opencode-global --skill hmem-using-hmem

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Establishes a consistent, policy-driven approach to memory, dispatch, and lookup operations, reducing leakage of context and improving reliability.

Core Features & Use Cases

  • Mandatory habits loaded at session start to govern when and how to use memory, dispatch, and recall.
  • Dispatch-first rule: always dispatch before searching, looking up, or exposing new information to ensure prompt hygiene.
  • Decision table guidance: provides structured guidelines for actions like recall, write, or create when handling knowledge and context.

Quick Start

Enable the hmem framework at session start to activate memory, dispatch, and lookup habits for all interactions.

Frequently Asked Questions about hmem-using-hmem

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

FAQPage Schema
How do I enforce consistent memory and dispatch workflows for AI behavior?

To enforce consistent memory and dispatch workflows, apply a policy-driven framework that loads mandatory habits at session start, ensuring reliable memory, dispatch, and lookup operations across all interactions.

What is the dispatch-first rule for AI context management?

The dispatch-first rule for context management requires always dispatching before searching, looking up, or exposing new information to ensure prompt hygiene and prevent context leakage during ongoing interactions.

How do I guide AI decisions for recalling and writing context?

You can guide AI decisions for recalling and writing context by using a structured decision table, which provides explicit guidelines on when to trigger recall, write, or create actions for handling knowledge and context.

Can I use hmem primitives to manage AI session context?

Yes, you can use hmem primitives to manage AI session context by loading required context at session start and utilizing hmem-dispatch, hmem-recall, and hmem-write to govern memory and lookup habits.

What's the best way to prevent context leakage in AI workflows?

The best way to prevent context leakage in AI workflows is to establish a consistent, policy-driven approach that applies mandatory memory, dispatch, and recall habits during both session initialization and ongoing interactions.

Do I need to load context at session start for memory management?

Yes, you need to load context at session start for memory management because it activates the mandatory habits required to govern memory, dispatch, and lookup operations throughout the entire session.