Context health

From kenneth-liao/ai-launchpad-marketplace · View interactive version

Context health is an AI agent skill from the GitHub repository kenneth-liao/ai-launchpad-marketplace. Audit your Elle context system for staleness, contradictions, bloat, and missing data. Use when context feels stale, after major life changes, or periodically for maintenance. Also use when you notice Elle's responses feel generic or out of date.

How to use this skill

Skill file

Context Health Audit

Audit the Elle context system at ~/.claude/.context/core/ for data quality issues.

Audit Checklist

Run each check in order. Report findings as a summary table at the end.

1. Staleness Check

Read ~/.claude/.context/core/triggers.md:

Read ~/.claude/.context/core/session.md:

Read ~/.claude/.context/core/projects.md:

2. Bloat Check

For each file in ~/.claude/.context/core/:

wc -l ~/.claude/.context/core/*.md

3. Contradiction Check

Read ~/.claude/.context/core/preferences.md and ~/.claude/.context/core/rules.md:

4. Gap Check

For each file, check if key sections are still placeholder text:

5. Sync Check

Compare ~/.claude/rules/elle-core.md against source files:

head -5 ~/.claude/rules/elle-core.md
grep "Last synced" ~/.claude/rules/elle-core.md

If out of sync, recommend running /sync-context.

6. Improvements Check

Read ~/.claude/.context/core/improvements.md:

7. System Freshness Check

Locate the evolve skill's platform capabilities reference:

EVOLVE_REF=""
# Source mode (marketplace repo)
if [ -f "<cwd>/personal-assistant/skills/evolve/references/platform-capabilities.md" ]; then
  EVOLVE_REF="<cwd>/personal-assistant/skills/evolve/references/platform-capabilities.md"
else
  # Deployed mode (plugin cache)
  EVOLVE_REF=$(find ~/.claude/plugins/cache -path "*/personal-assistant/*/skills/evolve/references/platform-capabilities.md" 2>/dev/null | sort -V | tail -1)
fi

If found, read the ## System State section and check:

If reference file not found, skip with note: "Evolve reference files not found -- cannot check system freshness"

Recommend running /evolve if any flags are raised.

Report Format

Present findings as:

| Check | Status | Details |

|-------|--------|---------|

| Staleness | OK / Warning | [specific issues] |

| Bloat | OK / Warning | [file: line count] |

| Contradictions | OK / Warning | [specific conflicts] |

| Gaps | OK / Warning | [empty sections] |

| Sync | OK / Warning | [sync status] |

| Improvements | OK / Warning | [stale proposals] |

| System Freshness | OK / Warning | [evolve run recency, version drift] |

Recommended actions: List specific fixes the user can take, prioritized by impact.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.