agentleFS
c-ibarrac-ibarra/ObsidianKnowledgeCurator/.agents/skills/okc-doctor/SKILL.md

okc-doctor

Skill0 starsChanged 45 days agoMITView on GitHub

Comprehensive diagnostics, integrity audit, and full synchronization suite for the Obsidian vault (/okc-doctor). Audits SQLite index, category Master Plans, broken wikilinks, contradictions, Unicode/ZWSP hygiene, orphaned assets in assets/images/, protected zones, and rebuilds Graphify knowledge graph and KNOWLEDGE.md index. Supports --fix to auto-repair issues.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Protected Zones Audit: Read-only verification of protected engineering zones.

    line 33
  2. Very specific:

    Graphify Knowledge Graph: Update of graph.json, graph_cache.json, and KNOWLEDGE.md.

    line 34

≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

OKC Doctor (/okc-doctor) — Full Diagnostics & Vault Synchronization

Runs a comprehensive health check, integrity audit, and full synchronization across the entire Obsidian vault.

Execution

To run a diagnostic audit (read-only mode):

uv run python scripts/okc_doctor.py

To run diagnostics with automatic sanitization (clean ZWSP artifacts and fix issues):

uv run python scripts/okc_doctor.py --fix

To archive unreferenced orphaned images in assets/images/ to assets/images/_archive/:

uv run python scripts/okc_doctor.py --clean-assets

Checks Executed

  1. SQLite Database Index: Differential synchronization of all vault files.
  2. Category Master Plans: Dynamic regeneration of all navigation maps across vault categories.
  3. Vault Integrity Linter: Broken wikilinks, orphaned notes, and explicit contradictions ([!contradiction]).
  4. Unicode / ZWSP Hygiene: Detection and cleaning of invisible zero-width spaces.
  5. Visual Assets Audit: Inspection of unreferenced images in assets/images/.
  6. Protected Zones Audit: Read-only verification of protected engineering zones.
  7. Graphify Knowledge Graph: Update of graph.json, graph_cache.json, and KNOWLEDGE.md.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.