create-plugin

create-plugin is a command for Claude Code from gapmiss/obsidian-plugin-skill. It costs 13 tokens per session (627 once invoked), scanned A, original, MIT.

An interactive guide for creating a new Obsidian plugin, including automated and manual setup options. Obsidian is a note-taking app whose features can be extended with plugins.

In plain words
What is it for?
Use it to generate or manually build a plugin starter structure, then adapt it to the plugin's intended behavior.
Why use it?
It helps set up the required project files and apply basic quality, accessibility, and cleanup practices from the beginning.

Command for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to generate or manually build a plugin starter structure, then adapt it to the plugin's intended behavior.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/gapmiss/obsidian-plugin-skill/create-plugin
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/gapmiss/obsidian-plugin-skill

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for create-plugin

README.md
[![agentmods](https://agentmods.dev/badge/commands/gapmiss/obsidian-plugin-skill/create-plugin/github.svg)](https://agentmods.dev/commands/gapmiss/obsidian-plugin-skill/create-plugin)
Your own site
<a href="https://agentmods.dev/commands/gapmiss/obsidian-plugin-skill/create-plugin"><img src="https://agentmods.dev/badge/commands/gapmiss/obsidian-plugin-skill/create-plugin/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for create-plugin

Your own site · 80×15
<a href="https://agentmods.dev/commands/gapmiss/obsidian-plugin-skill/create-plugin"><img src="https://agentmods.dev/badge/commands/gapmiss/obsidian-plugin-skill/create-plugin.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 627 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00013 $0.00627
Opus 5.5 $0.00005 $0.00251
Sonnet 5.5 $0.00003 $0.00125
Haiku 4.5 $0.00001 $0.00063

Measured 25d ago against content hash 41d770fff3ae, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

create-plugin scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 25d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/create-plugin.md · 60 lines

How it starts

The opening of the file, as written. The whole thing — 60 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are helping the user create a new Obsidian plugin. Follow these steps:

Setup Options

Present the user with two options:

  1. Automated Setup (Recommended): Use the interactive boilerplate generator script

    • Run: node /path/to/obsidian-plugin-skill/tools/create-plugin.js
    • This creates a minimal, best-practice plugin structure automatically
    • Detects existing projects and only adds missing files
    • All generated code follows the Obsidian Plugin Development Skill guidelines
  2. Manual Setup: Guide the user through creating files step-by-step

    • Walk through each required file
    • Explain what each file does
    • Provide code that follows best practices from the skill

After Setup

Once the boilerplate is created (either way):

  1. Verify all files follow the skill's best practices:

    • No sample code (MyPlugin, SampleModal, etc.)
    • Proper use of registerEvent() for cleanup
    • Sentence case in UI text
    • Obsidian CSS variables in styles
    • Accessibility-ready templates
  2. Help customize the plugin:

    • Ask what the plugin will do
    • Suggest appropriate API usage patterns
    • Reference specific sections of the skill as needed
  3. Guide through initial development:

    • Setting up the dev environment
    • Testing in Obsidian
    • Common next steps

Dependency Notes

The generated package.json contains a temporary overrides entry forcing minimatch to ^11.0.5, explained by a "//" key next to it. It fixes advisory GHSA-g3hv-75wg-m249 in the lint toolchain (typescript-eslint and @microsoft/eslint-plugin-sdl, bundled by eslint-plugin-obsidianmd, still depend on vulnerable minimatch 10 and 9).

  • ✅ Keep the override and the "//" note. Remove both only after checking that upstream depends on minimatch 11 (see the skill's reference/eslint-setup.md, "npm audit: moderate vulnerabilities in minimatch").
  • ❌ Don't delete the override because it looks unusual, and never run npm audit fix --force — it downgrades eslint-plugin-obsidianmd to 0.0.2.
  • npm warn deprecated [email protected] on install is expected; don't switch to ESLint 10 to silence it (it adds peer-dependency warnings and more audit findings).

Read the full file on GitHub · 60 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 25d ago Changed · +8 lines 41d770fff3ae
  2. 3mo ago First seen · 52 lines · 13 tokens per session scan A 55325ba8342f

Subscribe to this mod's changes

create-plugin is a command published in the GitHub repository gapmiss/obsidian-plugin-skill (204 stars, last pushed 17d ago), licensed MIT. It adds 13 tokens to every session and 627 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

create-plugin compared with commands from other repositories

create-plugin next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
create-plugingapmiss/obsidian-plugin-skillCommand20417d agoMITA13Claude Code
token-cost-trackerMark393295827/third-brain-v7-skillsCommand1402mo agoMITA28Claude Code
wiki-lintMark393295827/third-brain-v7-skillsCommand1402mo agoMITA24Claude Code
session-learnMark393295827/third-brain-v7-skillsCommand1402mo agoMITA23Claude Code
daily-okrMark393295827/third-brain-v7-skillsCommand1402mo agoMITA27Claude Code
checklistgithub/spec-kitCommand153ktodayMITA13Claude Code
clarifygithub/spec-kitCommand153ktodayMITA27Claude Code