# Wiki Mode > Lee o configura la metodología de archivo del vault (Generic, LYT, PARA, Zettelkasten) y sugiere dónde guardar contenido nuevo. No guarda contenido ni migra notas existentes. Fuente: https://skillsagentes.com/skills/agricidaniel/claude-obsidian/wiki-mode Markdown: https://skillsagentes.com/skills/agricidaniel/claude-obsidian/wiki-mode.md Repositorio: https://github.com/AgriciDaniel/claude-obsidian Autor: AgriciDaniel Licencia: MIT Actualizado: el mes pasado Coste de contexto: 93 tok instalada, 998 tok al activarse, 1.8k tok con todos los archivos del bundle Bundle: 7 archivos, 7 KB Permisos que pide: ninguno declarado ## Instalación Un skill son archivos markdown: los mismos archivos valen para cualquier agente y lo único que cambia es el directorio de destino, es decir la bandera `--agent`. Añade `-g` para instalarlo en todos los proyectos de la máquina. ```bash # Claude Code npx -y skills add AgriciDaniel/claude-obsidian --skill wiki-mode --agent claude-code # Cursor npx -y skills add AgriciDaniel/claude-obsidian --skill wiki-mode --agent cursor # Codex npx -y skills add AgriciDaniel/claude-obsidian --skill wiki-mode --agent codex # Gemini CLI npx -y skills add AgriciDaniel/claude-obsidian --skill wiki-mode --agent gemini # Windsurf npx -y skills add AgriciDaniel/claude-obsidian --skill wiki-mode --agent windsurf # Cline npx -y skills add AgriciDaniel/claude-obsidian --skill wiki-mode --agent cline ``` ## Qué hace - Sugiere dónde archivar contenido nuevo según la metodología del vault (Generic, LYT, PARA o Zettelkasten) - Lee `.vault-meta/mode.json`; si falta usa `generic`, y si está corrupto se detiene para repararlo en vez de sustituirlo en silencio - Cambia el modo del vault mediante una única operación de configuración con vista previa (dry-run) y hash de aprobación - No escribe páginas de conocimiento ni migra notas existentes al cambiar de modo ## Cuándo usarla - El usuario pregunta por el modo de su vault o quiere configurar la metodología de archivo - Se necesita una sugerencia de dónde archivar un concepto o fuente nuevos - Se pide cambiar el vault a PARA, LYT, Zettelkasten o Generic ## Cuándo no - Para guardar contenido nuevo o migrar notas existentes entre carpetas ## Qué la activa - "¿Qué modo de archivo usa mi vault?" - "Cambia mi vault a modo PARA" - "¿Dónde debería guardar esta nota sobre X?" - "Configura el modo Zettelkasten en mi vault" ## Antes de instalar - Necesita tener instalado claude-obsidian con los scripts `claude-obsidian.py` y `wiki-mode.py`, y se debe indicar la vault explícitamente. - Necesita en el PATH: python3 - Variables de entorno: APPROVAL_SHA256, CORE, GENERATED_AT, MODE, MODE_HELPER, OPERATION_ID, PRODUCT_ROOT, VAULT - reads environment config ## Archivos - SKILL.md — 4 KB - templates/lyt/atomic-template.md — 374 B - templates/lyt/moc-template.md — 736 B - templates/para/area-template.md — 516 B - templates/para/project-template.md — 458 B - templates/para/resource-template.md — 472 B - templates/zettel/atomic-template.md — 671 B ## SKILL.md Reproducido tal cual desde AgriciDaniel/claude-obsidian bajo MIT. Esta sección es el documento original y está en inglés. # 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: ```bash 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: ```bash 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. | Mode | Routing intent | |---|---| | `generic` | Type-based folders such as sources, entities, concepts, and sessions. | | `lyt` | Atomic notes under `wiki/notes/`, connected through MOCs. | | `para` | Projects, Areas, Resources, or Archives chosen by actionability. | | `zettelkasten` | Flat 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`: ```bash 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: ```bash 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](../wiki/references/operation-transactions.md). 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. ## Dónde encaja - Categoría: [Productividad](https://skillsagentes.com/categorias/productividad.md) — Planificación, toma de notas y automatización de flujos personales. - Creador: [AgriciDaniel](https://skillsagentes.com/creators/agricidaniel.md) — 46 skills en el directorio - [Todas las skills](https://skillsagentes.com/skills.md) - [Ranking de instalaciones](https://skillsagentes.com/ranking.md) ## Otras skills del mismo repositorio - [Wiki](https://skillsagentes.com/skills/agricidaniel/claude-obsidian/wiki.md): Inicializa, adopta y enruta el trabajo hacia un vault de Obsidian separado a través del core portátil `claude-obsidian`. Para configurar el vault o elegir el sub-skill correcto. - [Defuddle](https://skillsagentes.com/skills/agricidaniel/claude-obsidian/defuddle.md): Planifica y, con consentimiento explícito de red, usa un limpiador externo Defuddle opcional para extraer páginas HTTPS tipo artículo como Markdown. - [Obsidian Bases](https://skillsagentes.com/skills/agricidaniel/claude-obsidian/obsidian-bases.md): Explica, redacta y valida archivos Obsidian Bases `.base` con filtros, fórmulas, propiedades, resúmenes y vistas de tabla, tarjetas o lista. - [Obsidian Markdown](https://skillsagentes.com/skills/agricidaniel/claude-obsidian/obsidian-markdown.md): Explica, redacta o valida la sintaxis de Obsidian Flavored Markdown: propiedades, wikilinks, embeds, callouts, tags, comentarios, resaltados, referencias de bloque, matemáticas y Mermaid. - [Canvas](https://skillsagentes.com/skills/agricidaniel/claude-obsidian/canvas.md): Crea, inspecciona y actualiza tableros Obsidian JSON Canvas con nodos de texto, archivo, enlace, grupo y arista. Para estado del canvas, mapas visuales, zonas y diseños espaciales. --- Skills Agentes · [Índice de páginas en markdown](https://skillsagentes.com/sitemap.md) · [Inicio](https://skillsagentes.com/index.md)