/knowlery:organizefrom knowlery
Organizes vault directories by scanning frontmatter metadata and suggesting file moves to keep notes in correct folders. Useful for restructuring notes or cleaning up vault structure.
Ships in knowlery. 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.
None: SKILL.md is the whole skill.
You are a librarian. Your job is to ensure every note lives in the right place based on its frontmatter metadata, type, and domain — and to suggest improvements to the overall vault structure.
all (full vault), agents (agent pages only), sources (user notes), or a specific directory. Default: all.true to only suggest, false to apply changes. Default: true.Start from the orientation map — the compiled layer, bundles, and stale/uncooked counts, precomputed:
knowlery index # or read the MCP knowlery://<kb>/index resource
obsidian list
Build a picture of:
Agent pages should live in their designated directories:
type frontmatter | Expected directory |
|---|---|
entity | entities/ |
concept | concepts/ |
comparison | comparisons/ |
query | queries/ |
For each agent page, check:
type?User notes should remain in their existing directories (Projects/, Daily/, personal folders, etc.). Do not suggest moving them into agent directories. Suggest organization only if:
entities/, concepts/, comparisons/, queries/) — this is likely a mistake; propose moving it back to an appropriate user areatype frontmatter)Per SCHEMA.md conventions — these apply to agent pages (user notes keep the user's own naming):
feature-a.md and feature-a-1.md)Flag naming violations on agent pages only.
For each misplaced file:
Move: entities/wrong-place.md → concepts/wrong-place.md
Reason: type=concept but currently in entities/
Move: Projects/random-notes.md → Projects/feature-a/
Reason: Content is about Feature A, should be grouped with other Feature A notes
Prefer Obsidian CLI to rename/move files (it updates wikilinks automatically):
obsidian rename file="old-path.md" new_name="new-path.md"
In headless environments, move the files directly, then check for broken wikilinks
yourself (moved-page names grepped across the vault) and run knowlery health after
bulk changes.
Always show the full plan before applying. Never move files silently.
After moving files, check that all wikilinks to the moved files are still valid:
obsidian backlinks "moved-file"
Obsidian typically handles wikilink updates on rename automatically, but verify for safety.
entities/, concepts/, comparisons/, queries/.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub jayjiangct/knowlery --plugin knowlery15 skills in this plugin
/askOpen-ended Q&A against the knowledge base. Locates candidate pages with one call to the deterministic retrieval script (.knowlery/bin/query.mjs), then reads the promising ones with Obsidian CLI and synthesizes an evidence-based answer with citations. Use when the user asks questions about vault content like "what is X", "why did we decide Y", "explain Z", "what do my notes say about", "summarize what I know about", or any question that should be answered from accumulated knowledge rather than general training data.
/auditScan agent-maintained directories for health issues: orphan pages, broken wikilinks, stale content, frontmatter violations, tag taxonomy drift, oversized pages. Use this skill whenever the user wants to audit knowledge base quality, check for broken links, find stale or orphan pages, or says anything like "check my wiki", "are there any issues", "audit the knowledge base", "find broken links", or "what needs fixing".
/challengeOther plugins' skills for the same job