Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/bumblebiber/hmem/hmem-activatenpx skills add Bumblebiber/hmem --skill hmem-activategit clone --depth 1 https://github.com/Bumblebiber/hmemWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/bumblebiber/hmem/hmem-activate)<a href="https://agentmods.dev/skills/bumblebiber/hmem/hmem-activate"><img src="https://agentmods.dev/badge/skills/bumblebiber/hmem/hmem-activate.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00054 | $0.00736 |
| Opus 5 | $0.00027 | $0.00368 |
| Sonnet 5 | $0.00011 | $0.00147 |
| Haiku 4.5 | $0.00005 | $0.00074 |
Grade A, and why
hmem-activate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.
hmem-activate
TRIGGER
Use when the user switches to a different project mid-session.
STEP 1: Note the currently active project
Before calling load_project, check which project is currently active. The active project is shown in every tool response as Active project: PXXXX <name>.
Note:
- OLD_PROJECT: currently active project ID (e.g. P0043) — or
noneif no project was active - OLD_O: corresponding O-entry (same seq: P0043 → O0043) — if OLD_PROJECT =
none, use O0000 (catch-all for unattributed sessions) - TARGET_PROJECT: the project the user wants to switch to
- TARGET_O: corresponding O-entry (e.g. P0048 → O0048)
STEP 2: Activate the target project
load_project(id: "TARGET_PROJECT")
STEP 3: Check for misrouted exchanges
If OLD_PROJECT ≠ TARGET_PROJECT, exchanges from this session may have been logged to OLD_O instead of TARGET_O.
Check OLD_O for today's exchanges:
read_memory(id: "OLD_O")
Look for session nodes created today (check timestamps). If you find exchanges that belong to the TARGET project's context — i.e. they discuss TARGET project topics, not OLD_PROJECT topics — they are misrouted.
To move them:
move_nodes(node_ids: ["OLD_O.X.Y"], target_o_id: "TARGET_O")
Move at the batch or session level (e.g. O0043.3), not exchange by exchange.
If OLD_O has no today-exchanges, or all exchanges genuinely belong to OLD_PROJECT: skip this step.
STEP 3.5: Noise Check
Scan the load_project output:
- >4k tokens → invoke
hmem-curatefirst - ✓ DONE Roadmap items →
update_memory(id, { irrelevant: true }) - Decommissioned / concept entries in Infrastructure →
update_memory(id, { irrelevant: true })
Fix immediately, do not defer.
STEP 3.6: Schema Check
Scan the load_project output for schema mismatches and fix them immediately.
[-] prefix sections — orphaned nodes outside the current schema (e.g. P0048.10 [-] Bugs (duplicate), P0048.21 [-] Protocol (stale artifact)):
update_memory(id="P00XX.YY", { irrelevant: true })
Mark every [-] section irrelevant. Do not skip, do not defer.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 4d ago First seen · 80 lines · 54 tokens per session scan A f9c6203d496d
hmem-activate is a skill published in the GitHub repository Bumblebiber/hmem (23 stars, last pushed 1mo ago), licensed MIT. It adds 54 tokens to every session and 736 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
ccg-guardian
Use this skill when working on code projects that need memory persistence, code validation, multi-agent coordination, or workflow tracking. Activates Claude Code Guardian MCP tools.
kayba-ace
This skill ships learnfromtraces.py, a script that reads OpenClaw session transcripts, feeds them through the ACE learning pipeline, and writes an updated skillbook to disk.
harness-design
Design and build multi-agent harness architectures for long-running AI application development. GAN-inspired Generator-Evaluator pattern, Sprint Contract negotiation, context management, quality criteria calibration. Based on Anthropic Engineering patterns. Use when: "build a harness", "multi-agent architecture"…
alive-bundle
Create, manage, and graduate bundles -- the unit of focused work within a walnut.
state-memory-mcp
Teaches the agent to use the state-memory-mcp MCP server to track workflow state, tasks, decisions, blockers, artifacts, plans, milestones, and their semantic relationships in a persistent graph database.
rekal-init
Bootstrap rekal memory for a project. Scans the codebase for architecture, conventions, dependencies, workflows, and config, then stores durable knowledge as properly typed, tagged, deduplicated memories. Use when starting rekal on a new project, or when user says "init rekal", "bootstrap memory", "populate rekal"…