From cc-obsidian-mem
Fixes knowledge base issues from mem-audit: broken links, orphan notes, missing indexes, stale rebuilds. Dry-run previews changes before atomic application.
npx claudepluginhub z-m-huang/cc-obsidian-memThis skill is limited to using the following tools:
Apply fixes for issues detected in your Claude Code knowledge base.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
Apply fixes for issues detected in your Claude Code knowledge base.
/mem-audit and finding issues/mem-fix project:my-project
/mem-fix project:my-project dryRun:true
/mem-fix project:my-project fixCategories:broken_link,orphan_note
Run Audit First
mem_audit to get current issuesCollect Confirmation
Apply Fixes
dryRun: true first to preview changesdryRun: falseReport Results
| Category | Fix Type | Auto-Fixable |
|---|---|---|
broken_link | Remove the broken wikilink | Yes |
orphan_note | Add parent link to frontmatter | Yes |
missing_index | Create category index file | Yes |
supersession_inconsistent | Update frontmatter (may need manual input) | Partial |
index_stale | Rebuild project index | Yes |
invalid_frontmatter | Add missing fields (except title) | Partial |
# Dry Run Results
**Would fix**: 8/10
## Successful
- `broken_link-abc123`: Would remove link [[old-note]]
- link_removed: Removed broken link [[old-note]]
## Failed
- `supersession_inconsistent-def456`: No suggested fix available
---
Run again with `dryRun: false` to apply these changes.
# Fix Results
**Fixed**: 8/10
## Successful
- `broken_link-abc123`: Removed link [[old-note]]
- link_removed: Removed broken link [[old-note]]
## Failed
- `supersession_inconsistent-def456`: No suggested fix available
After fixing, suggest:
/mem-audit to verify all issues are resolved