agentleFS
AgriciDanielAgriciDaniel/claude-obsidian/skills/wiki-mode/SKILL.md

wiki-mode

Skill16k starsChanged 52 days agoMITView on GitHub

Read or configure the vault filing methodology and suggest destinations for planned knowledge creation under Generic, LYT, PARA, or Zettelkasten. Use for wiki mode, methodology mode, what is my vault mode, set vault mode, switch to PARA, use LYT, Zettelkasten setup, change mode, configure mode, or methodology routing. This skill does not save content or migrate notes.

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Every ../wiki/references/ link in this file resolves the same way, relative to this skill's own directory under $PRODUCT_ROOT, never …

    line 24
  2. Distinctive:

    Always select the vault explicitly:

    line 30
  3. Distinctive:

    Use the templates as structural guidance: LYT atomic, LYT MOC, PARA area, PARA project, [PARA

    line 51
  4. Very specific:

    Read the current .vault-meta/mode.json, or start from the helper's default config when it is absent.

    line 80
  5. Very specific:

    Follow the operation transaction contract.

    line 103
  6. Very specific:

    Do not use scripts/wiki-mode.py's legacy direct-write set action or a setup script to bypass this workflow.

    line 104

≈ “Common” is an estimate: at least 1 in 5 of the 308,232 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

Route by vault methodology

This skill returns filing suggestions. It does not write knowledge pages or move existing notes. If .vault-meta/mode.json is absent, use generic. If the file exists but is invalid, fail closed and repair it through a reviewed configuration operation before suggesting routes; never silently substitute Generic for corrupt user configuration.

Resolve the installed product root from this skill's own location, not from the vault or current working directory:

PRODUCT_ROOT=/absolute/path/to/installed/claude-obsidian
CORE="$PRODUCT_ROOT/scripts/claude-obsidian.py"
MODE_HELPER="$PRODUCT_ROOT/scripts/wiki-mode.py"
test -f "$CORE" && test -f "$MODE_HELPER"

Every ../wiki/references/ link in this file resolves the same way, relative to this skill's own directory under $PRODUCT_ROOT, never relative to the selected vault's wiki/ directory.

Read and route safely

Always select the vault explicitly:

python3 "$MODE_HELPER" --vault "$VAULT" get
python3 "$MODE_HELPER" --vault "$VAULT" config
python3 "$MODE_HELPER" --vault "$VAULT" route concept "Concept name"
python3 "$MODE_HELPER" --vault "$VAULT" route source "Source title"

The helper validates the selected vault, confines paths, sanitizes names, and prints a suggestion only. A calling skill may override the suggestion when the user supplies a more specific project, area, MOC, or parent note, but it must still apply its eventual writes through one operation transaction.

ModeRouting intent
genericType-based folders such as sources, entities, concepts, and sessions.
lytAtomic notes under wiki/notes/, connected through MOCs.
paraProjects, Areas, Resources, or Archives chosen by actionability.
zettelkastenFlat atomic notes with time-sortable, collision-resistant identifiers and explicit links.

Use the templates as structural guidance: LYT atomic, LYT MOC, PARA area, PARA project, PARA resource, or Zettelkasten atomic. They use canonical type values from claude_obsidian/page_schema.py and a separate flat methodology_role property:

TemplateTypeMethodology role
LYT atomicconceptatomic
LYT MOCmetamoc
PARA areaconceptarea
PARA projectentityproject
PARA resource collectionconceptresource
Zettelkasten atomicconceptzettel

A resource template describes a topic collection. Use source instead when the new page represents a particular captured source. The methodology role does not add a router type: pass the canonical type and respect the chosen project, area, or MOC destination. Structural MOCs use an explicit destination; meta is not a routable new-note type. Existing user pages, custom type vocabularies, and saved Dataview queries remain unchanged. Any requested migration needs its own reviewed plan; switching mode never rewrites existing notes.

Change mode

A mode change is one configuration operation, dry-run first:

  1. Read the current .vault-meta/mode.json, or start from the helper's default config when it is absent.
  2. Validate the requested mode as exactly generic, lyt, para, or zettelkasten. Preserve the other mode-specific settings.
  3. Choose and retain a pinned UTC timestamp and operation ID for both commands.
  4. Preview the canonical configuration transaction; the command records the current target hash and limits the write to .vault-meta/mode.json:

    python3 "$CORE" mode set "$MODE" --vault "$VAULT" \
      --generated-at "$GENERATED_AT" --operation-id "$OPERATION_ID"
  5. Show the old mode, new mode, exact changed path, and complete preview. Copy its approved_plan_sha256 only after review.
  6. Apply by regenerating that exact vault-bound plan:

    python3 "$CORE" mode set "$MODE" --vault "$VAULT" \
      --generated-at "$GENERATED_AT" --operation-id "$OPERATION_ID" \
      --approved-plan-sha256 "$APPROVAL_SHA256" --apply

Follow the operation transaction contract. Do not use scripts/wiki-mode.py's legacy direct-write set action or a setup script to bypass this workflow.

Changing mode affects routing for future operations only. Never bulk-create folders, move notes, rewrite wikilinks, or migrate existing pages as a side effect. If migration is later requested, plan and review it as a distinct operation with its own hashes and transaction.

Checkpoint

Observe the user's current structure, think about how they retrieve and act on notes, verify a few proposed routes before changing configuration, and grow by revisiting the mode only when real filing friction appears.

Download now (ZIP)

Trending

Less talk lately.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 5 mentionsMay 2026: 5 mentionsJun 2026: 2 mentionsJul 2026: 5 mentionsAug 2026: 24 mentionsSep 2026: 17 mentionsOct 2026: 10 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the AgriciDaniel/claude-obsidian repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about AgriciDaniel/claude-obsidian

The biggest 5 of 68 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 68

Talked about on GitHub, YouTube and Bluesky (68 times).

On GitHub · 37

32 more on GitHub

On YouTube · 25

20 more on YouTube

On Bluesky · 6

1 more on Bluesky

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.