/dev10x-teach:memory-maintenancefrom dev10x-teach
Audits project and global memory files for stale patterns, version-pinned paths, contradictory instructions, and anti-patterns that cause skill bypass or permission friction. Reports findings and offers to clean up.
Ships in dev10x-teach. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Memory files accumulate over time and can become stale, contradictory, or actively harmful. This skill audits memory files across all scopes (global, project, plugin) and identifies issues that cause agents to misbehave — particularly patterns that lead to skill bypass.
REQUIRED: Create tasks before ANY work. Execute at startup:
TaskCreate(subject="Discover memory files", activeForm="Discovering")TaskCreate(subject="Analyze for anti-patterns", activeForm="Analyzing")TaskCreate(subject="Present findings", activeForm="Presenting")TaskCreate(subject="Apply fixes", activeForm="Applying fixes")Scan all memory locations:
~/.claude/memory/*.md~/.config/Dev10x/**~/.claude/memory/MEMORY.mdCount files per scope and report.
For each memory file, check for these categories:
Search for hardcoded plugin cache paths with version numbers:
~/.claude/plugins/cache/Dev10x-Guru/dev10x-claude/0.XX.0/...
These break on plugin upgrades. Replace with:
${CLAUDE_PLUGIN_ROOT}/... (in skill contexts)Search for memory entries that instruct agents to call scripts directly instead of using Skill() or MCP tools:
Bash(, scripts/, .sh, .py with execution
context (not documentation references)feedback_use_skills_not_scripts.md) are not violationsSearch for memory entries that contradict each other:
Search for references to things that no longer exist:
Compare MEMORY.md index entries against actual files:
Display findings grouped by category and severity:
| Severity | Meaning |
|---|---|
| ERROR | Actively causing misbehavior |
| WARNING | Likely to cause issues |
| INFO | Maintenance opportunity |
REQUIRED: Call AskUserQuestion (do NOT use plain text).
Options:
For each approved fix:
What SKILL.md sets; muted values are Claude Code's defaults
7 skills in this plugin
/audit-filedev10x-teach:audit-fileFile skill-audit findings as a GitHub issue at the plugin repo that owns the offending skill. Invoked by skill-audit Phase 7 with the target repo confirmed at its destination gate. TRIGGER when: skill-audit Phase 7 completes and user opts to file upstream. DO NOT TRIGGER when: no audit findings exist, or user wants to review findings before filing.
/context-auditdev10x-teach:context-auditAudit context window utilization — CLAUDE.md files, rules, agent specs, references, and memories. Reports budget compliance, flags oversized files, and suggests pruning actions. TRIGGER when: user wants to optimize context usage, after adding many rules or memories, or when sessions feel sluggish from context bloat. DO NOT TRIGGER when: auditing memory content quality (use dev10x-teach:memory-maintenance instead).
Other plugins' skills for the same job
/skill-auditdev10x-teach:skill-auditAudit a session's skill usage, compliance, and extract lessons learned. Default (lightweight): analyzes visible context inline and presents a disposition gate — no separate terminal needed for most audits. Forensic (--full or escalation): dispatches parallel subagents for deep transcript analysis — run from a separate terminal. TRIGGER when: session is complete and user wants usage review, or a skill didn't behave as expected. DO NOT TRIGGER when: mid-session during active work, or user is asking about a specific skill's documentation.
npx claudepluginhub dev10x-guru/dev10x-claude --plugin dev10x-teach