By leweii
Manage reusable prompts in your Obsidian vault from Claude Code. Save, list, and execute prompts seamlessly.
A Claude Code command for managing reusable prompts in your Obsidian vault.
All operations are handled natively by Claude Code - no external scripts required.
mkdir -p ~/.claude/commands
curl -o ~/.claude/commands/obsidian.md https://raw.githubusercontent.com/leweii/obsidian-prompt-manager/main/commands/obsidian.md
Or manually:
mkdir -p ~/.claude/commands
git clone https://github.com/leweii/obsidian-prompt-manager.git /tmp/opm
cp /tmp/opm/commands/obsidian.md ~/.claude/commands/
/obsidian setup ~/Documents/MyVault
This creates a Claude-Prompts folder in your vault.
/obsidian save "Code Review Checklist" --tags review,quality
Claude will ask for the prompt content and save it as a markdown file.
/obsidian list
Or search:
/obsidian list --search review
/obsidian use "Code Review Checklist"
Claude loads the prompt and executes it as if you typed it.
Prompts are saved as Obsidian-compatible markdown with frontmatter:
---
title: "Code Review Checklist"
date: 2025-01-15
tags:
- claude-prompt
- review
- quality
---
# Code Review Checklist
Review this code for:
1. Bugs and errors
2. Performance issues
3. Security vulnerabilities
Configuration is stored at ~/.claude/obsidian-config.json:
{
"vaultPath": "/path/to/your/vault",
"promptsFolder": "Claude-Prompts"
}
MIT
Contributions welcome! Please open an issue or submit a pull request.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub leweii/obsidian-prompt-manager --plugin obsidianInteract with Obsidian vaults using the official Obsidian CLI (v1.12+). Read, create, append, search, and manage notes, daily notes, properties, tags, tasks, bookmarks, templates, themes, sync, plugins, and links — all from the terminal.
Create and edit Obsidian vault files including Markdown, Bases, and Canvas. Use when working with .md, .base, or .canvas files in an Obsidian vault.
Sync AI conversations to an Obsidian knowledge base with Memory Mason knowledge base skills.
Harness-native ECC operator layer - 67 agents, 271 skills, 92 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses
Tools to maintain and improve CLAUDE.md files - audit quality, capture session learnings, and keep project memory current.
Persistent file-based planning for AI coding agents. Crash-proof markdown plans (task_plan.md, findings.md, progress.md) that survive context loss and /clear, with an opt-in completion gate and multi-agent shared state. Manus-style. Works with Claude Code, Codex CLI, Cursor, Kiro, OpenCode and 60+ agents via the SKILL.md standard. Includes Arabic, German, Spanish, and Chinese (Simplified and Traditional).