obsidian-vault-manager

Manage Obsidian knowledge base with smart capture, AI-powered tagging, and publishing workflows

View on GitHub
Author Zorro Cheng
Namespace @ZorroCheng-MC/obsidian-vault-manager
Category general
Version 1.0.0
Stars 0
Downloads 7
self.md verified
Table of content

Manage Obsidian knowledge base with smart capture, AI-powered tagging, and publishing workflows

Installation

npx claude-plugins install @ZorroCheng-MC/obsidian-vault-manager/obsidian-vault-manager

Contents

Folders: scripts, templates

Files: README.md, SKILL.md

Documentation

Manage an AI-powered Obsidian knowledge base with automatic organization and GitHub Pages publishing.

Features

Installation

  1. Add the plugin marketplace:
/plugin marketplace add ZorroCheng-MC/obsidian-vault-manager-plugin
  1. Install the plugin:
# Option A: Browse available plugins
/plugin

# Option B: Install directly
/plugin install obsidian-vault-manager@ZorroCheng-MC/obsidian-vault-manager-plugin
  1. Verify installation:
/plugin list
# Should show: obsidian-vault-manager

Manual Installation (Legacy)

For development or when marketplace is unavailable:

# Clone to Claude plugins directory
mkdir -p ~/.claude/plugins
cd ~/.claude/plugins
git clone https://github.com/ZorroCheng-MC/obsidian-vault-manager-plugin.git obsidian-vault-manager

# Make scripts executable
chmod +x ~/.claude/plugins/obsidian-vault-manager/scripts/core/*.sh

Bundled Resources

Scripts

Core Scripts (scripts/core/):

Validation Scripts (scripts/validation/):

Templates

templates/youtube-note-template.md - Structured template for YouTube video notes with:

Usage

In Claude Code CLI

# Capture YouTube video
/youtube-note https://youtu.be/VIDEO_ID

# Capture quick idea
/idea My brilliant idea about AI agents

# Publish to GitHub Pages
/publish my-note.md

# Share via URL (no server storage)
/share my-note.md

Share Command Details

The /share command creates a shareable URL with the note content encoded directly in the URL (Plannotator-style):

https://zorrocheng-mc.github.io/sharehub/share.html#<compressed-base64>

Features:

Limitations:

In Claude Desktop

Simply provide a YouTube URL:

Create a note from this video: https://youtu.be/VIDEO_ID

Optional: Automatic Validation Hooks

For advanced users who want automatic frontmatter validation before note creation, you can configure hooks in your Claude Code settings.

Hook Setup

Add the following to your ~/.claude/settings.json:

{
  "hooks": {
    "PreToolUse": [
      {
        "description": "Validate frontmatter before creating Obsidian notes",
        "matcher": "mcp__obsidian-mcp-tools__create_vault_file",
        "hooks": [
          {
            "type": "command",
            "command": "python3 ~/.claude/skills/obsidian-vault-manager/scripts/validation/validate-frontmatter.py"
          }
        ]
      }
    ]
  }
}

What Hooks Do

When configured, the validation hook will:

Hook Behavior

Exit Codes:

Without Hooks: Claude runs validation script as part of SKILL.md workflow (default behavior)

With Hooks: Automatic enforcement before any Obsidian note creation (opt-in)

Testing Scripts

Test Transcript Fetching

# Test with a video ID
~/.claude/skills/obsidian-vault-manager/scripts/core/fetch-youtube-transcript.sh jI2LC3WTryw

Test Validation

# Create a test file
cat > test-note.md << 'EOF'
---
title: "Test Video"
tags: [video, AI, inbox]
date: 2025-10-28
type: video
---
# Test
EOF

# Validate it
python3 ~/.claude/skills/obsidian-vault-manager/scripts/validation/validate-frontmatter.py test-note.md

Tag Taxonomy

Content Type Tags (choose 1)

Topic Tags (choose 2-4)

…(truncated)

Source

View on GitHub

Tags: general