fixing-markdown

fixing-markdown is a skill for Claude Code from Jacopalas/agentic-ai-palas. It costs 57 tokens per session (2,131 once invoked), scanned A, original, MIT.

A Markdown formatting checker and fixer for files or folders. Markdown is plain text used to format documentation, notes, and content.

In plain words
What is it for?
Use it to clean up one Markdown file or all Markdown files inside a folder, including fixing lint and formatting errors.
Why use it?
It finds and corrects common formatting problems instead of leaving you to fix them by hand. A final check shows whether issues remain.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the palas-basic plugin — 2 skills shipped together

Good fit Use it to clean up one Markdown file or all Markdown files inside a folder, including fixing lint and formatting errors.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jacopalas/agentic-ai-palas/fixing-markdown
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 Jacopalas/agentic-ai-palas --skill fixing-markdown
Clone the repo
git clone --depth 1 https://github.com/Jacopalas/agentic-ai-palas

Made for: Claude Code.

Or install palas-basic, the plugin that ships this one along with the rest of its 2 skills.

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 fixing-markdown

README.md
[![agentmods](https://agentmods.dev/badge/skills/jacopalas/agentic-ai-palas/fixing-markdown.svg)](https://agentmods.dev/skills/jacopalas/agentic-ai-palas/fixing-markdown)
Your own site
<a href="https://agentmods.dev/skills/jacopalas/agentic-ai-palas/fixing-markdown"><img src="https://agentmods.dev/badge/skills/jacopalas/agentic-ai-palas/fixing-markdown.svg" alt="Measured on agentmods" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,131 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.00057 $0.02131
Opus 5 $0.00028 $0.01066
Sonnet 5 $0.00011 $0.00426
Haiku 4.5 $0.00006 $0.00213

Measured 8d ago against content hash 58056b557b8e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

fixing-markdown 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 8d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/fix_md_extra.py), 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.

plugins/palas-basic/skills/fixing-markdown/SKILL.md · 226 lines

How it starts

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

/palas-basic:fixing-markdown — Validate and Fix Markdown

IMPORTANT: Before starting execution, inform the user: "ESTOY EJECUTANDO EL SKILL /palas-basic:fixing-markdown"

Run markdownlint-cli2 + fix_md_extra.py + prettier to auto-fix markdown formatting issues.

CRITICAL: Execution Requirements

ALWAYS run ALL tools in sequence, regardless of exit codes.

  1. markdownlint-cli2 may exit with code 1 if it finds errors it cannot auto-fix. This is expected behavior—proceed anyway.
  2. fix_md_extra.py fixes issues markdownlint cannot auto-fix (MD040, MD025).
  3. prettier must ALWAYS run after the previous steps.
  4. After all tools complete, verify with a final markdownlint check.

Correct flow:

markdownlint-cli2 --fix → fix_md_extra.py → prettier --write → markdownlint-cli2 (verify)

Wrong flow (DO NOT DO THIS):

markdownlint-cli2 --fix → (sees exit code 1) → STOP

Usage

/palas:fixing-markdown <target>

Arguments:

  • target (Required):
    • File path: Single file (e.g., src/content/posts/example.md)
    • Folder path: All .md files recursively (e.g., src/content/posts)

No argument = show this usage.

Exclusions

NEVER modify files under .agent/ directory.

The .agent/ directory (git-ignored) contains Antigravity Kit 2.0—optional tooling for Antigravity IDE users. These files are managed externally and have their own formatting conventions. This skill must:

  1. Reject any target that is .agent/ or starts with .agent/
  2. Exclude .agent/ when target is . or root directory
  3. Skip any file path containing /.agent/ or \.agent\

If user requests .agent/ formatting, respond:

Skipping .agent/ — this directory is managed externally (Antigravity Kit).
Use Antigravity's own formatting tools if needed.

Environment Setup

This skill uses zero-footprint dependency management:

  • JavaScript CLI tools (markdownlint-cli2, prettier): Executed via pnpm dlx — no package.json or node_modules needed
  • Python scripts: Executed via uv run with PEP 723 inline metadata — no requirements.txt or .venv needed

Read the full file on GitHub · 226 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. 8d ago First seen · 226 lines · 57 tokens per session scan A 58056b557b8e

Subscribe to this mod's changes

fixing-markdown is a skill published in the GitHub repository Jacopalas/agentic-ai-palas (2 stars, last pushed 5mo ago), licensed MIT. It adds 57 tokens to every session and 2,131 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

create-custom-grader

Use when converting an existing benchmark, rubric, verifier, task YAML/JSON, or domain check into SkillEvaluator BYOG/BYOT custom evaluation.

NVIDIA/SkillEvaluator · 35 tokens

agent-ready-cloudflare

Audit and improve website readiness for AI agents using the Cloudflare "Is It Agent Ready?" scanner (isitagentready.com). Covers scanning via API, interpreting results, generating implementation prompts, and fixing every check. Use when the user mentions "agent ready", "isitagentready", "AI agent scan", "agent…

fabricioctelles/skills · 158 tokens

aidlc-master

Runs the AWS AI-DLC (AI-Driven Development Life Cycle) methodology end to end: an adaptive three-phase workflow (Inception → Construction → Operations) with human approval gates, a full audit trail, and all artifacts in aidlc-docs/. Use when the user says "Using AI-DLC", "AI-DLC", "AIDLC", "aidlc-master", or asks for…

fabricioctelles/skills · 243 tokens

slop-eval

Objectively evaluate a UI/web design against the pols.dev anti-slop design law: detect catalogued slop tells with cited evidence, score 8 weighted axes (color, type, components, layout, motion, execution, signature, cohesion), and emit a Slop Report with a 0–100 Slop Index and grade. Use when the user asks to…

fabricioctelles/skills · 142 tokens

ralph-loop-kiro-specs

Automated iterative agent runner for spec-based development in Kiro. Wraps kiro-cli in a self-correcting bash loop that picks up tasks from a Kiro spec, implements them one at a time, verifies against exit criteria, and accumulates corrections and codebase patterns across iterations. Use this skill when the user…

fabricioctelles/skills · 192 tokens

security-specialist

Runs security audits on codebases — full scans, diff reviews, threat models, vulnerability triage, remediation guidance, and finding tracking. Activate when the user says "security scan", "audit this repo", "review this PR for security", "threat model", "triage vulnerabilities", "fix this vuln", or "track findings".

fabricioctelles/skills · 72 tokens