New to Claude Skills? Learn how to install them →

agricidaniel on GitHub

Wiki Mode

Free

Organize your knowledge vault with structured routing.

Get this skill

Free · Opens the source repo

What Wiki Mode does

Wiki Mode is a skill designed to enhance the organization of your knowledge vault by providing structured routing suggestions based on various methodologies such as Generic, LYT, PARA, and Zettelkasten. This skill does not create or migrate notes but focuses on guiding users in how to file their knowledge effectively. By reading the current vault configuration, it suggests appropriate destinations for new knowledge creation, ensuring that users can maintain a well-organized system.

The skill operates by validating the selected vault and confining paths to ensure that suggestions are accurate and relevant. It supports various modes that cater to different organizational styles. For instance, the lyt mode emphasizes atomic notes connected through Maps of Content (MOCs), while the para mode focuses on actionable areas, projects, resources, and archives. This flexibility allows users to adapt their knowledge management approach based on their workflow preferences.

Users can change the vault mode with a carefully controlled process that ensures the integrity of their existing configurations. The skill requires a review of the current settings and a preview of any changes before applying them, which helps prevent accidental misconfigurations. This approach fosters a sense of safety and control over the knowledge organization process, making it suitable for users who prioritize meticulousness in their workflows.

Wiki Mode is particularly beneficial for individuals who are engaged in knowledge work, such as researchers, writers, and developers, who need to manage a large volume of notes and ideas. By leveraging this skill, users can streamline their filing processes and enhance their productivity in knowledge creation and retrieval.

When to use it

Use Wiki Mode when you need to organize your knowledge vault according to specific methodologies without creating or migrating notes.

When not to use it

This skill is not suitable for users looking to automate note creation or migration, as it solely focuses on routing suggestions.

What you can build with it

Organizing Research Notes

Use Wiki Mode to structure your research notes according to the Zettelkasten method, ensuring easy retrieval and connection of ideas.

Setting Up a Project Vault

When starting a new project, use Wiki Mode to configure your vault to follow the PARA methodology, helping you categorize tasks and resources effectively.

Adapting to a New Knowledge Management Style

If you're transitioning to a new methodology like LYT, Wiki Mode can assist in reconfiguring your vault to fit this new structure.

How to install Wiki Mode

View source

1. Install with the skills CLI

npx skills add agricidaniel/claude-obsidian/wiki-mode --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by agricidaniel

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"

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 under templates/ as structural guidance, not authority to overwrite user conventions.

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.

Frequently asked questions about Wiki Mode

Similar skills