obsidian

obsidian is a skill for Claude Code, Codex from gapmiss/obsidian-plugin-skill. It costs 105 tokens per session (4,389 once invoked), scanned A, original, MIT.

A detailed set of development and submission rules for building Obsidian plugins. Obsidian is a note-taking app that supports add-ons, and the guidance covers TypeScript, memory cleanup, user-interface conventions, and publishing.

In plain words
What is it for?
Use it when creating, reviewing, testing, or preparing an Obsidian plugin for submission to the community catalogue.
Why use it?
It helps avoid common implementation and review problems, such as unsafe API use, poor cleanup, invalid naming, or inaccessible interfaces.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/gapmiss/obsidian-plugin-skill/obsidian
Any agent
npx skills add gapmiss/obsidian-plugin-skill --skill obsidian
Clone the repo
git clone --depth 1 https://github.com/gapmiss/obsidian-plugin-skill

Made for: Claude Code, Codex.

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 obsidian

README.md
[![agentmods](https://agentmods.dev/badge/skills/gapmiss/obsidian-plugin-skill/obsidian.svg)](https://agentmods.dev/skills/gapmiss/obsidian-plugin-skill/obsidian)
Your own site
<a href="https://agentmods.dev/skills/gapmiss/obsidian-plugin-skill/obsidian"><img src="https://agentmods.dev/badge/skills/gapmiss/obsidian-plugin-skill/obsidian.svg" alt="Measured on agentmods" height="20"></a>
Per session 105 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,389 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00105 $0.04389
Opus 5 $0.00053 $0.02194
Sonnet 5 $0.00021 $0.00878
Haiku 4.5 $0.00011 $0.00439

Measured 5d ago against content hash 81bbf25afecd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

obsidian 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 5d 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.

.agents/skills/obsidian/SKILL.md · 361 lines

How it starts

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

Obsidian Plugin Development Guidelines

Follow these comprehensive guidelines derived from the official Obsidian ESLint plugin rules, submission requirements, and best practices.

Getting Started

Quick Start Tool

For new plugin projects, an interactive boilerplate generator is available:

  • Script: tools/create-plugin.js in the skill repository
  • Command: Invoke create-plugin using your agent's method (/create-plugin, $create-plugin, or @create-plugin)
  • Generates minimal, best-practice boilerplate with no sample code
  • Detects existing projects and only adds missing files

Recommend the boilerplate generator when users ask how to create a new plugin, want to start a new project, or need help setting up the basic structure.


Rules Reference (eslint-plugin-obsidianmd v0.4.1)

Submission & Naming

# Rule ✅ Do ❌ Don't
1 Plugin ID Omit "obsidian"; don't end with "plugin" Include "obsidian" or end with "plugin"
2 Plugin name Omit "Obsidian"; don't end with "Plugin" Include "Obsidian" or end with "Plugin"
3 Plugin name Don't start with "Obsi" or end with "dian" Start with "Obsi" or end with "dian"
4 Description Omit "Obsidian", "This plugin", etc. Use "Obsidian" or "This plugin"
5 Description End with .?!) punctuation Leave description without terminal punctuation

Memory & Lifecycle

# Rule ✅ Do ❌ Don't
6 Event cleanup Use registerEvent() for automatic cleanup Register events without cleanup
6a DOM events Use registerDomEvent() on the plugin or owning component Pair addEventListener with manual removeEventListener cleanup
7 View references Return views/components directly Store view references in plugin properties or pass plugin as component to MarkdownRenderer
8 Leaf detachment Let Obsidian handle leaf cleanup Call detachLeavesOfType() in onunload

Read the full file on GitHub · 361 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. 5d ago First seen · 361 lines · 105 tokens per session scan A 81bbf25afecd

Subscribe to this mod's changes

obsidian is a skill published in the GitHub repository gapmiss/obsidian-plugin-skill (183 stars, last pushed 27d ago), licensed MIT. It adds 105 tokens to every session and 4,389 once invoked, about $0.0005 per session on Opus 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

Other skills, from other repositories

obsidian-companion

Use when interacting with the user's Obsidian vault — reading, writing, searching, or chatting with notes using local RAG. Guides tool selection and writing strategy for all vault operations.

thoreinstein/obsidian-rag · 42 tokens

release-it

Automate versioned releases of NPM packages to GitHub repositories. Use this skill when setting up or configuring release-it for version bumping, changelog generation, npm publishing, GitHub releases, and CI/CD integration. Triggers include requests to: (1) Set up automated releases for an npm package, (2) Configure…

OleksandrKucherenko/mcp-obsidian-via-rest · 123 tokens

wiki-ingest

Use when the user wants to ingest external sources into the vault — PDFs, markdown files, transcripts, Readwise exports, or any document. Triggers on "ingest", "process document", "import into vault", "distill this", "add to vault", or "extract knowledge from".

thoreinstein/obsidian-rag · 64 tokens

cross-linker

Use when the user wants to find and insert missing wikilinks across vault notes. Triggers on "cross-link", "find missing links", "weave links", "unlinked mentions", "add wikilinks", or "link notes together".

thoreinstein/obsidian-rag · 55 tokens

vault-lint

Use when the user wants a health audit of the vault — stale content, provenance drift, frontmatter compliance, or MOC coverage gaps. Triggers on "lint vault", "vault health", "check vault", "stale notes", "vault audit", "vault quality", or "check conventions".

thoreinstein/obsidian-rag · 65 tokens

link-audit

Use when the user wants to audit vault link health, find broken wikilinks, orphaned notes, or semantic clusters. Triggers on "link audit", "broken links", "orphaned notes", "link health", "graph cleanup", or "find orphans".

thoreinstein/obsidian-rag · 60 tokens