hmem-using-hmem

hmem-using-hmem is a skill for Claude Code, Codex from Bumblebiber/hmem. It costs 38 tokens per session (1,118 once invoked), scanned A, original, MIT.

A set of rules for using memory-related skills that store, retrieve, route, and clean information about coding work.

In plain words
What is it for?
Use it to dispatch searches, load session or topic context, recall previous lessons, store new decisions, create projects, and clean or migrate memory entries.
Why use it?
It keeps searches and memory operations consistent, so relevant past decisions can be found before new work begins.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to dispatch searches, load session or topic context, recall previous lessons, store new decisions, create projects, and clean or migrate memory entries.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bumblebiber/hmem/hmem-using-hmem
Install

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.

Any agent
npx skills add Bumblebiber/hmem --skill hmem-using-hmem
Clone the repo
git clone --depth 1 https://github.com/Bumblebiber/hmem

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for hmem-using-hmem

README.md
[![agentmods](https://agentmods.dev/badge/skills/bumblebiber/hmem/hmem-using-hmem/github.svg)](https://agentmods.dev/skills/bumblebiber/hmem/hmem-using-hmem)
Your own site
<a href="https://agentmods.dev/skills/bumblebiber/hmem/hmem-using-hmem"><img src="https://agentmods.dev/badge/skills/bumblebiber/hmem/hmem-using-hmem/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hmem-using-hmem

Your own site · 80×15
<a href="https://agentmods.dev/skills/bumblebiber/hmem/hmem-using-hmem"><img src="https://agentmods.dev/badge/skills/bumblebiber/hmem/hmem-using-hmem.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,118 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00038 $0.01118
Opus 5.5 $0.00015 $0.00447
Sonnet 5.5 $0.00008 $0.00224
Haiku 4.5 $0.00004 $0.00112

Measured 3mo ago against content hash 54585b2deb6a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hmem-using-hmem 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 3mo 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.

skills/hmem-using-hmem/SKILL.md · 81 lines

How it starts

The opening of the file, as written. The whole thing — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Using hmem Skills

The Rule

Before searching, looking up, or exploring anything — dispatch via hmem-dispatch. Before responding to the user about something you had to find — dispatch first, synthesize after.

This is not optional. A 3-line grep dispatched is better than a slow main-context search that pollutes the conversation.

Skill Decision Table

When you want to... Use
Find a file, function, or code pattern hmem-dispatch
Check if a plan, spec, or doc exists hmem-dispatch
Answer "does X exist?" or "find Y" hmem-dispatch
Search hmem for past decisions/lessons hmem-recall
Run 2+ independent tasks at once hmem-dispatch (multiple agents)
Store a new insight, lesson, or decision hmem-write
Load project context at session start hmem-session-start
Load context for a specific topic hmem-context
Create a new project (P-entry) in hmem hmem-new-project
Start curation / cleanup of memory hmem-curate
Migrate O-entries to new format hmem-migrate-o

Targeted vs. Exploratory

Not all Bash calls need dispatching. The key distinction:

Type Characteristics Action
Targeted Known path/pattern, single command, result ≤3 lines Run directly
Exploratory Open-ended, multiple locations, result unknown Dispatch

Targeted (OK to run directly): find /home/username -name "settings.json" -path "*claude*" — one known location, one expected result.

Exploratory (must dispatch): grep -r "functionName" ~/projects/ across repos, or "where is X defined?" without knowing which file.

When in doubt: if you'd be surprised by the output → dispatch it.

Red Flags

These thoughts mean STOP — dispatch instead:

Thought Reality
"I'll just grep this quickly" Is it exploratory? Dispatch. Is it one targeted command with predictable output? Run it.
"Let me run find real fast" Known path + expected result → OK. Unknown territory → dispatch.
"It's only one Bash call" Targeted (≤3 lines expected) → fine. Exploratory → dispatch.
"This is too small to dispatch" Dispatching 2-line tasks is fine and fast.
"I need to check the codebase first" Dispatch the check.
"Let me read this file to see what's there" Dispatch it. You only need the result.
"I'll search memory quickly myself" Use hmem-recall instead.
"I remember how this works" Skills evolve. Invoke the skill.
"I'll write the P-entry manually with write_memory" Use hmem-new-project. It handles schema, O-entry linking, and section setup.

Read the full file on GitHub · 81 lines

Changes

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.

  1. 3mo ago First seen · 81 lines · 38 tokens per session scan A 54585b2deb6a

Subscribe to this mod's changes

hmem-using-hmem is a skill published in the GitHub repository Bumblebiber/hmem (24 stars, last pushed 1mo ago), licensed MIT. It adds 38 tokens to every session and 1,118 once invoked, about $0.0002 per session on Opus 5.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.

Related

hmem-using-hmem compared with skills from other repositories

hmem-using-hmem next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hmem-using-hmemBumblebiber/hmemSkill241mo agoMITA38Claude Code, Codex
kayba-acekayba-ai/agentic-context-engineSkill2.6k2mo agoApache-2.0A0Claude Code, Codex
nornweave-apiDataCovey/nornweaveSkill312d agoApache-2.0A77Claude Code, Codex
post-cortex-memoryjulymetodiev/post-cortexSkill233d agoMITA194Claude Code
faf-expertWolfe-Jam/grok-faf-mcpSkill19todayMITA95Claude Code, Codex
alice-memorysamrusani/AliceMemorySkill7todayMITA28Claude Code, Codex
alice-project-memorysamrusani/AliceMemorySkill7todayMITA33Claude Code, Codex