mark393295827/knowledge-ops
Use when an Obsidian knowledge system needs classification, deduplication, retrieval, synchronization, debt queues, or governed Agent/Wiki promotion.
npx skills add https://github.com/Mark393295827/third-brain-v7-skills --skill knowledge-ops
<skill_contract>
<input>Vault root, operation, scope, canonical-store rules, permissions, destination, and execution budget.</input>
<output>Verified classification, retrieval, deduplication, synchronization, audit, or governed promotion changes with receipts.</output>
<done>Canonical Markdown remains authoritative, provenance and immutability are preserved, and representative checks pass.</done>
<non_goals>Using vectors as canonical storage, silent provenance merges, automatic semantic rewrites, or one-signal rule promotion.</non_goals>
Operate the wiki as durable disk and governance layer. Markdown pages hold understanding and provenance; indexes, memory, vectors, and dashboards are replaceable access paths.
Provide: vault root, operation (organize, deduplicate, retrieve, sync, audit, promote), scope, destination, permissions, and budget. Load references/storage-governance.md only when designing layers or promotion queues.
<intake>
Resolve configured paths and identify the canonical store, immutable sources, active execution truth, optional retrieval indexes, and governance queues. Record file counts, scope, and write authority before mutation.
</intake>
<unknowns_gate>
If canonical ownership, vault identity, or merge authority is ambiguous, return NEEDS_INPUT. Treat semantic similarity as a review signal, not proof that two notes or sources are equivalent.
</unknowns_gate>
<execute>
Automate deterministic counts and index refreshes only. Semantic rewrites, contradiction resolution, and rule promotion remain supervised.
</execute>
<evaluate>
Compare pre/post counts, inspect merge samples, replay retrieval queries, and verify no immutable source changed. A sync is partial if any canonical file is unindexed; retrieval quality is unproven without representative queries.
</evaluate>
<state_contract>
Persist {run_id, status, attempt, budget, evidence, unknowns, last_error, next_action} plus canonical paths, operation scope, file ledger, merge decisions, debt queues, index receipts, retrieval tests, and promotion candidates. Keep source and merge history append-only.
</state_contract>
NEEDS_INPUT: ownership, merge semantics, or vault identity is unclear.BLOCKED_PERMISSION: a required store or index is inaccessible; continue read-only where useful.VERIFY_FAILED: write, link, sync, or retrieval check fails; preserve canonical state and queue repair.NO_PROGRESS: repeated organization changes no objective metric; stop and report the governing bottleneck.BUDGET_STOP: persist coverage and remaining queue; make no whole-vault claim.Return status, result (organized/retrieved/synced items and decisions), evidence (counts, paths, receipts, queries), unknowns, and next_action with owner and check.
</skill_contract>
Take mark393295827/knowledge-ops from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.