Ensure accessibility in UI components including semantic HTML, ARIA attributes, keyboard navigation, and WCAG 2.2 AA compliance.
日本語の概要は準備中です。原文の説明を表示しています。
Comprehensive health check across CC auto-memory and agent-studio memory systems — detects orphans, duplicates, staleness, and threshold violations
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Structured diagnostic sensor for both memory systems. Returns a health report with scores, findings, and recommendations. The skill is read-only by default — it measures and reports but does not modify memory. Use --auto-fix for safe cleanup of orphans and stale files only.
Skill({ skill: 'memory-audit' });
Command:
MEMORY_DIR=$(find ~/.claude/projects/ -path "*/memory/MEMORY.md" -printf "%h\n" 2>/dev/null | head -1)
echo "=== CC Auto-Memory ==="
wc -l < "$MEMORY_DIR/MEMORY.md" 2>/dev/null
ls -1 "$MEMORY_DIR/" 2>/dev/null | wc -l
grep -c "^type:" "$MEMORY_DIR/"*.md 2>/dev/null | grep -v MEMORY
Thresholds:
| Metric | OK | WARN | CRITICAL |
|---|---|---|---|
| MEMORY.md lines | <150 | 150-199 | >=200 (truncated!) |
| Total files | <20 | 20-30 | >30 |
| Feedback ratio | <70% | 70-85% | >85% (skewed) |
Check: Flag files present in directory but not referenced in MEMORY.md (orphaned).
Command:
echo "=== Agent-Studio Memory ==="
du -sh .claude/context/memory/
find .claude/context/memory/ -type f | wc -l
wc -l .claude/context/memory/learnings.md .claude/context/memory/decisions.md .claude/context/memory/issues.md 2>/dev/null
find .claude/context/memory/ -name "delegations.pid-*.json" | wc -l
find .claude/context/memory/ -name "*.bak" | wc -l
Thresholds:
| Metric | OK | WARN | CRITICAL |
|---|---|---|---|
| Directory size | <5MB | 5-10MB | >10MB |
| Total files | <120 | 120-200 | >200 |
| learnings.md lines | <300 | 300-500 | >500 (blocks spawning!) |
| decisions.md lines | <200 | 200-400 | >400 |
| issues.md lines | <300 | 300-500 | >500 |
| Delegation PID files | 0 | 1-10 | >10 |
| .bak files | 0 | 1-3 | >3 |
Verify: STM/MTM/LTM directories exist with content.
Command:
for f in access-stats.json codebase_map.json gotchas.json patterns.json open-findings.json; do
echo -n "$f: "
wc -c < ".claude/context/memory/$f" 2>/dev/null || echo "MISSING"
done
Checks:
access-stats.json: verify entries have distinct accessCount values (not all identical = bulk counter, useless)codebase_map.json: count entries vs 500-entry capgotchas.json: count entries, check for hash-based duplicatespatterns.json: count entries, check for hash-based duplicatesopen-findings.json: flag findings with status: "resolved" older than 30 days (stale)Compare content between CC auto-memory reference files and agent-studio JSON stores:
reference_technical_fixes.md and reference_context_management.mdgotchas.json and patterns.json entriesPolicy (Gemini consensus): CC auto-memory = thin index/pointers. Agent-studio = deep store. When duplicates found, recommend keeping detail in agent-studio, adding pointer in CC.
Command:
find .claude/context/memory/named/ -type f ! -name ".gitkeep" | wc -l
node -e "require('.claude/lib/memory/memory-manager.cjs').listMemories()"Command:
find .claude/context/memory/ -name "*.json" -mtime +30 -not -path "*/archive/*" -not -path "*/ltm/*"
find .claude/context/memory/metrics/ -name "*.json" -mtime +30
Flag entries older than 30 days for review. Do NOT auto-delete — report only.
Write structured report to .claude/context/reports/memory-audit-{YYYY-MM-DD}.md:
# Memory System Health Report — {date}
## Health Score: {0-100}/100
## Summary Table
| System | Metric | Current | Threshold | Status |
| ------ | ------ | ------- | --------- | ------ |
## Findings
### P0 (Critical)
### P1 (High)
### P2 (Low)
## Recommendations
1. ...
Health Score Calculation:
When invoked with --auto-fix, the skill will safely clean:
Will NOT auto-fix:
Before starting: Read .claude/context/memory/learnings.md for prior audit results.
After completing: Write audit summary to learnings.md. Record any new gotchas to gotchas.json via MemoryRecord.
Input validated against schemas/input.schema.json before execution.
Output contract defined in schemas/output.schema.json.
context-compressor — compress context when audit finds bloatmemory-search — semantic search across memory storesproactive-audit — broader framework health check that includes memoryまだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Ensure accessibility in UI components including semantic HTML, ARIA attributes, keyboard navigation, and WCAG 2.2 AA compliance.
日本語の概要は準備中です。原文の説明を表示しています。
Use when you want to improve response quality through meta-cognitive reasoning. Applies 15+ reasoning methods to reconsider and refine initial outputs.
日本語の概要は準備中です。原文の説明を表示しています。
N-round opposing-stance debates for trade-off analysis. Assigns pro/con roles to agents, runs structured debate rounds with quality scoring, and produces a moderator synthesis with confidence-rated recommendation. Generalizable to architecture, technology, security, and design decisions.
日本語の概要は準備中です。原文の説明を表示しています。
Force adversarial code review stance that eliminates confirmation bias — reviewer must find issues or re-analyze
日本語の概要は準備中です。原文の説明を表示しています。
Creates specialized AI agents on-demand when no existing agent matches a request. Use when the Router cannot find a suitable agent for a task. Enables self-evolution by generating persistent agents.
日本語の概要は準備中です。原文の説明を表示しています。
LLM-as-judge evaluation framework with 5-dimension rubric (accuracy, groundedness, coherence, completeness, helpfulness) for scoring AI-generated content quality with weighted composite scores and evidence citations
日本語の概要は準備中です。原文の説明を表示しています。