From emdx
Run quality checks on the emdx knowledge base — find stale docs, redundancies, contradictions, knowledge gaps, and code drift. Produces a prioritized action plan with specific fix commands.
How this skill is triggered — by the user, by Claude, or both
Slash command
/emdx:reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Audit the emdx knowledge base for quality issues and produce an actionable improvement plan.
Audit the emdx knowledge base for quality issues and produce an actionable improvement plan.
If the user provided a focus area, scope the review accordingly: $ARGUMENTS
Execute all maintenance diagnostics. Run these commands and capture their output:
emdx maintain freshness --stale
emdx maintain compact --dry-run
emdx maintain contradictions
emdx maintain drift
emdx maintain code-drift
emdx maintain gaps
emdx stale --tier critical
Check recent documents for quality issues (unclear titles, missing tags, orphaned docs):
emdx find --recent 20
For any documents that look problematic, inspect them:
emdx view <id>
Look for:
active/done status tags)Get an overview of the knowledge base health:
emdx status --vitals
Produce a structured report with these sections:
## KB Quality Review
### Critical Issues
Items that need immediate attention (contradictions, severely stale critical docs).
List each with the specific fix command.
### Stale Documents
Docs that haven't been reviewed in a long time and may be outdated.
For each: ID, title, last reviewed date, and recommended action:
- `emdx touch <id>` — if still accurate, mark as reviewed
- `emdx edit <id>` — if needs updates
- `emdx delete <id>` — if obsolete
- `emdx tag add <id> done` — if completed work
### Redundancies
Similar or duplicate documents that could be merged.
For each pair: IDs, titles, similarity score, and the merge command:
- `emdx maintain compact --merge <id1> <id2>`
### Contradictions
Conflicting claims found across documents.
For each: the two documents, the conflicting statements, and which is likely correct.
### Stale Work Items
Tasks or work-tracking docs that have drifted (no updates in 30+ days).
For each: ID, title, age, and recommended action:
- `emdx task done <id>` — if actually complete
- `emdx task active <id>` — if resuming work
- `emdx task delete <id>` — if abandoned
### Code Drift
Code references in documents that no longer match the codebase.
For each: doc ID, the stale reference, and what changed.
### Knowledge Gaps
Topics or areas with thin coverage.
For each: the gap area and a suggested task:
- `emdx task add "Document <topic>" --cat DOCS`
### Recent Document Quality
Issues found in the 20 most recent documents.
For each: ID, issue description, and fix command.
### Recommendations
Top 5 prioritized actions to improve KB quality, ordered by impact.
Each recommendation should be a specific command or small set of commands.
After presenting the report, ask the user which fixes to apply. Group them by risk level:
| Risk | Actions | Examples |
|---|---|---|
| Safe | Marking docs as reviewed, adding tags | emdx touch <id>, emdx tag add <id> done |
| Moderate | Merging duplicates, creating tasks | emdx maintain compact --merge, emdx task add |
| Destructive | Deleting documents | emdx delete <id> |
Apply only the fixes the user approves. For destructive actions, confirm each one individually.
npx claudepluginhub arockwell/emdx --plugin emdxAudits and interactively cleans up Claude Code knowledge base: detects stale references, duplicates, orphaned files, frontmatter issues, and merge opportunities.
Runs knowledge base health checks with sp doctor, auto-fixes tags, broken links, missing metadata; suggests fixes for duplicates/stale; syncs index, git commits, reports summary.
Runs 14 health checks on an Obsidian knowledge base: broken wikilinks, orphan pages, stale articles, and more. Reports issues by severity.