markdown-to-xml

markdown-to-xml is a skill for Claude Code, Codex from sonomirco/agents-and-commands. It costs 31 tokens per session (498 once invoked), scanned A, original, Apache-2.0.

A converter that turns article content from an Obsidian vault, a folder of Markdown notes, into XML, a structured text format used by other tools and publishing systems. It preserves headings, bold text, quotes, italics, links, and lists.

In plain words
What is it for?
Use it to extract an article from the vault’s Articles folder and convert its Markdown formatting into XML-style markup.
Why use it?
It removes the need to manually rewrite Markdown formatting into XML tags when preparing an article for export or publication.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/biancopeve/.claude/skills/markdown-to-xml/convert.py.

Good fit Use it to extract an article from the vault’s Articles folder and convert its Markdown formatting into XML-style markup.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

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 markdown-to-xml

README.md
[![agentmods](https://agentmods.dev/badge/skills/sonomirco/agents-and-commands/markdown-to-xml/github.svg)](https://agentmods.dev/skills/sonomirco/agents-and-commands/markdown-to-xml)
Your own site
<a href="https://agentmods.dev/skills/sonomirco/agents-and-commands/markdown-to-xml"><img src="https://agentmods.dev/badge/skills/sonomirco/agents-and-commands/markdown-to-xml/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 markdown-to-xml

Your own site · 80×15
<a href="https://agentmods.dev/skills/sonomirco/agents-and-commands/markdown-to-xml"><img src="https://agentmods.dev/badge/skills/sonomirco/agents-and-commands/markdown-to-xml.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 498 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.
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.00031 $0.00498
Opus 5 $0.00015 $0.00249
Sonnet 5 $0.00006 $0.00100
Haiku 4.5 $0.00003 $0.00050

Measured 9d ago against content hash 5698477cea4e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

markdown-to-xml 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 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (convert.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/markdown-utilities/skills/markdown-to-xml/SKILL.md · 59 lines

What it actually says

Markdown to XML Converter

Automatically convert the "### Article" section of markdown files from the Obsidian Articles folder to XML format.

When to use this skill

Use this skill when the user:

  • Asks to convert an article to XML
  • Wants to export or format an article for external use
  • Mentions converting markdown to XML/HTML
  • Needs to prepare article content for publishing

What this skill does

  1. Locates the article file in the Obsidian vault's Articles folder
  2. Extracts content under the "### Article" header
  3. Converts markdown formatting to XML:
    • Headers: # → <h1>, ## → <h2>, etc. (based on hashtag count)
    • Bold: text<strong>text</strong>
    • Blockquotes: > quote → <blockquote>quote</blockquote>
    • Italic: text<em>text</em>
    • Links: text<a href="url">text</a>
    • Lists: - item → <ul><li>item</li></ul>
  4. Saves the converted content to ~/Desktop/article_converted.md

How to use

Execute the Python conversion script:

python /Users/biancopeve/.claude/skills/markdown-to-xml/convert.py "ARTICLE_NAME"

Arguments:

  • ARTICLE_NAME: The full or partial name of the article file to convert

Example:

python /Users/biancopeve/.claude/skills/markdown-to-xml/convert.py "17. ProductInterview"

Output

The converted XML content will be saved to:

  • Location: ~/Desktop/article_converted.md
  • Format: XML tags with preserved markdown formatting

Important notes

  • The script preserves all bold text and blockquotes (important for engagement and meaningful quotes)
  • Headers are converted based on hashtag count (# = h1, ## = h2, ### = h3, etc.)
  • The script automatically finds the article in the Obsidian vault's Articles folder
  • Partial filename matches are supported for convenience
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 59 lines · 31 tokens per session scan A 5698477cea4e

Subscribe to this mod's changes

markdown-to-xml is a skill published in the GitHub repository sonomirco/agents-and-commands (12 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 31 tokens to every session and 498 once invoked, about $0.0002 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

deploy-docker-compose

Run the Omnigent server as a Docker compose stack (server + Postgres) on any Docker host — your laptop, a VPS, EC2 by hand, or as the base layer of any container-platform deploy. Invoke when the user wants to build the image, bring up the compose stack, debug the stack on a host they already have, or extend the stack…

omnigent-ai/omnigent · 84 tokens

security-audit

Audit a codebase or directory for security issues (hardcoded secrets, injection, unsafe deserialization, weak crypto, authz gaps) and produce a structured findings report. Use when the user asks for a security review, an audit, or to check code for vulnerabilities. Report only — never fix.

omnigent-ai/omnigent · 64 tokens

Workspace Data Analyst

Analyze CSV files in the workspace and summarize insights.

VoltAgent/voltagent · 14 tokens

openkb-deck-editorial

A tool for creating a single-file HTML slide presentation from compiled knowledge-base content. Its visual style uses a warm cream background, serif typography, and brick-red accents.

VectifyAI/OpenKB · 117 tokens

openkb-html-critic

Use to review a generated HTML deck or single-page artifact for visual quality and structural correctness. Especially good at catching CSS specificity bugs where slide-modifier classes (.divider, .center, .q, .flow etc.) accidentally override the base .slide{display:none} and cause one slide to stack on top of every…

VectifyAI/OpenKB · 132 tokens

map-explain

Produce a natural-language explanation of a specific Cortex function, business capability, or schema element from the committed knowledge graph.

Snowflake-Labs/cocoplus · 26 tokens