ijfw-memory-audit

ijfw-memory-audit is a skill for Claude Code from FerroxLabs/ijfw. It costs 31 tokens per session (427 once invoked), scanned A, original, MIT.

A report tool for reviewing saved project-memory files and grouping them by recent use, age, and possible need for archiving. It does not delete the files.

In plain words
What is it for?
Use it to inspect memory size and dates, find stale or superseded entries, and decide which notes should move to an archive.
Why use it?
Old or unused notes can make project memory harder to use and can crowd out information that still affects the agent's decisions.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ijfw plugin — 34 skills, 22 commands, 37 agents, 6 hooks, 1 MCP server shipped together

Good fit Use it to inspect memory size and dates, find stale or superseded entries, and decide which notes should move to an archive.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ferroxlabs/ijfw/ijfw-memory-audit
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 FerroxLabs/ijfw --skill ijfw-memory-audit
Clone the repo
git clone --depth 1 https://github.com/FerroxLabs/ijfw

Made for: Claude Code.

Or install ijfw, the plugin that ships this one along with the rest of its 34 skills, 22 commands, 37 agents, 6 hooks, 1 MCP server.

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 ijfw-memory-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/ferroxlabs/ijfw/ijfw-memory-audit.svg)](https://agentmods.dev/skills/ferroxlabs/ijfw/ijfw-memory-audit)
Your own site
<a href="https://agentmods.dev/skills/ferroxlabs/ijfw/ijfw-memory-audit"><img src="https://agentmods.dev/badge/skills/ferroxlabs/ijfw/ijfw-memory-audit.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 427 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00031 $0.00427
Opus 5 $0.00015 $0.00214
Sonnet 5 $0.00006 $0.00085
Haiku 4.5 $0.00003 $0.00043

Measured 2d ago against content hash 66162f883b5b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

ijfw-memory-audit 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 2d 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.

claude/skills/ijfw-memory-audit/SKILL.md · 46 lines

What it actually says

Execution

  1. Call ijfw_metrics to get counts and last-update timestamps for all tiers.

  2. Scan .ijfw/memory/ for all .md files. For each, note:

    • File name, size (lines), last modified date.
    • Days since last referenced (use file mtime as proxy).
  3. Categorize entries:

ACTIVE  -- referenced within 30 days
STALE   -- not referenced in 30-90 days
ARCHIVE -- not referenced in 90+ days, or flagged as superseded
  1. Report:
MEMORY HEALTH REPORT
  Total entries: <N>  |  Total size: ~<X> lines
  Active: <N>  |  Stale: <N>  |  Archive candidates: <N>

STALE ENTRIES (>30 days unreferenced)
  - <filename>: <one-line summary>  [last seen: <date>]

ARCHIVE CANDIDATES (>90 days or superseded)
  - <filename>: <one-line summary>  [last seen: <date>]

RECOMMENDATION
  Archive <N> entries to .ijfw/memory/archive/. No data is deleted.
  1. Pruning question: for each entry flagged STALE or ARCHIVE, ask "Would removing this rule cause the agent to make a mistake?" If no, archive. If yes, keep and tighten. Memory that doesn't change behavior is bloat that crowds out memory that does.

  2. Ask before acting:

    Archive <N> stale entries? (y/n -- files move to .ijfw/memory/archive/, not deleted)

  3. On confirmation, move flagged files. Store audit result:

    ijfw_memory_store: memory audit on <date> -- archived <N> entries

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. 2d ago First seen · 46 lines · 31 tokens per session scan A 66162f883b5b

Subscribe to this mod's changes

ijfw-memory-audit is a skill published in the GitHub repository FerroxLabs/ijfw (210 stars, last pushed today), licensed MIT. It adds 31 tokens to every session and 427 once invoked, about $0.0002 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-09-05.

Related

Other skills, from other repositories

repo-context-ledger

Maintain durable, evidence-based repository context whenever an agent initializes a repository, changes behavior, checkpoints or resumes work, switches AI tools or windows, collaborates through Git, prepares a pull request, or completes a coding task. Use the deterministic runtime to route bounded context, isolate…

gviiisen/repo-context-ledger · 103 tokens

memory

A session-memory tool with three layers: agent notes, requirement memories, and overall project memory. The description does not specify how these memories are stored or managed.

devcodex-labs/devcodex · 34 tokens

capture-observation

Append a single observation, question, hypothesis, or concern to TASKSTATE.md as task memory without disrupting in-progress work or requiring a full state sync. Lean append-only; never restructures other artifacts. Use when something surfaces mid-work that should be remembered for later (during planning…

Mozurok/fhorja.dev · 171 tokens

compact-task-memory

Produce a lossy compaction summary of TASKSTATE.md when task memory has grown beyond a useful working size, preserving canonical decisions and recommended next step while dropping stale facts. Distinct from sync-task-state (incremental, append-only, never lossy) and state-reconcile (drift repair, no shrinking). Use…

Mozurok/fhorja.dev · 175 tokens

summary

A skill that writes a summary of the current conversation to a daily memory file before work ends.

devcodex-labs/devcodex · 39 tokens

harvest-session-learnings

Scan the current working session and the active task's artifacts for reusable, generalizable lessons (what was tried, what failed and why, what surprised us, what the next task should do differently) and propose anchored entries to append to the task's LEARNINGS.md, the produce-side counterpart to the ADR-0017 consume…

Mozurok/fhorja.dev · 198 tokens