markdown-fix

markdown-fix is a skill for Claude Code, Codex from eaglesakura/agent-skills. It costs 116 tokens per session (516 once invoked), scanned A, original, MIT.

A formatting and linting workflow for Markdown files, which are plain-text documents with headings, lists, and code blocks. It standardizes formatting and fixes markdownlint warnings.

In plain words
What is it for?
Use it after editing one or more Markdown files to auto-fix style issues, resolve remaining warnings, and verify the result.
Why use it?
It removes avoidable formatting problems so documents are easier to review and process consistently.

Skill for Claude CodeCodex

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

Good fit Use it after editing one or more Markdown files to auto-fix style issues, resolve remaining warnings, and verify the result.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/eaglesakura/agent-skills/markdown-fix
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 eaglesakura/agent-skills --skill markdown-fix
Clone the repo
git clone --depth 1 https://github.com/eaglesakura/agent-skills

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/eaglesakura/agent-skills/markdown-fix/github.svg)](https://agentmods.dev/skills/eaglesakura/agent-skills/markdown-fix)
Your own site
<a href="https://agentmods.dev/skills/eaglesakura/agent-skills/markdown-fix"><img src="https://agentmods.dev/badge/skills/eaglesakura/agent-skills/markdown-fix/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-fix

Your own site · 80×15
<a href="https://agentmods.dev/skills/eaglesakura/agent-skills/markdown-fix"><img src="https://agentmods.dev/badge/skills/eaglesakura/agent-skills/markdown-fix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 116 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 516 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.00116 $0.00516
Opus 5.5 $0.00046 $0.00206
Sonnet 5.5 $0.00023 $0.00103
Haiku 4.5 $0.00012 $0.00052

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

Security

Grade A, and why

markdown-fix 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 2mo 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.

packages/agentic-workspace/.apm/skills/markdown-fix/SKILL.md · 52 lines

What it actually says

Markdown / Fix Lint, Fix Format

書式が揃っていると markdown-search の見出し抽出やレビュー差分が安定する。 内容の設計は別 SKILL に任せ、ここでは lint / format に集中する。

いつ使うか

  • *.md 作成・更新の直後
  • 「整形」「lint」「フォーマット」依頼
  • ディレクトリ配下の Markdown をまとめて直すとき

入力

  • 対象ファイル、またはディレクトリ(配下のすべての *.md)
find "path/to/directory/" -name "*.md"

手順

基本ツールは npx markdownlint-cli2。 コマンド実行時は、プロジェクト規定のツールチェイン(あれば)に従う。

ステップ1. 自動修正

npx markdownlint-cli2 --fix path/to/markdown_file.md

複数ファイル・ディレクトリも同様にパスを渡す。

ステップ2. 残件の手修正

  • --fix で消えない警告はメッセージを読み、個別に直す
  • 技術文書の見出しルール(重複見出し・言語タグ等)は markdown-documentation の lint リファレンスを参照してよい

ステップ3. 再実行

  • 手修正後にもう一度ステップ1を実行し、警告ゼロを目指す
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. 2mo ago First seen · 52 lines · 116 tokens per session scan A 412e79f63739

Subscribe to this mod's changes

markdown-fix is a skill published in the GitHub repository eaglesakura/agent-skills (2 stars, last pushed 1mo ago), licensed MIT. It adds 116 tokens to every session and 516 once invoked, about $0.0005 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-09-04.

Related

markdown-fix compared with skills from other repositories

markdown-fix next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
markdown-fixeaglesakura/agent-skillsSkill21mo agoMITA116Claude Code, Codex
imagegenopenai/codexSkill134ktodayApache-2.0A113Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79ktodayMITA200Claude Code, Codex
playwright-climicrosoft/playwrightSkill99ktodayApache-2.0A19Claude Code
systematic-debuggingobra/superpowersSkill314k4d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code
chat-pet-sprite-creationmicrosoft/vscodeSkill195ktodayMITA53Claude Code, Codex