markdown-formatter

markdown-formatter is a skill for Claude Code, Codex from joonlab/joonlab-claudecode-setting-for-share. It costs 88 tokens per session (3,144 once invoked), scanned A, original, MIT.

A formatter that turns plain text, copied web content, or messy Markdown into structured Markdown documents.

In plain words
What is it for?
Use it to clean up notes, web clippings, AI output, or poorly formatted Markdown when the result should remain a Markdown document.
Why use it?
It makes inconsistent content easier to read by organizing headings, lists, tables, and code blocks using standard Markdown.

Skill for Claude CodeCodex

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

Good fit Use it to clean up notes, web clippings, AI output, or poorly formatted Markdown when the result should remain a Markdown document.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/joonlab/joonlab-claudecode-setting-for-share/markdown-formatter
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.

Any agent
npx skills add joonlab/joonlab-claudecode-setting-for-share --skill markdown-formatter
Clone the repo
git clone --depth 1 https://github.com/joonlab/joonlab-claudecode-setting-for-share

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/joonlab/joonlab-claudecode-setting-for-share/markdown-formatter/github.svg)](https://agentmods.dev/skills/joonlab/joonlab-claudecode-setting-for-share/markdown-formatter)
Your own site
<a href="https://agentmods.dev/skills/joonlab/joonlab-claudecode-setting-for-share/markdown-formatter"><img src="https://agentmods.dev/badge/skills/joonlab/joonlab-claudecode-setting-for-share/markdown-formatter/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-formatter

Your own site · 80×15
<a href="https://agentmods.dev/skills/joonlab/joonlab-claudecode-setting-for-share/markdown-formatter"><img src="https://agentmods.dev/badge/skills/joonlab/joonlab-claudecode-setting-for-share/markdown-formatter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,144 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.00088 $0.03144
Opus 5.5 $0.00035 $0.01258
Sonnet 5.5 $0.00018 $0.00629
Haiku 4.5 $0.00009 $0.00314

Measured 3mo ago against content hash f6e9e9b0bd92, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

markdown-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 3mo 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.

claude/skills/markdown-formatter/SKILL.md · 555 lines

How it starts

The opening of the file, as written. The whole thing — 555 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Markdown Formatter

Overview

Transform any content—plain text, web clippings, AI-generated output, or messy markdown—into clean, well-structured markdown documents. This skill intelligently analyzes content structure and applies appropriate markdown syntax to enhance readability and organization.

When to Use This Skill

Use this skill when:

  • User provides content and requests markdown formatting
  • Plain text needs structure and markdown syntax
  • Web content or copied text needs cleanup
  • AI-generated content needs proper markdown formatting
  • Poorly formatted markdown needs standardization
  • Lists, tables, or code blocks need proper syntax

Trigger phrases:

  • "Format this as markdown"
  • "마크다운으로 정리해줘"
  • "Clean up this text"
  • "Convert to markdown"
  • "Make this markdown"

Do NOT use this skill when:

  • Content is already well-formatted markdown
  • User wants to preserve exact original formatting
  • Request is for specialized vault formats (use cmds-doc-formatter instead)

Workflow: 6-Step Markdown Transformation

Follow these steps in order to transform any content into clean markdown:

Step 1: Analyze Content Structure

Before applying any formatting, understand the content structure by identifying:

Hierarchical elements:

  • Main title (will become H1)
  • Major sections (will become H2)
  • Subsections (will become H3-H6)
  • Logical groupings and boundaries

Content types:

  • Paragraphs and body text
  • Lists (ordered/unordered/nested)
  • Tabular or structured data
  • Code snippets or technical content
  • Quotes or callouts
  • Emphasis patterns (bold/italic)

Action items:

  1. Read through entire content once
  2. Identify the main topic and major sections
  3. Note patterns that indicate structure (numbering, indentation, repetition)
  4. Look for content that should be tables, lists, or code blocks
  5. Identify relationships between sections

Step 2: Apply Heading Hierarchy

Create clear document structure with proper heading levels.

Heading rules:

  • H1 (#) - Document title (only ONE per document)
  • H2 (##) - Major sections
  • H3 (###) - Subsections under H2
  • H4 (####) - Detailed breakdowns
  • H5-H6 - Rarely needed, only for very deep nesting

Read the full file on GitHub · 555 lines

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. 3mo ago First seen · 555 lines · 88 tokens per session scan A f6e9e9b0bd92

Subscribe to this mod's changes

markdown-formatter is a skill published in the GitHub repository joonlab/joonlab-claudecode-setting-for-share (15 stars, last pushed 5d ago), licensed MIT. It adds 88 tokens to every session and 3,144 once invoked, about $0.0004 per session on Opus 5.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-31.

Related

markdown-formatter compared with skills from other repositories

markdown-formatter next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
markdown-formatterjoonlab/joonlab-claudecode-setting-for-shareSkill155d agoMITA88Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill331k4d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code