Obsidian Yaml Frontmatter skill for Claude

Manage YAML frontmatter properties with consistent formatting, property names, and value types.

When Claude uses it

Use when creating or updating frontmatter in markdown files.

Obsidian Yaml Frontmatter SKILL.md

The full skill file from jykim/claude-obsidian-skills (MIT).

YAML Frontmatter Management

Standardize YAML frontmatter properties across all vault content.

When to Use This Skill

Activate when you need to:

  • Add or update frontmatter in markdown files
  • Ensure consistent property naming and formatting
  • Format tags, dates, or other property values
  • Validate frontmatter structure

Note: This skill manages frontmatter PROPERTIES (keys, values, types, formatting). For document STRUCTURE (heading hierarchy, section order, frontmatter position), use obsidian-markdown-structure skill.

Core Frontmatter Rules

1. Single YAML Block at Top

Structure:

---
property: value
---

## First Section Header

Critical Rules:

  • One YAML block at top of file
  • Blank line after closing ---
  • No content before first heading (after frontmatter)

2. Standard Property Names

Use lowercase, consistent keys:

✅ CORRECT:
title: Document Title
created: 2025-10-31
tags:
  - tag1
source: https://example.com
author: Author Name

❌ INCORRECT:
Title: Document Title (capitalized)
date: 2025-10-31 (use "created" not "date")
tag: tag1 (use "tags" plural)

No Duplicate Properties:

  • Use created (not both date and created)
  • Use tags (not both tag and tags)

3. Tag Formatting

CRITICAL: Plain text in YAML, NO hashtags:

✅ CORRECT:
tags:
  - journal
  - daily
  - reflection

❌ INCORRECT:
tags:
  - #journal
  - #daily

Always use list format with dashes:

✅ CORRECT (list format):
tags:
  - tag1
  - tag2

❌ INCORRECT (inline):
tags: [tag1, tag2]

4. Date Format

Use YYYY-MM-DD consistently:

✅ CORRECT:
created: 2025-10-31
updated: 2025-11-01

❌ INCORRECT:
created: 10/31/2025
created: 2025-10-31T10:30:00

5. Link Lists

Wrap wiki links in quotes:

✅ CORRECT:
sources:
  - "[[Journal/2025-10-31]]"
  - "[[Articles/2025-10-31 Title]]"

links:
  - "[[Roundup/2025-10-31]]"

attendees:
  - "[[People/John]]"
  - Jane

❌ INCORRECT:
sources:
  - [[Journal/2025-10-31]] (missing quotes)

6. Quote Values with Special Characters

Quote values containing: : # " or numeric-looking strings

