obsidian frontmatter

    1

    Automatically generate and update standardized, error-free YAML frontmatter for Obsidian PKM notes.

    Free

    1 useSecurity scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    obsidian frontmatter

    Example session with this skill installed

    为我的关于美联储加息对全球市场影响的笔记添加frontmatter。笔记包含了一些关于DCF模型和宏观经济的讨论。日期是2024-05-20。

    • Read your context and instructions
    • Compiled the obsidian frontmatter

    I have analyzed your note regarding the impact of Fed rate hikes. I removed the old metadata and generated a structured YAML block that categorizes this as an evergreen note with proper hierarchical tags and quoted internal links for your Obsidian vault.

    Obsidian Frontmatter Update

    ---
    aliases:
      - 美联储加息影响
      - 利率与全球市场
      - Fed利率决策
    tags:
      - 经济学/宏观
      - 投资/市场分析
    type: evergreen
    status: completed
    created: 2024-05-20
    updated: 2024-05-20
    related:
      - "[[美联储]]"
      - "[[DCF估值模型]]"
      - "[[货币政策]]"
    rating: 5
    ---
    
    # 美联储加息对全球市场影响的深度分析
    
    本文探讨了美联储利率决策的传导机制... [笔记正文保留]
    

    Next steps

    1. Open the note in Obsidian to verify the properties appear in the metadata editor.
    2. Use the tags in your graph view to see the new hierarchical structure.
    3. Check if the related links correctly point to your existing MOCs.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Manually managing Obsidian metadata is tedious and prone to syntax errors, especially with complex YAML rules like quoting double-brackets. This skill automates the generation and maintenance of consistent frontmatter for your Markdown notes, turning a disorganized folder into a structured Personal Knowledge Management (PKM) system. It analyzes your content to categorize notes and extract relationships without you having to think about schema.

    What it does

    • Metadata generation Creates standardized YAML blocks for Obsidian notes including aliases, tags, and status.
    • Note classification Assigns types like fleeting, literature, evergreen, or MOC based on content depth and structure.
    • Hierarchical tagging Generates nested tags using slash notation to organize notes into specific knowledge domains.
    • Relation extraction Scans text for core concepts and formats them as quoted Obsidian wiki-links for safe YAML parsing.
    • Smart aliasing Extracts concise synonyms and abbreviations from long titles to simplify future backlinking.

    How it works

    1. Analyze content The agent reads the target .md file to determine its core theme, density, and knowledge type.
    2. Metadata cleanup It detects and removes existing, broken, or outdated YAML frontmatter blocks while preserving the body text.
    3. Field generation Based on the analysis, it populates mandatory fields like created, updated, type, and status.
    4. Final output The agent prepends the new YAML block to the file, ensuring all array items and wiki-links follow strict Obsidian-compatible syntax.

    Frameworks & tools

    Specifically designed for Obsidian PKM workflows and YAML-compliant Markdown editors.

    Why this beats prompting it yourself

    Writing manual YAML for Obsidian often leads to parsing errors, particularly when forgetting to quote [[Link]] syntax in arrays. This skill enforces a consistent schema across your entire vault, ensuring that Dataview queries and Graph View filters work reliably every time.

    Use cases

    • Inbox clearing Rapidly process a folder of raw web clippings into structured literature notes.
    • Vault migration Standardize frontmatter across an old set of notes to enable better filtering and search.
    • Knowledge synthesis Automatically extract related concepts and aliases to improve the connectivity of your digital garden.

    Known limitations

    Requires notes to be in .md format. It uses the current system date for created fields unless the user provides a specific date or it can be inferred from the existing metadata.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Productivity.

    Works only with .md files. Uses current date for created/updated fields unless specified. Requires specific quoting for wiki-links which it handles automatically.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    1 use

    Times used to date

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 25 days ago

    • Free with an Agensi account

    Permissions

    Read Files
    Write Files
    Listed25 days ago

    What's inside

    Frequently Asked Questions

    This skill automates the creation of YAML metadata, specifically solving the common 'broken frontmatter' issue by ensuring complex elements like wiki-links and nested tags are correctly quoted and formatted for Obsidian's parser.

    The skill is designed to work with any AI agent that has file-system access to your Markdown files; it reads the note content, generates the standardized block, and prepends it to the file.

    Yes, the agent is programmed to detect and remove existing, broken, or outdated YAML blocks, replacing them with a clean, standardized schema while preserving your original note content.

    The skill uses a sophisticated classification logic that evaluates the depth, length, and structural complexity of your writing to categorize it as a fleeting, literature, or evergreen note.

    You receive the core agent skill logic and the standardized schema configuration, ensuring that every note processed follows the same metadata rules for perfect Dataview compatibility.

    While the skill is highly automated, it is optimized for standard Obsidian workflows; it currently requires notes to be in .md format and works best with English-language content.

    New in Productivity

    Free