markdown-linter-fixer

markdown-linter-fixer is a skill for Claude Code, Codex from s2005/markdown-linter-fixer-skill. It costs 60 tokens per session (2,237 once invoked), scanned A, original, MIT.

A workflow for finding and fixing formatting problems in Markdown files. Markdown is plain text formatted with simple symbols for headings, lists, links, and other document elements.

In plain words
What is it for?
Use it to check documentation, fix markdownlint errors such as incorrect list numbering, and verify the files afterward.
Why use it?
It identifies inconsistent or invalid Markdown formatting and handles fixes that would otherwise be tedious to find by hand.

Skill for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also agents/openai.yaml present.

Part of the markdown-linter-fixer plugin — 1 skill, 1 command shipped together

Good fit Use it to check documentation, fix markdownlint errors such as incorrect list numbering, and verify the files afterward.

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

Made for: Claude Code, Codex.

Or install markdown-linter-fixer, the plugin that ships this one along with the rest of its 1 skill, 1 command.

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-linter-fixer

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/s2005/markdown-linter-fixer-skill/markdown-linter-fixer"><img src="https://agentmods.dev/badge/skills/s2005/markdown-linter-fixer-skill/markdown-linter-fixer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,237 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.00060 $0.02237
Opus 5 $0.00030 $0.01118
Sonnet 5 $0.00012 $0.00447
Haiku 4.5 $0.00006 $0.00224

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

Security

Grade A, and why

markdown-linter-fixer 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.

skills/markdown-linter-fixer/SKILL.md · 298 lines

How it starts

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

Markdown Linter Fixer

Contents

Overview

Systematically fix linting issues in *.md files using markdownlint-cli2 through a structured workflow that diagnoses, fixes automatically where possible, and guides manual fixes when needed.

When to Use This Skill

Use this skill when:

  • Fixing markdown linting errors in projects
  • Standardizing markdown formatting across multiple files
  • Addressing ordered list numbering issues (MD029)
  • Preparing markdown documentation for quality standards
  • Setting up markdown linting for the first time in a project

Workflow Process

Phase 1: Environment Setup & Prerequisites

Verify markdownlint-cli2 Installation

Check if markdownlint-cli2 is installed:

markdownlint-cli2 --version

If missing, install it globally via npm:

npm install -g markdownlint-cli2

Handle any permission or installation errors by suggesting:

  • Local installation: npm install --save-dev markdownlint-cli2
  • Using npx: npx markdownlint-cli2
  • User-specific npm directory configuration
Configuration File Check

Look for existing markdown configuration files in the project root:

  • .markdownlint-cli2.jsonc
  • .markdownlint.json
  • .markdownlint.yaml
  • .markdownlint.yml
  • .markdownlintrc

If none exist, create .markdownlint-cli2.jsonc with:

Read the full file on GitHub · 298 lines

Files

What ships with it

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

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 · 298 lines · 60 tokens per session scan A 5dab4ab057ce

Subscribe to this mod's changes

markdown-linter-fixer is a skill published in the GitHub repository s2005/markdown-linter-fixer-skill (10 stars, last pushed 5mo ago), licensed MIT. It adds 60 tokens to every session and 2,237 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

format-markdown

Formats Markdown files consistently using project-native tooling first (repo scripts/config), then safe fallback formatters, and verifies the result with lint/check commands. Invoked when the user asks to format markdown, tidy docs, normalize README files, or fix markdown style drift.

soulcodex/agentic · 56 tokens

github-format-standards

Use when the user wants to share a project to GitHub. Runs a full pipeline: root audit, file naming and structure, document fixes (headings, code-block language tags, table alignment, explicit command interpreters), generate missing files (LICENSE, .gitignore, CONTRIBUTING.md, Issue/PR templates), README rewrite…

hawkongz/github-format-standards · 156 tokens

github-format-standards

A workflow for preparing a project for publication on GitHub, a website for hosting and sharing code. It reviews the project, fixes documentation and structure, creates common project files, and can create and push a repository.

hawkongz/github-format-standards · 165 tokens

processing-markdown

Processes Markdown files using mq, a jq-like query language for Markdown. Use when the user mentions Markdown processing, content extraction, document transformation, or mq queries.

harehare/mq · 36 tokens

web-scraping

Fetches web pages and extracts structured data using mq's toolchain (mq-crawl for fetching/crawling/JS rendering, mq for HTML-to-Markdown selector-based extraction, http() for in-query requests). Use when the user wants to scrape a URL, pull structured data out of a webpage, crawl a site, or turn HTML into…

harehare/mq · 89 tokens

slopless

Use Slopless to review English Markdown for deterministic AI and human slop signals, including vague phrasing, formulaic prose, weak rhythm, filler, and cliches.

berelevant-ai/slopless · 39 tokens