generate-mocs

Regenerate Obsidian MOC directory and navigation pages with Python scripts.

1.1k|95|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/huangkiki/dailypaper-skills --skill generate-mocs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-mocs
Source: https://github.com/huangkiki/dailypaper-skills/tree/main/skills/generate-mocs
Command: npx skills add https://github.com/huangkiki/dailypaper-skills --skill generate-mocs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of regenerating directory and navigation pages (MOCs) within an Obsidian vault, ensuring your knowledge base remains organized and up-to-date.

Core Features & Use Cases

  • Automated Indexing: Rebuilds and updates Obsidian's MOCs for papers and concepts.
  • Idempotent Operations: Running the skill multiple times yields the same result without side effects.
  • Git Integration: Optionally commits and pushes changes to a Git repository if configured.
  • Use Case: After adding new research papers or concept notes, simply trigger this Skill to automatically update all relevant navigation pages, keeping your Obsidian vault structured.

Quick Start

Use the generate-mocs skill to update the Obsidian indexes.

Frequently Asked Questions about generate-mocs

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

FAQPage Schema
How do I automatically update Obsidian MOC navigation pages?

To update Obsidian MOC navigation pages, this Skill regenerates directory indexes for paper and concept notes using Python scripts. It automatically rebuilds your vault's structure, ensuring all navigation pages reflect your latest additions.

Can I automatically commit and push Obsidian vault changes to Git?

Yes, you can automatically commit and push Obsidian vault changes to Git. This Skill includes optional Git integration that commits and pushes regenerated MOC files directly if Git behavior is configured in your shared vault settings.

What is an Obsidian MOC and when do I need to regenerate it?

An Obsidian MOC (Map of Content) is a directory and navigation page that structures your knowledge base. You need to regenerate MOCs when you add new research papers or concept notes to keep your vault organized and navigable.

Does running the MOC regeneration script multiple times create duplicate entries?

Running the MOC regeneration script multiple times does not create duplicate entries. The Skill ensures idempotent operations, meaning repeated executions yield the exact same result without side effects or duplicate navigation links.

Do I need to configure vault paths before using the Obsidian indexing automation?

Yes, you need to configure vault paths before using the Obsidian indexing automation. The Skill relies on shared configuration settings to locate your vault and determine optional Git commit and push behavior during the MOC regeneration process.