Skip to main content

status

Implement — Memory health dashboard showing line counts, topic files, capacity, stale entries, and recommendations.

الانتقال إلى التثبيت

معلومات المصدر

المستودع
thiagofernandes1987-create/APEX
آخر نشاط في المصدر
١٨ أبريل ٢٠٢٦ في ٠٩:٣٥
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٢
التفرعات
٠

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.

عرض SKILL.md

SKILL.md
تعليمات المصدر · معاينة للقراءة فقط
name
status
description
Implement — Memory health dashboard showing line counts, topic files, capacity, stale entries, and recommendations.
command
/si:status
executor
LLM_BEHAVIOR
skill_id
engineering.cs_engineering_team.self_improving_agent.status
status
ADOPTED
security
{"level":"standard","pii":false,"approval_required":false}
anchors
["engineering","visualization"]
tier
2
input_schema
[{"name":"code_or_task","type":"string","description":"Code snippet, script, or task description to process","required":true},{"name":"context","type":"string","description":"Additional context or background information","required":false}]
output_schema
[{"name":"result","type":"string","description":"Primary output from status"}]
# /si:status — Memory Health Dashboard Quick overview of your project's memory state across all memory systems. ## Usage ``` /si:status # Full dashboard /si:status --brief # One-line summary ``` ## What It Reports ### Step 1: Locate all memory files ```bash # Auto-memory directory MEMORY_DIR="$HOME/.claude/projects/$(pwd | sed 's|/|%2F|g; s|%2F|/|; s|^/||')/memory" # Count lines in MEMORY.md wc -l "$MEMORY_DIR/MEMORY.md" 2>/dev/null || echo "0" # List topic files ls "$MEMORY_DIR/"*.md 2>/dev/null | grep -v MEMORY.md # CLAUDE.md wc -l ./CLAUDE.md 2>/dev/null || echo "0" wc -l ~/.claude/CLAUDE.md 2>/dev/null || echo "0" # Rules directory ls .claude/rules/*.md 2>/dev/null | wc -l ``` ### Step 2: Analyze capacity | Metric | Healthy | Warning | Critical | |--------|---------|---------|----------| | MEMORY.md lines | < 120 | 120-180 | > 180 | | CLAUDE.md lines | < 150 | 150-200 | > 200 | | Topic files | 0-3 | 4-6 | > 6 | | Stale entries | 0 | 1-3 | > 3 | ### Step 3: Quick stale check For each MEMORY.md entry that references a file path: ```bash # Verify referenced files still exist grep -oE '[a-zA-Z0-9_/.-]+\.(ts|js|py|md|json|yaml|yml)' "$MEMORY_DIR/MEMORY.md" | while read f; do [ ! -f "$f" ] && echo "STALE: $f" done ``` ### Step 4: Output ``` 📊 Memory Status Auto-Memory (MEMORY.md): Lines: {{n}}/200 ({{bar}}) {{emoji}} Topic files: {{count}} ({{names}}) Last updated: {{date}} Project Rules: CLAUDE.md: {{n}} lines Rules: {{count}} files in .claude/rules/ User global: {{n}} lines (~/.claude/CLAUDE.md) Health: Capacity: {{healthy/warning/critical}} Stale refs: {{count}} (files no longer exist) Duplicates: {{count}} (entries repeated across files) {{if recommendations}} 💡 Recommendations: - {{recommendation}} {{endif}} ``` ### Brief mode ``` /si:status --brief ``` Output: `📊 Memory: {{n}}/200 lines | {{count}} rules | {{status_emoji}} {{status_word}}` ## Interpretation - **Green (< 60%)**: Plenty of room. Auto-memory is working well. - **Yellow (60-90%)**: Getting full. Consider running `/si:review` to promote or clean up. - **Red (> 90%)**: Near capacity. Auto-memory may start dropping older entries. Run `/si:review` now. ## Tips - Run `/si:status --brief` as a quick check anytime - If capacity is yellow+, run `/si:review` to identify promotion candidates - Stale entries waste space — delete references to files that no longer exist - Topic files are fine — Claude creates them to keep MEMORY.md under 200 lines --- ## Why This Skill Exists Implement — Memory health dashboard showing line counts, topic files, capacity, stale entries, and recommendations. <!-- SR_40: auto-generated from frontmatter `purpose`/`description` (OPP-Phase3). Expand with domain-specific rationale. --> ## When to Use Use this skill when the task requires status capabilities. <!-- SR_40: auto-generated from frontmatter `when`/`description` (OPP-Phase3). --> ## What If Fails If this skill fails to produce the expected output: (1) verify input completeness, (2) retry with more specific context, (3) fall back to the parent workflow without this skill. <!-- SR_40: auto-generated from frontmatter `what_if_fails` (OPP-Phase3). -->
عرض على GitHub