一键导入
ijfw-memory-audit
Audit and clean project memory files. Trigger: 'memory audit', 'clean memory', 'memory health', /memory-audit
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Audit and clean project memory files. Trigger: 'memory audit', 'clean memory', 'memory health', /memory-audit
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Maintain canonical AGENTS.md (open spec). Trigger: 'agents.md', 'update AGENTS.md', or auto-fired by ijfw-team after agent generation.
Compute over read. Run sandboxed scripts to process data instead of dumping it into context. Trigger: 'compute', 'process this data', 'analyze logs', or PreToolUse nudge.
Agent efficiency layer -- smart output, routing, context discipline. Always active. Off: 'ijfw off' or 'normal mode'.
Generate a cross-platform multi-model audit (Trident) on a diff, brief, or artifact. Trigger: 'cross audit', 'Trident', 'second opinion', 'check with other models', 'cross-check this', 'get another perspective', /cross-audit
First-class design intelligence. Dispatches to the best available design skill (ui-ux-pro-max, frontend-design, superpowers), then layers IJFW constraints on top. Triggers: 'design', 'redesign', 'UI', 'UX', 'dashboard', 'page', 'component', 'make it look better', 'polish', 'pretty', 'professional', 'user experience', 'layout', 'visual', 'mobile-first', 'dark mode', 'accessibility', 'colors', 'typography', 'brand'.
Donahoe Loop audit gate before execution. Trigger: 'audit plan', 'check plan', 'review plan', 'plan audit', 'plan check', 'before we build', 'before execution', 'validate the plan', 'is this plan solid', 'plan review'. Owns pre-execution audit intent -- fires before any foreign plan-checker.
| name | ijfw-memory-audit |
| description | Audit and clean project memory files. Trigger: 'memory audit', 'clean memory', 'memory health', /memory-audit |
Call ijfw_memory_status to get counts and last-update timestamps for all tiers.
Scan .ijfw/memory/ for all .md files. For each, note:
Categorize entries:
ACTIVE -- referenced within 30 days
STALE -- not referenced in 30-90 days
ARCHIVE -- not referenced in 90+ days, or flagged as superseded
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.
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.
Ask before acting:
Archive <N> stale entries? (y/n -- files move to .ijfw/memory/archive/, not deleted)
On confirmation, move flagged files. Store audit result:
ijfw_memory_store: memory audit on <date> -- archived <N> entries