Agent skill
context-health
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.
Install this agent skill to your Project
npx add-skill https://github.com/kenneth-liao/ai-launchpad-marketplace/tree/main/personal-assistant/skills/context-health
SKILL.md
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:
- Flag any dates in the past that haven't been cleaned up
- Flag events more than 30 days old
Read ~/.claude/.context/core/session.md:
- Flag if "Current Focus" references work from a different session
- Flag if last-modified date is more than 7 days ago
Read ~/.claude/.context/core/projects.md:
- Flag any "Active" projects that haven't been referenced in recent sessions
2. Bloat Check
For each file in ~/.claude/.context/core/:
- Count lines (warn if > 100 lines)
- Count empty
<guide>sections that could be filled with real data - Flag excessive placeholder text
wc -l ~/.claude/.context/core/*.md
3. Contradiction Check
Read ~/.claude/.context/core/preferences.md and ~/.claude/.context/core/rules.md:
- Look for contradictions between preferences and rules
- Look for duplicate or near-duplicate entries
- Flag rules that may no longer apply
4. Gap Check
For each file, check if key sections are still placeholder text:
identity.md-- Basic Info, Professional, Personal Lifepreferences.md-- Communication, Working Stylerelationships.md-- any entries at all?triggers.md-- any upcoming events?workflows.md-- any workflows defined?
5. Sync Check
Compare ~/.claude/rules/elle-core.md against source files:
- Is the timestamp recent?
- Do the rules in elle-core.md match rules.md?
- Do the projects in elle-core.md match projects.md?
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:
- Flag Active Proposals older than 30 days without status change
- Flag Friction Log entries with 2+ occurrences not yet promoted
- Report total pending proposals
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:
- Flag if "Last evolve run" is > 60 days ago or missing
- Flag if "Claude Code version at last audit" is "unknown" or differs from current
- Flag if "Platform docs last fetched" is > 60 days ago
- If System State section doesn't exist, flag as "never audited"
- Flag if "Model capabilities last assessed" is missing or > 90 days ago
- If "Model Capabilities" section doesn't exist in the reference, flag: "Model capabilities never assessed -- run
/evolveto check for obsolete skills"
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.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
test-skill
Run or generate test suites for any skill. Use when testing a skill before deployment, after making changes, before/after plugin upgrades, when validating skill behavior, or when the user says "test skill", "run skill tests", "generate tests for skill", or "check for regressions".
upgrade-plugin
Upgrade a plugin's skills, hooks, and patterns to align with latest Claude Code capabilities and best practices. Use when a plugin needs modernization, after Claude Code updates, or when the user says "upgrade plugin", "modernize plugin", or "update plugin to latest patterns".
skill-retro
Use when reviewing how skills performed during a session, when the user wants to analyze skill invocations and identify improvements, or when the user says "skill retro", "review skills", "how did skills do", "improve this skill", or "skill retrospective".
view-team-session
Generate a self-contained HTML viewer for any Claude Code session, including agent team sessions with full inter-agent DM timelines. Use whenever the user asks to "view a session", "visualize a conversation", "show me what happened in session X", "generate a session viewer", "replay a session", "show me what my agents did", "session replay", "team timeline", or references viewing/inspecting Claude Code JSONL logs. Also use when the user provides a session ID and wants to see the conversation.
analyze-team-session
Use when reviewing an agent team session export for quality, when asked to "analyze this team session", "review my agent team run", "what went wrong with this session", "how can I improve my agent team usage", or when provided a markdown team session transcript and asked for feedback on agent teams effectiveness.
youtube-data
Retrieve YouTube data using the YouTube Data API. Use when you need to search videos, get video or channel details, fetch transcripts, read comments, find trending or related content, or when the user mentions 'YouTube data', 'video stats', 'transcript', or 'channel info'.
Didn't find tool you were looking for?