Borrowing it
Nothing to install: this file belongs to charliehzm/medharness. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/charliehzm/medharness/main/.claude/skills/memory-curate/SKILL.mdgit clone --depth 1 https://github.com/charliehzm/medharnessWrote 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/charliehzm/medharness/memory-curate)<a href="https://agentmods.dev/skills/charliehzm/medharness/memory-curate"><img src="https://agentmods.dev/badge/skills/charliehzm/medharness/memory-curate/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.
<a href="https://agentmods.dev/skills/charliehzm/medharness/memory-curate"><img src="https://agentmods.dev/badge/skills/charliehzm/medharness/memory-curate.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00207 | $0.01974 |
| Opus 5 | $0.00103 | $0.00987 |
| Sonnet 5 | $0.00041 | $0.00395 |
| Haiku 4.5 | $0.00021 | $0.00197 |
Grade A, and why
memory-curate 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 11d 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 — 173 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Memory Curate
The least flashy and most consequential skill in the system. Without it, the project's memory layer slowly accumulates stale guidance that misleads every future AI Coding session.
Core mental model
Memory has two layers:
- Facts — observations grounded in code / docs / decisions at a specific time
- Inferences — derived claims about how things work / what to do
Inferences depend on facts. If a fact changes and inferences don't update, the AI starts giving advice based on a world that no longer exists.
Fact (2026-01): "we use PostgreSQL 13, pgvector ext disabled"
Infer (2026-01): "for vector search, use a separate Milvus instance"
↓
Fact (2026-04): upgraded to PG 16, pgvector enabled ← changed
Infer (2026-01): "use a separate Milvus instance" ← now stale
↓
Without curation: AI keeps suggesting Milvus, even though pgvector is now available
With curation: inference is invalidated → re-derived → suggests pgvector
Your job is to detect and repair these mismatches.
What this skill produces
- Refreshed
.memory/MEMORY.md(the index) - Updated individual memory files (with bumped
last_verifiedwhere applicable) .memory/curation/weekly_<YYYY-MM-DD>.md— the curation report
When NOT to use this skill
Skip for:
- Writing new factual content (that's the producing skill's job —
prd-author,openspec-apply-change, etc.) - Audit/compliance freezing (use
audit-snapshot) - Project setup (no memory yet to curate)
Active context bundle
Always load first
- This
SKILL.md .memory/MEMORY.md— the index itselfreference/staleness-detection.md— rules for marking entries stalereference/merge-protocol.md— how to merge duplicates without losing nuance
Load on demand
reference/inference-rederivation.md— when a fact change invalidates an inferencereference/git-evidence-protocol.md— when using git log as staleness signal- All individual
.memory/*.mdfiles referenced from MEMORY.md (lazy load per topic)
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 11d ago First seen · 173 lines · 207 tokens per session scan A 36758b49b812
memory-curate is a skill published in the GitHub repository charliehzm/medharness (86 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 207 tokens to every session and 1,974 once invoked, about $0.0010 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
hipaa-review
Performs a HIPAA Security Rule compliance review against all Administrative, Physical, and Technical Safeguards defined in 45 CFR Part 164, Subpart C. Auto-invoked when discussing healthcare data security, ePHI protection, HIPAA audit readiness, or business associate compliance. Evaluates required and addressable…
HIPAA Compliance Testing
Testing HIPAA compliance for healthcare applications including PHI handling, audit logging, access controls, and data encryption verification.
Healthcare Compliance
HIPAA compliance, healthcare regulations, privacy and security standards for medical organizations and providers.
chronicle-skysight
Use when recent Linux desktop activity memory would help answer a question or when the user asks to inspect or control Chronicle or Skysight.
context-engineering
A project documentation framework that records a project's goals, requirements, roadmap, and current state in separate files. It also keeps those documents within set size limits for an AI coding agent.
error-experience-library
An error knowledge base that stores recurring error patterns, their causes, and the fixes that worked. It can search past entries and track whether each suggested fix succeeded.