Skip to content
Back to skills

Ijfw Memory Audit

ASecurity

Audit and clean project memory files. Trigger: 'memory audit', 'clean memory', 'memory health', /memory-audit

  • 39 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 1, 2026
ai-agentsgo

Security analysis

A100/100

Scanned September 1, 2026

npx -y skills add FerroxLabs/wayland-core --skill ijfw-memory-audit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ijfw Memory Audit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ijfw Memory Audit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ferroxlabs-ijfw-memory-audit/badge)](https://www.skillsdirectory.com/skills/ferroxlabs-ijfw-memory-audit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ijfw-memory-audit
description: "Audit and clean project memory files. Trigger: 'memory audit', 'clean memory', 'memory health', /memory-audit"
---

## Execution

1. Call `ijfw_memory_status` 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`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…