update-index

Inject wikilinks for wiki notes into Obsidian Map of Content index files.

Updated May 5, 2026
One-click install
npx skills add https://github.com/ethan-rio/skills --skill update-index-ethan-rio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-index
Source: https://github.com/ethan-rio/skills/tree/main/skills/personal_agent/update-index
Command: npx skills add https://github.com/ethan-rio/skills --skill update-index-ethan-rio

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

When you create or update a wiki note in your Obsidian vault, you have to manually add a link to the relevant topic index (Map of Content) notes to keep your navigation structure up to date. Forgetting to do this leaves notes orphaned and hard to find, and manually updating multiple indexes is tedious and error-prone.

Core Features & Use Cases

  • Automatic index matching: Detects relevant indexes from your wiki note's tags and cross-links to other wiki notes, so you don't have to manually figure out which indexes to update.
  • Auto-creation of missing indexes: If no index exists for a tag on your wiki note, it creates a properly formatted new index file automatically.
  • Idempotent and safe: Won't add duplicate links to existing indexes, and prompts you for input if there's no clear matching index so no notes are left stranded.
  • Use Case: After writing a new wiki note about "Singapore Foreign Policy" tagged with singapore and foreign-policy, this skill will automatically add the note's link to both the Singapore Index.md and Foreign Policy Index.md, creating those files if they don't already exist.

Quick Start

Use the update-index skill to sync the new wiki note "Wiki -- Singapore Foreign Policy.md" to all relevant topic index files in your Obsidian vault.

Frequently Asked Questions about update-index

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically update Obsidian wiki indexes when adding new notes?

To automatically update Obsidian wiki indexes, this skill detects relevant Map of Content (MOC) files from your new note's tags and cross-links, then injects the wikilinks without manual effort.

What happens if no Map of Content index exists for a new wiki note tag?

If no Map of Content index exists for a specific tag, the skill automatically creates a properly formatted new index file to ensure the wiki note is linked and never left orphaned.

How do I prevent duplicate wikilinks in my Obsidian MOC index files?

To prevent duplicate wikilinks in MOC index files, the skill applies idempotent link insertion logic, ensuring existing links are recognized and skipped during the automatic sync process.

Can I automatically sync orphaned Obsidian notes to topic indexes based on tags?

Yes, you can automatically sync orphaned Obsidian notes by using tag-based index matching, which identifies relevant topic indexes and injects the missing wikilinks to maintain navigable structures.

What if the skill cannot find a clear matching index for my wiki note?

When there is no clear matching index for a wiki note, the skill prompts you for input to resolve the ambiguity, ensuring no notes are left stranded without a proper MOC index link.