ai-agent

Obsidian Sample Plugin

Template for Obsidian community plugins with build configuration and development best practices.
4,448 stars1,757 forksTypeScriptUpdated 8/2/2026100% free · open source
What it does

The Obsidian Sample Plugin provides a template for building custom plugins for the Obsidian note-taking app, including a pre-configured build setup and development best practices.

When to use it
  • You want to create a custom plugin for Obsidian to extend its functionality
  • You need a starting point for building a plugin with a pre-configured build setup
  • You want to follow development best practices for building Obsidian plugins
Ready-to-paste prompt
Modify the 'main.ts' file to add a new command to the Obsidian command palette, such as 'console.log('Hello World!');' to test the plugin's basic functionality
Heads up: Make sure you have Node.js 14 or higher installed, as the plugin's build process uses modern JavaScript features and tools that require this version or later
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

✅ Light setup

Installs with a command or two; your AI agent can do it for you.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/obsidian-sample-plugin && curl -fsSL https://workflowstacks.com/api/skills/obsidian-sample-plugin/claude-skill -o ~/.claude/skills/obsidian-sample-plugin/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How Obsidian Sample Plugin works
Codeflow
Free to inspect

Obsidian Sample Plugin is a tiny TypeScript project (~150 lines across 4 code files). Setup is light: install Node.js, run one command. Last commit a month ago, 0BSD license, no tests found.

Size
Tiny codebase
~150 lines · 4 code files · 2 min skim
Setup
Light setup
Install Node.js, run one command.
Runs on
Node.js
No API keys detected
TypeScript 71%JavaScript 27%CSS 3%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    AGENTS.md
    The instructions the AI actually follows
  3. 3
    manifest.json
    Where the program starts running
  4. 4
    package.json
    Dependencies and the commands it exposes
  5. 5
    src/main.ts
    Inside src/ — the main logic begins here
What's in each folder
src/Core code — the actual logic2 files
.github/CI / automation (GitHub Actions)2 files
READMENo tests foundThin docsCI checks0BSD licenseUpdated 1 mo ago
Quick Actions
Details
Creator
obsidianmd
Language
TypeScript
Category
ai-agent
Published
10/25/2020

Are you the creator of this tool? Claim your listing → and earn 85% of every sale.