Skip to content
Back to skills

Obsidian Markdown Mastery

ASecurity

Core markdown syntax skill for Obsidian. Enforces strict parsing and authoring of Obsidian proprietary syntax (Wikilinks, Blocks, Headings, Aliases, Embeds, Callouts). Use when reading, writing, or validating Obsidian-flavored markdown.

  • 7 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 2, 2026
ai-agentspythonbash

Works with

  • cli

Security analysis

A100/100

Pro scans all 13 files and shows the line behind each finding

Scanned October 3, 2026

npx -y skills add richfrem/agent-plugins-skills --skill obsidian-markdown-mastery --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Obsidian Markdown Mastery?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Obsidian Markdown Mastery
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/richfrem-obsidian-markdown-mastery-agent-plugins-skills/badge)](https://www.skillsdirectory.com/skills/richfrem-obsidian-markdown-mastery-agent-plugins-skills)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: obsidian-markdown-mastery
plugin: obsidian-wiki-engine
description: "Core markdown syntax skill for Obsidian. Enforces strict parsing and authoring of Obsidian proprietary syntax (Wikilinks, Blocks, Headings, Aliases, Embeds, Callouts). Use when reading, writing, or validating Obsidian-flavored markdown."
allowed-tools: Bash, Read, Write
---

# Obsidian Markdown Mastery (obsidian-markdown-mastery)

Enforces deterministic parsing, formatting, and validation of Obsidian-flavored Markdown syntax.

## Contents
- [Critical Constraints](#critical-constraints)
- [Dependencies](#dependencies)
- [Quick start](#quick-start)
- [Workflow](#workflow)
- [Verification](#verification)
- [References](#references)

## Critical Constraints
- **Deterministic Python Parsing**: All link and block extraction must execute via the `obsidian-parser` module rather than ad-hoc regex.
- **Protocol Agnosticism**: The parser remains decoupled from project-specific workflows, operating solely on markdown text and AST tokens.
- **Proprietary Syntax Integrity**: Enforce exact syntax rules for wikilinks (`[[Note#Heading|Alias]]`), block IDs (`^block-id`), and callouts (`> [!type]`).
- **Vault Root Discovery**: Use `OBSIDIAN_VAULT_PATH` environment variable for root discovery, defaulting safely to repository root.

## Dependencies

Requires `obsidian-parser` and Python 3.8+ (standard library only).

## Quick start

```bash
# Extract links, embeds, and block metadata from note
python3 plugins/obsidian-wiki-engine/scripts/obsidian-parser/parser.py analyze --file <path_to_md>

# Construct an Obsidian callout block
python3 plugins/obsidian-wiki-engine/scripts/obsidian-parser/parser.py callout --type info --title "Notice" --text "Body"
```

## Workflow

1. **Phase 1: Text Ingestion & Tokenizing**: Parse target markdown files using `parser.py` to identify AST components.
2. **Phase 2: Metadata Extraction**: Segregate semantic wikilinks (`[[Link]]`) from embeds (`![[Embed]]`) and block references (`^id`).
3. **Phase 3: Syntax Authoring**: Apply deterministic formatting primitives when generating new notes or inserting callouts.
4. **Phase 4: Downstream Handoff**: Supply parsed metadata to graph traversers and vault indexers.

## Verification

```bash
# Verify parser CLI execution
python3 plugins/obsidian-wiki-engine/scripts/obsidian-parser/parser.py analyze --help

# Audit skill compliance
python3 plugins/agent-scaffolders/scripts/audit_skill.py plugins/obsidian-wiki-engine/skills/obsidian-markdown-mastery --mode source
```

## References
- [acceptance-criteria.md](references/acceptance-criteria.md) - Syntax compliance and parsing criteria.
- [fallback-tree.md](references/fallback-tree.md) - Recovery procedures for malformed markdown or broken wikilinks.

Files in this skill

  • SKILL.md3.1 KB
  • acceptance-criteria.md698 B
  • assets/resources/architecture-background.md55 B
  • assets/resources/kepano-analysis-summary.md55 B
  • assets/resources/safety-learnings.md48 B
  • evals/evals.json652 B
  • evals/results.tsv301 B
  • fallback-tree.md889 B
  • references/acceptance-criteria.md25 B
  • references/fallback-tree.md19 B
  • references/parser.py42 B
  • requirements.txt22 B
  • scripts/parser.py42 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…