Single quote wrapping (easiest for values with "):

✅ CORRECT:
title: 'He said, "Hello."'
note: 'It\'s called "PKM".'

Double quote wrapping with escaping:

✅ CORRECT:
title: "He said, \"Hello.\""
source: "https://example.com"
version: "2.0"

Literal double-quote character:

✅ CORRECT:
quote_char: '"'

Mixed quotes preference: Use double quotes, escape only " (single quotes don't need escaping):

✅ CORRECT:
note: "It's called \"PKM\"."

❌ INCORRECT:
title: AI Era: Thriving Framework (unquoted colon)
version: 2.0 (parsed as number, not string)

Multiline values (no escaping needed):

✅ CORRECT:
description: |
  He said, "Hello."
  New line preserved.

Standard Property Set

Core Properties (All Content)

---
title: Document Title
created: YYYY-MM-DD
tags:
  - category
  - type
---

Content with Sources

---
title: Article Title
created: YYYY-MM-DD
source: https://url or file path
author: Author Name
tags:
  - clipping
  - topic
---

Relational Content

---
title: Document Title
created: YYYY-MM-DD
tags:
  - category
sources:
  - "[[Source File 1]]"
  - "[[Source File 2]]"
links:
  - "[[Related Topic]]"
---

Events/Meetings

---
title: Meeting Name
created: YYYY-MM-DD
event_date: YYYY-MM-DD
attendees:
  - "[[Person 1]]"
  - Person 2
sources:
  - "[[Journal/YYYY-MM-DD#Section]]"
tags:
  - meeting
  - event
---

Workflow

Step 1: Determine Content Type

  • Daily content (Journal, Notes)
  • Ingested content (Clippings, Articles)
  • Created content (Analysis, Tasks, Events)
  • Topic/Project pages

Step 2: Select Property Set

  • Core properties (title, created, tags)
  • Add source/author if applicable
  • Add relational links (sources, links, attendees)
  • Add content-specific properties

Step 3: Format Values

  • Dates: YYYY-MM-DD format
  • Tags: Plain text list (no #)
  • Links: Quoted wiki links
  • Special chars: Quote values with : or #

Step 4: Structure Check

  • Single YAML block at top
  • Blank line after ---
  • Consistent property names (lowercase)
  • No duplicate properties

Quality Checklist

Before completing frontmatter:

  • Single YAML block at top with blank line after
  • All property keys lowercase and consistent
  • Tags are plain text (NO hashtags)
  • Dates in YYYY-MM-DD format
  • Wiki links wrapped in quotes
  • Special characters quoted appropriately
  • No duplicate properties (created vs date, tags vs tag)

How to install Obsidian Yaml Frontmatter

Claude Code

Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):

npx degit jykim/claude-obsidian-skills/obsidian-yaml-frontmatter#main ~/.claude/skills/obsidian-yaml-frontmatter

Codex

npx degit jykim/claude-obsidian-skills/obsidian-yaml-frontmatter#main ~/.codex/skills/obsidian-yaml-frontmatter

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.

Frequently asked questions

+What does the Obsidian Yaml Frontmatter skill do?

Manage YAML frontmatter properties with consistent formatting, property names, and value types. Use when creating or updating frontmatter in markdown files.

+How do I install Obsidian Yaml Frontmatter in Claude Code?

Copy the skill folder into ~/.claude/skills/obsidian-yaml-frontmatter, for example with "npx degit jykim/claude-obsidian-skills/obsidian-yaml-frontmatter#main ~/.claude/skills/obsidian-yaml-frontmatter". Claude Code loads it automatically and uses it when a task matches.

+Does Obsidian Yaml Frontmatter work with ChatGPT or Codex?

Yes. Obsidian Yaml Frontmatter uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/obsidian-yaml-frontmatter. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.

+Is Obsidian Yaml Frontmatter free?

Obsidian Yaml Frontmatter is published on GitHub by jykim under the MIT license, which allows free use.

Related productivity skills

  1. Handoff

    Compact the current conversation into a handoff document for another agent to pick up.

    mattpocock/skills★ 327k
  2. Notebooklm

    Use for anything in Google NotebookLM: querying notebooks, adding sources, generating Audio or Video Overviews, reports, flashcards or…

    alirezarezvani/claude-skills★ 30k
  3. Teach

    Teach the user a new skill or concept, within this workspace.

    mattpocock/skills★ 327k
  4. Self Improving Agent

    Captures and maintains learnings, errors, and corrections. Use when a command fails, the user corrects an assumption, a capability is…

    pskoett/self-improving-agent★ 792
  5. Obsidian Cli

    Interact with Obsidian vaults using the Obsidian CLI to read, create, search, and manage notes, tasks, properties, and more.

    obsidianmd/obsidian-skills★ 53k
  6. Obsidian Markdown

    Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax.

    obsidianmd/obsidian-skills★ 53k
  7. Notion Cli

    Use the Notion CLI (`ntn`) to interact with the Notion API, manage workers, and upload files.

    makenotion/skills★ 184
  8. File Organizer

    Intelligently organizes your files and folders across your computer by understanding context, finding duplicates, suggesting better…

    ComposioHQ/awesome-claude-skills★ 80k
  9. Obsidian Cli

    Use this skill whenever the user wants Claude to directly interact with their Obsidian vault — reading a note or daily note, writing or…

    pablo-mano/Obsidian-CLI-skill★ 464

See all productivity skills →

More skills from jykim

  1. Remotion Narrated Video Essay

    Edit narration-led Remotion video essays using talking-head footage, overlays, selective B-roll, comic callouts, and still-frame visual QA.

    jykim/claude-obsidian-skills★ 52
  2. Remotion Vlog

    Import and edit Pocket, phone, action-camera, or similar footage into a concise Remotion vlog with selective cuts, researched location…

    jykim/claude-obsidian-skills★ 52
  3. Video Add Chapters

    Add chapters to videos by transcribing, analyzing, and generating structured markdown documents with YouTube chapter markers.

    jykim/claude-obsidian-skills★ 52

All skills by jykim →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.