obsidian-markdown

obsidian-markdown is a skill for Claude Code from lululu811/init-knowledge-base. It costs 72 tokens per session (2,493 once invoked), scanned A, original, MIT.

A skill for creating and editing Obsidian-flavoured Markdown, the Markdown format used by the Obsidian note-taking app with extra features. It covers internal note links, embedded files, callouts, frontmatter properties, tags, and comments.

In plain words
What is it for?
Use it to create or update Obsidian wiki pages, link related notes, embed files or note sections, add metadata, highlight information, and fix formatting issues.
Why use it?
It prevents Obsidian-specific links and embeds from being written in a form that renders incorrectly or breaks when notes are renamed. It also provides rules for checking and cleaning up wiki pages.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it to create or update Obsidian wiki pages, link related notes, embed files or note sections, add metadata, highlight information, and fix formatting issues.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lululu811/init-knowledge-base/obsidian-markdown
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 lululu811/init-knowledge-base --skill obsidian-markdown
Clone the repo
git clone --depth 1 https://github.com/lululu811/init-knowledge-base

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 obsidian-markdown

README.md
[![agentmods](https://agentmods.dev/badge/skills/lululu811/init-knowledge-base/obsidian-markdown.svg)](https://agentmods.dev/skills/lululu811/init-knowledge-base/obsidian-markdown)
Your own site
<a href="https://agentmods.dev/skills/lululu811/init-knowledge-base/obsidian-markdown"><img src="https://agentmods.dev/badge/skills/lululu811/init-knowledge-base/obsidian-markdown.svg" alt="Measured on agentmods" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,493 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
  • NVIDIA SkillSpector pass 7 Sept 2026
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.00072 $0.02493
Opus 5 $0.00036 $0.01247
Sonnet 5 $0.00014 $0.00499
Haiku 4.5 $0.00007 $0.00249

Measured 8d ago against content hash 16a50a8f106d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

obsidian-markdown 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.

_templates/.claude/skills/obsidian-markdown/SKILL.md · 343 lines

How it starts

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

Obsidian Markdown 规范

本 Skill 定义了知识库中所有 Markdown 文件必须遵循的 Obsidian Flavored Markdown 语法标准。标准 Markdown(标题、列表、粗体、代码块等) assumed knowledge,此处仅覆盖 Obsidian 特有扩展。


工作流:创建 Wiki 页面

  1. 添加 frontmatter(YAML Properties)在文件最顶部
  2. 编写正文使用标准 Markdown + 本规范中的 Obsidian 特有语法
  3. 链接相关页面使用 wikilinks [[页面名]] 建立内部连接
  4. 嵌入内容使用 ![[embed]] 引用图片、PDF 或其他笔记片段
  5. 使用 callouts高亮关键信息
  6. 验证页面在 Obsidian 阅读视图中渲染正确

链接选择原则:Vault 内部页面一律使用 [[wikilinks]](Obsidian 会自动追踪重命名),外部 URL 才使用标准 Markdown 链接 [text](url)


[[页面名称]]                    → 基础链接
[[页面名称|显示文本]]           → 自定义显示文本
[[页面名称#标题]]               → 链接到目标页面的某个标题
[[页面名称#^块ID]]              → 链接到目标页面的某个段落(块)
[[#本文标题]]                   → 同一页面内的标题跳转

块 ID(Block ID)

在任意段落末尾追加 ^块ID 即可创建可链接的块:

这是一个可以被精确链接的段落。 ^my-block-id

对于列表和引用块,块 ID 放在块后面的独立行:

> 这是一个引用块

^quote-id

引用时:

[[某页面#^quote-id]]

2. 嵌入(Embeds)

在 wikilink 前加 ! 即可嵌入内容:

![[页面名称]]                  → 嵌入整页内容
![[页面名称#标题]]             → 嵌入某个标题下的内容
![[页面名称#^块ID]]            → 嵌入某个段落
![[图片.png]]                  → 嵌入图片
![[图片.png|300]]              → 嵌入图片并限制宽度为 300px
![[图片.png|640x480]]          → 嵌入图片并指定宽高
![[文档.pdf#page=3]]           → 嵌入 PDF 的第 3 页
![[文档.pdf#height=400]]       → 嵌入 PDF 并限制高度
![[音频.mp3]]                  → 嵌入音频播放器

外部图片:

![Alt文本](https://example.com/image.png)
![Alt文本|300](https://example.com/image.png)

3. Callouts

> [!note]
> 基础笔记 callout

> [!warning] 自定义标题
> 带自定义标题的警告 callout

> [!faq]- 默认折叠
> 默认折叠的 callout(- 折叠,+ 展开)

> [!tip]+
> 默认展开但可折叠的 callout

支持的 Callout 类型

类型 别名 语义
note 一般笔记
abstract summary, tldr 摘要/总结
info 信息
todo 待办事项
tip hint, important 提示/重要
success check, done 成功/完成
question help, faq 问题/帮助
warning caution, attention 警告
failure fail, missing 失败
danger error 危险/错误
bug Bug
example 示例
quote cite 引用

Read the full file on GitHub · 343 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 First seen · 343 lines · 72 tokens per session scan A 16a50a8f106d

Subscribe to this mod's changes

obsidian-markdown is a skill published in the GitHub repository lululu811/init-knowledge-base (23 stars, last pushed 23d ago), licensed MIT. It adds 72 tokens to every session and 2,493 once invoked, about $0.0004 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

orbit-notion

Open Orbit briefing skill — selected by the Orbit pipeline when Notion is the user's only connected connector, or when the user explicitly scopes their daily digest to Notion. Pulls the past 24 hours of document edits, comments, mentions, and database row changes from the user's authenticated Notion connection and…

nexu-io/open-design · 117 tokens

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

baoyu-youtube-transcript

A tool for downloading the written captions, subtitles, chapter information, speaker labels, and cover image from a YouTube video using its URL or ID.

JimLiu/baoyu-skills · 107 tokens

feishu

Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.

Hmbown/CodeWhale · 33 tokens

read

Reads URLs and PDFs by fetching source content, defaulting to concise summaries for plain read requests and clean Markdown when asked to convert, save, quote, cite, or feed downstream work. Use when users ask in any language to read, fetch, check, summarize, quote, cite, convert, or save a URL or PDF. Not for local…

tw93/Waza · 78 tokens

overleaf-sync

A two-way connection between a local paper folder and Overleaf, a web-based LaTeX editor for writing research papers. It lets you move changes between the local files and the shared Overleaf project.

wanshuiyin/Auto-claude-code-research-in-sleep · 97 tokens