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.
npx skills add kay-ou/ClaudeSkills --skill md-to-json-parsergit clone --depth 1 https://github.com/kay-ou/ClaudeSkillsWrote 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.
[](https://agentmods.dev/skills/kay-ou/claudeskills/md-to-json-parser)<a href="https://agentmods.dev/skills/kay-ou/claudeskills/md-to-json-parser"><img src="https://agentmods.dev/badge/skills/kay-ou/claudeskills/md-to-json-parser/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.
<a href="https://agentmods.dev/skills/kay-ou/claudeskills/md-to-json-parser"><img src="https://agentmods.dev/badge/skills/kay-ou/claudeskills/md-to-json-parser.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00724 |
| Opus 5 | $0.00000 | $0.00362 |
| Sonnet 5 | $0.00000 | $0.00145 |
| Haiku 4.5 | $0.00000 | $0.00072 |
Grade A, and why
md-to-json-parser 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.
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.
What it actually says
name: md-to-json-parser description: Structure Markdown documents into JSON, supporting headings, paragraphs, tables, code blocks, etc. This skill should be used when users need to parse markdown files, convert markdown to structured data, extract content from markdown documents, analyze markdown structure, or process .md files programmatically. Keywords: markdown解析, markdown转JSON, 提取markdown结构, 分析markdown文档, parse markdown, convert md to json, extract markdown content, markdown structure analysis, process markdown files, 处理markdown文件 inputs:
- md_file_path outputs:
- structured_json instructions: |
Markdown to JSON Parser
This skill parses Markdown documents and converts them into structured JSON format, making it easier for Claude to understand and work with document content programmatically.
When to Use This Skill
Use this skill when you need to:
- Extract structured data from Markdown files
- Convert documentation into JSON for processing
- Analyze document structure and content
- Process Markdown files programmatically
Processing Steps
Step 1: Load and Validate Markdown File
- Read the Markdown file from the provided path
- Validate file exists and is readable
- Handle encoding issues (default to UTF-8)
Step 2: Parse Document Structure
- Extract headings (H1-H6) with their hierarchy
- Identify paragraphs and text content
- Locate tables and convert to structured format
- Find code blocks with their language annotations
- Detect lists (ordered and unordered)
- Identify links, images, and other inline elements
Step 3: Convert Tables to Arrays
- Parse table headers as column names
- Convert each row to a JSON object
- Preserve cell content with proper escaping
- Handle merged cells appropriately
Step 4: Preserve Code Blocks
- Maintain original formatting and indentation
- Preserve language annotations
- Keep special characters and syntax intact
- Handle multi-line code blocks correctly
Step 5: Generate Structured JSON Output
- Create hierarchical structure reflecting document organization
- Include metadata like word count, heading count, etc.
- Preserve relationships between elements
- Ensure JSON is valid and well-formed
Output Format
The structured JSON includes:
{
"metadata": {
"title": "Document Title",
"word_count": 1500,
"heading_count": 8,
"table_count": 3,
"code_block_count": 5
},
"structure": {
"headings": [
{"level": 1, "text": "Main Title", "id": "main-title"}
],
"paragraphs": [
{"text": "Content...", "word_count": 120}
],
"tables": [
{
"headers": ["Column1", "Column2"],
"rows": [
{"Column1": "data1", "Column2": "data2"}
]
}
],
"code_blocks": [
{
"language": "python",
"content": "def example():\n pass"
}
]
}
}
Error Handling
- Handle missing files gracefully
- Manage encoding issues
- Deal with malformed Markdown
- Report parsing errors clearly
- Validate JSON output format
What ships with it
2 files 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.
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.
- 9d ago First seen · 97 lines · 0 tokens per session scan A 32ab17cf06af
md-to-json-parser is a skill published in the GitHub repository kay-ou/ClaudeSkills (11 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 724 tokens. 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.
Other skills, from other repositories
xlsx
Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify…
invoice-organizer
Automatically organizes invoices and receipts for tax preparation by reading messy files, extracting key information, renaming them consistently, and sorting them into logical folders. Turns hours of manual bookkeeping into minutes of automated organization.
Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.
notion-knowledge-capture
Transforms conversations and discussions into structured documentation pages in Notion. Captures insights, decisions, and knowledge from chat context, formats appropriately, and saves to wikis or databases with proper organization and linking for easy discovery.
notion-research-documentation
Searches across your Notion workspace, synthesizes findings from multiple pages, and creates comprehensive research documentation saved as new Notion pages. Turns scattered information into structured reports with proper citations and actionable insights.
pptx
Presentation creation, editing, and analysis. When Claude needs to work with presentations (.pptx files) for: (1) Creating new presentations, (2) Modifying or editing content, (3) Working with layouts, (4) Adding comments or speaker notes, or any other presentation tasks.