markdownlint

markdownlint is a skill for Claude Code, Codex from teabranch/open-responses-server. It costs 53 tokens per session (566 once invoked), scanned A, original, MIT.

A checker for Markdown files, which are plain-text documents formatted with simple symbols. It can report formatting problems and automatically fix some of them.

In plain words
What is it for?
Use it after editing documentation, to check all supported Markdown files, check selected files, or apply available fixes.
Why use it?
It catches inconsistent or invalid document formatting before changes are committed. This avoids checking every documentation file by hand.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/teabranch/open-responses-server/markdownlint
Any agent
npx skills add teabranch/open-responses-server --skill markdownlint
Clone the repo
git clone --depth 1 https://github.com/teabranch/open-responses-server

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 markdownlint

README.md
[![agentmods](https://agentmods.dev/badge/skills/teabranch/open-responses-server/markdownlint.svg)](https://agentmods.dev/skills/teabranch/open-responses-server/markdownlint)
Your own site
<a href="https://agentmods.dev/skills/teabranch/open-responses-server/markdownlint"><img src="https://agentmods.dev/badge/skills/teabranch/open-responses-server/markdownlint.svg" alt="Measured on agentmods" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 566 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00053 $0.00566
Opus 5 $0.00026 $0.00283
Sonnet 5 $0.00011 $0.00113
Haiku 4.5 $0.00005 $0.00057

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

Security

Grade A, and why

markdownlint 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 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/lint-docs.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/markdownlint/SKILL.md · 85 lines

What it actually says

Markdownlint Skill

Lint all documentation markdown files and optionally auto-fix issues.

Quick Usage

Check all docs

bash .claude/skills/markdownlint/scripts/lint-docs.sh

Auto-fix fixable issues

bash .claude/skills/markdownlint/scripts/lint-docs.sh --fix

Check specific files

bash .claude/skills/markdownlint/scripts/lint-docs.sh docs/events-and-tool-handling.md

What Gets Linted

By default the script lints:

  • docs/*.md — top-level documentation
  • index.md — Jekyll home page
  • CLAUDE.md — repo guidance
  • .claude/skills/**/*.md — skill definitions

Excluded by default:

  • docs/plan/ — historical planning archives
  • docs/prompts/ — prompt templates
  • docs/pip-publish-instructions.md — legacy doc
  • docs/using-uv.md — legacy doc

Configuration

The script uses whichever config is found first:

  1. Project-level .markdownlint-cli2.yaml (in repo root)
  2. Global ~/.markdownlint-cli2.yaml
  3. markdownlint built-in defaults

The global config disables:

  • MD013 (line length) — too noisy for content-heavy docs and tables
  • MD060 (table pipe spacing) — stylistic preference

Workflow

After editing any .md file:

  1. Run bash .claude/skills/markdownlint/scripts/lint-docs.sh
  2. If issues found, run with --fix to auto-fix what can be fixed
  3. Manually fix remaining issues
  4. Re-run to verify clean

Common Rules

Rule What It Checks
MD001 Heading levels increment by one
MD004 Consistent unordered list style (dashes)
MD009 No trailing spaces
MD022 Blank lines around headings
MD025 Single H1 per document (use front matter title)
MD031 Blank lines around fenced code blocks
MD032 Blank lines around lists
MD040 Fenced code blocks should have a language
MD047 Files end with a single newline
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. 5d ago First seen · 85 lines · 53 tokens per session scan A bf5f9c5cfd62

Subscribe to this mod's changes

markdownlint is a skill published in the GitHub repository teabranch/open-responses-server (185 stars, last pushed 4mo ago), licensed MIT. It adds 53 tokens to every session and 566 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-30.