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.
git clone --depth 1 https://github.com/cdbattags/aiWrote 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.
[](https://agentmods.dev/rules/cdbattags/ai/markdownlint-compliance)<a href="https://agentmods.dev/rules/cdbattags/ai/markdownlint-compliance"><img src="https://agentmods.dev/badge/rules/cdbattags/ai/markdownlint-compliance/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.
<a href="https://agentmods.dev/rules/cdbattags/ai/markdownlint-compliance"><img src="https://agentmods.dev/badge/rules/cdbattags/ai/markdownlint-compliance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00534 |
| Opus 5.5 | $0.00000 | $0.00214 |
| Sonnet 5.5 | $0.00000 | $0.00107 |
| Haiku 4.5 | $0.00000 | $0.00053 |
Grade A, and why
markdownlint-compliance 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.
What it actually says
Markdownlint Compliance
When creating or editing Markdown files (.md, .mdc, .mdx), follow the markdownlint
default rules unless a workspace .markdownlint.json / .markdownlint.jsonc /
.markdownlint.yaml overrides them.
Before Writing Markdown
Check for a workspace config:
.markdownlint.jsonor.markdownlint.jsoncin the workspace rootmarkdownlint.configin.vscode/settings.json
If one exists, follow its overrides. If not, use defaults.
Rules the AI Commonly Violates
| Rule | What | Fix |
|---|---|---|
| MD031 | Fences need blank lines | Blank line above/below fences |
| MD032 | Lists need blank lines | Blank line above/below lists |
| MD040 | Fences need language tag | Add bash, json, etc. |
| MD034 | No bare URLs in prose | Wrap in <url> or [text](url) |
Quick Reference
<!-- ✅ GOOD: blank lines around fences and lists -->
Some text.
- Item one
- Item two
More text.
```bash
echo "has a language tag"
```
<!-- ❌ BAD: missing blank lines, no language tag -->
Some text.
- Item one
- Item two
More text.
```
echo "no language tag"
```
Auto-Fix
Most whitespace-related violations can be fixed automatically:
npx markdownlint-cli2 "path/to/file.md" --fix
Auto-fixable rules: MD009, MD010, MD012, MD022, MD023, MD027, MD030, MD031, MD032, MD047.
Not auto-fixable (must fix manually): MD013 (line length), MD036 (emphasis as heading), MD040 (code fence language), MD034 (bare URLs).
For bulk fixes across a directory:
npx markdownlint-cli2 "docs/**/*.md" --fix
After Editing Markdown
- Run auto-fix:
npx markdownlint-cli2 "path/to/file.md" --fix - Run
ReadLintson the file to catch remaining violations - Manually fix anything
--fixcouldn't resolve
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.
- 3mo ago First seen · 81 lines · 0 tokens per session scan A 9e469d43c1aa
markdownlint-compliance is a cursor rule published in the GitHub repository cdbattags/ai (5 stars, last pushed 9mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 534 tokens. 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.
markdownlint-compliance compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| markdownlint-compliancecdbattags/ai | Cursor rule | 5 | 9mo ago | MIT | A | 0 | Cursor |
| 23-app-startuporbitalsonic/AndroidPilot | Cursor rule | 1 | 1mo ago | none | A | 0 | Cursor |
| 00-globalorbitalsonic/AndroidPilot | Cursor rule | 1 | 1mo ago | none | A | 1,474 | Cursor |
| 03-android-architectureorbitalsonic/AndroidPilot | Cursor rule | 1 | 1mo ago | none | A | 0 | Cursor |
| 12-naming-conventionsorbitalsonic/AndroidPilot | Cursor rule | 1 | 1mo ago | none | A | 0 | Cursor |
| 30-screen-languageorbitalsonic/AndroidPilot | Cursor rule | 1 | 1mo ago | none | A | 0 | Cursor |
| 29-screen-startuporbitalsonic/AndroidPilot | Cursor rule | 1 | 1mo ago | none | A | 0 | Cursor |