/ijfw-memory-audit
Audit and clean project memory files. Trigger: 'memory audit', 'clean memory', 'memory health', /memory-audit
$ npx -y skills add FerroxLabs/ijfw --skill ijfw-memory-audit --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/ijfw-memory-audit
Context preview
The summary Claude sees to decide when to auto-load this skill.
Audit and clean project memory files. Trigger: 'memory audit', 'clean memory', 'memory health', /memory-audit
SKILL.md
ijfw-memory-audit.SKILL.mdname: ijfw-memory-audit
description: "Audit and clean project memory files. Trigger: 'memory audit', 'clean memory', 'memory health', /memory-audit"
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
4. 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.
5. **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.
6. Ask before acting: > `Archive <N> stale entries? (y/n -- files move to .ijfw/memory/archive/, not deleted)`
6. On confirmation, move flagged files. Store audit result: > `ijfw_memory_store: memory audit on <date> -- archived <N> entries`
Read more
name: ijfw-memory-audit description: "Audit and clean project memory files. Trigger: 'memory audit', 'clean memory', 'memory health', /memory-audit"
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
4. 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.
5. **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.
6. Ask before acting: > `Archive <N> stale entries? (y/n -- files move to .ijfw/memory/archive/, not deleted)`
6. On confirmation, move flagged files. Store audit result: > `ijfw_memory_store: memory audit on <date> -- archived <N> entries`
IJFW — It Just F*cking Works. Ferrox Labs' local-first infrastructure for AI coding agents: shared memory, smart routing, multi-AI cross-audits, disciplined workflow.
Repo: FerroxLabs/ijfw
Other skills on ijfw.
- /ijfw-agents-md
Maintain canonical AGENTS.md (open spec). Trigger: 'agents.md', 'update AGENTS.md', or auto-fired by ijfw-team after agent generation.
Open skill - /ijfw-auto-memorize
Session-end auto-extraction of lessons, errors, fixes, and user feedback into structured memory. Fires at session end. Requires consent on first run.
Open skill - /ijfw-commit
Terse conventional commits. Trigger: commit, git commit, /ijfw-commit
Open skill - /ijfw-complete-milestone
Use when a milestone is shipping and you need to archive its artifacts, generate a summary, and seed the next milestone. Trigger: 'milestone complete', 'ship milestone', 'wrap milestone', 'complete milestone <id>', /ijfw-complete-milestone.
Open skill - /ijfw-compress
Compress memory/context files into terse form. Trigger: /compress, compress file
Open skill - /ijfw-compute
Use when the user says: 'compute', 'crunch this', 'analyze logs', 'aggregate the data', 'run a script', 'dedupe', 'count by', 'top N', or any data-shaping ask. Replaces dumping raw data into context with sandboxed script execution.
Open skill

