markdown-syntax-formatter

markdown-syntax-formatter is an agent for Claude Code from davepoon/buildwithclaude. It costs 40 tokens per session (336 once invoked), scanned A, original, MIT.

A Markdown formatting assistant that converts visual text structure into valid Markdown. Markdown is plain text notation for headings, lists, links, emphasis, and code blocks.

In plain words
What is it for?
Use it to repair headings, lists, indentation, code blocks, emphasis markers, and language labels for code examples.
Why use it?
It fixes inconsistent formatting and document structure so Markdown renders predictably across editors and websites.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the agents-documentation plugin — 3 agents shipped together

Good fit Use it to repair headings, lists, indentation, code blocks, emphasis markers, and language labels for code examples.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/davepoon/buildwithclaude/markdown-syntax-formatter
About the project

davepoon/buildwithclaude is a discovery hub and plugin marketplace for Claude Code extensions, including agents, commands, hooks, skills, plugins, MCP servers, and marketplace collections. Developers use it to browse, search, and find installation instructions for tools that extend Claude-related workflows. Catalogue entries include agents, plugins, commands, and skills from this collection.

davepoon/buildwithclaude · 3,421 stars · on GitHub · buildwithclaude.com

Install

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.

Clone the repo
git clone --depth 1 https://github.com/davepoon/buildwithclaude

Made for: Claude Code.

Or install agents-documentation, the plugin that ships this one along with the rest of its 3 agents.

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-syntax-formatter

README.md
[![agentmods](https://agentmods.dev/badge/agents/davepoon/buildwithclaude/markdown-syntax-formatter.svg)](https://agentmods.dev/agents/davepoon/buildwithclaude/markdown-syntax-formatter)
Your own site
<a href="https://agentmods.dev/agents/davepoon/buildwithclaude/markdown-syntax-formatter"><img src="https://agentmods.dev/badge/agents/davepoon/buildwithclaude/markdown-syntax-formatter.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 336 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.00040 $0.00336
Opus 5 $0.00020 $0.00168
Sonnet 5 $0.00008 $0.00067
Haiku 4.5 $0.00004 $0.00034

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

Security

Grade A, and why

markdown-syntax-formatter 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 4d 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.

plugins/agents-documentation/agents/markdown-syntax-formatter.md · 31 lines

What it actually says

You are an expert Markdown Formatting Specialist with deep knowledge of CommonMark and GitHub Flavored Markdown specifications. Your primary responsibility is to ensure documents have proper markdown syntax and consistent structure.

When invoked:

  • Analyze document structure to understand intended hierarchy and formatting elements
  • Convert visual formatting cues into proper markdown syntax
  • Fix heading hierarchies ensuring logical progression without skipping levels
  • Format lists with consistent markers and proper indentation
  • Handle code blocks and inline code with appropriate language identifiers

Process:

  1. Examine input text to identify headings, lists, code sections, emphasis, and structural elements
  2. Transform visual cues (ALL CAPS, bullet points, emphasis indicators) to correct markdown
  3. Ensure heading hierarchy follows logical progression with proper spacing
  4. Convert numbered sequences to ordered lists and bullet points to consistent unordered lists
  5. Apply proper code block formatting with language identifiers when apparent
  6. Use correct emphasis markers (double asterisks for bold, single for italic)
  7. Verify all syntax renders correctly and follows markdown best practices

Provide:

  • Clean, well-formatted markdown that renders correctly in standard parsers
  • Proper document structure with logical flow preserved
  • Consistent formatting for lists, headings, code blocks, and emphasis
  • Correct spacing and line breaks following markdown conventions
  • Quality-checked output with no broken formatting or parsing errors
  • Intelligent formatting decisions for ambiguous cases based on context and common conventions
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. 4d ago First seen · 31 lines · 40 tokens per session scan A fcf73dafd22e

Subscribe to this mod's changes

markdown-syntax-formatter is an agent published in the GitHub repository davepoon/buildwithclaude (3,421 stars, last pushed today), licensed MIT. It adds 40 tokens to every session and 336 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-09-03.

Related

Other agents, from other repositories

frontend-reviewer

Reviews interface, branding and copy. Always verifies against a screenshot and the rendered DOM, never by reading CSS or HTML.

everywan-dev/claude-code-engineering · 28 tokens

cold-reading-comparative

Cold reading at the comparative position. For each candidate and each declared criterion, how do options of this shape ordinarily behave? Returns one item per candidate-criterion pair, under the evaluative supply regime.

intentdriven/abcd · 46 tokens

cold-reading-widening

Cold reading at the widening position. Given the situation as this design construes it, what configurations does the construal admit that are not present in what has been committed to? Returns configurations and what admits each, under the generative supply regime.

intentdriven/abcd · 55 tokens

1-ceo-quality-control-agent

Universal quality control orchestrator and final authority for any software development project. Dynamically discovers and coordinates with available sub-agents, performs comprehensive multi-dimensional quality assessment, security validation, and deployment readiness verification. Adapts to any project type…

xbim08/awesome-claude-code-plugins · 0 tokens

code-reviewer

Reviews code for bugs, logic errors, security vulnerabilities, code quality issues, and adherence to project conventions, using confidence-based filtering to report only high-priority issues that truly matter.

thevibeworks/claude-code-docs · 39 tokens

api-tester

Use this agent for comprehensive API testing including performance testing, load testing, and contract testing. This agent specializes in ensuring APIs are robust, performant, and meet specifications before deployment. Examples:\n\n \nContext: Testing API performance under load.

xbim08/awesome-claude-code-plugins · 0 tokens