yet-another-agent-harness: Skill for Claude Code

.claude/skills/markdownlint/SKILL.md

markdownlint is a skill for Claude Code from dirien/yet-another-agent-harness. It costs 54 tokens per session (898 once invoked), scanned B, original, MIT.

A checker for Markdown files, the plain-text format often used for documentation, that compares them with formatting rules.

In plain words
What is it for?
Use it when creating or editing README files, guides, or other Markdown documentation, or when enforcing a shared documentation style.
Why use it?
It catches inconsistent headings, spacing, structure, and other writing-format problems before they reach a review. It can use the project's own rules or sensible defaults, and can fix some issues automatically.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is dirien/yet-another-agent-harness's own configuration. It tells Claude Code how to work on yet-another-agent-harness itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything yet-another-agent-harness configures →

Reuse

Borrowing it

Nothing to install: this file belongs to dirien/yet-another-agent-harness. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/dirien/yet-another-agent-harness/main/.claude/skills/markdownlint/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/dirien/yet-another-agent-harness

Made for: Claude Code.

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/dirien/yet-another-agent-harness/markdownlint.svg)](https://agentmods.dev/skills/dirien/yet-another-agent-harness/markdownlint)
Your own site
<a href="https://agentmods.dev/skills/dirien/yet-another-agent-harness/markdownlint"><img src="https://agentmods.dev/badge/skills/dirien/yet-another-agent-harness/markdownlint.svg" alt="Measured on agentmods" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 898 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00054 $0.00898
Opus 5 $0.00027 $0.00449
Sonnet 5 $0.00011 $0.00180
Haiku 4.5 $0.00005 $0.00090

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

Security

Grade B, and why

markdownlint scanned grade B with 1 finding 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 7d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- Use `sudo npm install -g ...` or fix npm permissions
.claude/skills/markdownlint/SKILL.md · 140 lines

How it starts

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

Markdownlint

Validate markdown files follow formatting standards. Enables consistent documentation, readable diffs, and POSIX compliance.

What this skill does

  1. Checks if markdownlint-cli is installed; installs if missing.
  2. Detects project-specific markdownlint configuration or falls back to a minimal default config.
  3. Validates markdown files for formatting, structure, and style.
  4. Optionally auto-fixes common issues with --fix flag; reports errors with specific rules and fixes.

Installation check

# Check if markdownlint is available
markdownlint --version 2>/dev/null

If not installed, install globally:

npm install -g markdownlint-cli

If installation fails (permissions, no npm), stop validation and report the issue with remediation steps:

  • Use sudo npm install -g ... or fix npm permissions
  • Use a Node version manager (nvm, volta, fnm)
  • Install Node.js if not present

Do not silently skip validation.

Config detection priority

  1. .markdownlint.json in project root
  2. .markdownlint.yaml in project root
  3. .markdownlintrc in project root
  4. markdownlint field in package.json
  5. Default config (see references/markdownlint-config.json)

If no project config exists, create a temporary .markdownlint.json using the default config from the reference file before running validation.

Validation workflow

1. Check markdownlint installation
   ├─ Installed → continue
   └─ Missing → install, then continue (fail if install fails)

2. Detect project config
   ├─ Found → use it
   └─ Not found → use default config from references/

3. Run validation
   ├─ Check only:
   │    markdownlint <files-or-directories>
   └─ Auto-fix:
        markdownlint --fix <files-or-directories>

4. Report results
   ├─ Valid → confirm and proceed
   └─ Invalid → show errors, suggest fixes, re-validate after correction

Read the full file on GitHub · 140 lines

Files

What ships with it

2 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. 7d ago First seen · 140 lines · 54 tokens per session scan B d9f0a282ac8f

Subscribe to this mod's changes

markdownlint is a skill published in the GitHub repository dirien/yet-another-agent-harness (20 stars, last pushed 3mo ago), licensed MIT. It adds 54 tokens to every session and 898 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

babysit-pr

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…

openai/codex · 114 tokens