obsidian

obsidian is a skill for Claude Code, Codex from gapmiss/obsidian-plugin-skill. It costs 105 tokens per session (4,575 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

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); $skill-name invocation.

Good fit Use it when creating, reviewing, testing, or preparing an Obsidian plugin for submission to the community catalogue.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gapmiss/obsidian-plugin-skill/obsidian
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.

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/github.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/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 obsidian

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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,575 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. Third-party audits
  • Socket pass 26 Sept 2026
  • Snyk pass 25 Sept 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 111
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium MCP Rug Pull · line 229
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
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.00105 $0.04575
Opus 5.5 $0.00042 $0.01830
Sonnet 5.5 $0.00021 $0.00915
Haiku 4.5 $0.00011 $0.00458

Measured 8d ago against content hash e3a67fbafe7f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 8d 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 · 365 lines

How it starts

The opening of the file, as written. The whole thing — 365 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.2)

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 · 365 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. 8d ago Changed · +3 lines e3a67fbafe7f
  2. 25d ago Changed · +1 lines 85640213e3ea
  3. 1mo ago Changed dd4b11568e0d
  4. 1mo 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 (193 stars, last pushed 8d ago), licensed MIT. It adds 105 tokens to every session and 4,575 once invoked, about $0.0004 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

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

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

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

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

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

compound

Use when the user wants to promote cross-project knowledge to the global Engineering/ folder, or says "promote knowledge", "compound notes", "knowledge synthesis", or "find repeated ideas across projects".

thoreinstein/obsidian-rag · 42 tokens