一键导入
hmg
Use HMG durable coding-agent memory when a task benefits from branch-aware recall, prior decisions, correction history, governance, or an end-of-task handoff.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use HMG durable coding-agent memory when a task benefits from branch-aware recall, prior decisions, correction history, governance, or an end-of-task handoff.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Produce an HMG health scorecard from doctor JSON, disposable memory smoke, agent-event explain, and daemon latency sampling.
Create a non-invasive HMG integration plan for a target repository using MCP, hooks, runtime, and smoke tests behind a feature flag.
Independently verify that an HMG integration can write, recall, handoff, preserve scope isolation, and emit lifecycle events.
Manually load scoped HMG context when SessionStart or prompt-time hooks are unavailable.
Run the local mem0 OSS vs HMG branch-isolation scorecard and interpret latency, hit rate, scope leakage, and agent brief usefulness.
Plan safe dry-run imports from mem0, MEMORY.md, Claude memory banks, or project documents into HMG.
| name | hmg |
| description | Use HMG durable coding-agent memory when a task benefits from branch-aware recall, prior decisions, correction history, governance, or an end-of-task handoff. |
HMG is the durable coding-agent memory kernel plus governance control plane. This skill only tells the agent when and how to use HMG. It does not implement memory behavior; core state changes must go through typed MCP tools, CLI commands, hooks, and the runtime.
memory_agent_brief,
memory_recall, memory_handoff, memory_correct, and memory_govern.Prefer the current task and git context. Use four distinct scope layers:
tenant_idworkspacerepositorybranchDo not reuse a tenant or workspace name as the branch. If the current git branch cannot be determined, omit the branch and let HMG infer it.
memory_agent_brief with branch-aware scope.memory_recall for the affected files,
symbols, products, workflows, or customer context.observation_capture.memory_handoff or memory_memorize.memory_correct; for sensitive or audit-only
content, call memory_govern.hmg recall --format json
and hmg agent-brief --format json.hmg doctor --format json followed by hmg init --agent <id> --dry-run.Use docs/llms.txt for the current agent-facing tool, CLI, and skill index.
Do not maintain a second exhaustive tool list inside this skill.