skill-linter

skill-linter is a skill for Claude Code, Codex from Morningstar202604/awesome-skillkit. It costs 123 tokens per session (2,950 once invoked), scanned A, original, Apache-2.0.

A static checker for agent skill files and skill directories. It reports whether files follow the project's required structure, naming, descriptions, references, and other format rules.

In plain words
What is it for?
Use it to validate one SKILL.md file, one skill directory, or a whole collection of skills. It can produce a normal report or machine-readable JSON for automated checks.
Why use it?
It finds specification problems before a skill is submitted or used. Each problem includes a suggested fix, but the checker does not edit the files.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 skills/meta/skill-linter/scripts/lint_skill.py . # single skill self-check (run inside skill directory): expected RESULT: PASS, exit code 0.

Good fit Use it to validate one SKILL.md file, one skill directory, or a whole collection of skills. It can produce a normal report or machine-readable JSON for automated checks.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Morningstar202604/awesome-skillkit
agentmods
npx agentmods add skills/morningstar202604/awesome-skillkit/skill-linter

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/skill-linter"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/skill-linter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 123 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,950 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.00123 $0.02950
Opus 5.5 $0.00049 $0.01180
Sonnet 5.5 $0.00025 $0.00590
Haiku 4.5 $0.00012 $0.00295

Measured 2mo ago against content hash 15d5d34b4eea, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

skill-linter 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 2mo 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.

site/skills/meta/skill-linter/SKILL.md · 207 lines

How it starts

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

Skill Linter (Skill Spec Validation)

Eight static checks on SKILL.md, turning "is this skill compliant" into one exit code: returns 1 when there's a FAIL, can hang directly in CI or pre-commit. Only reports and gives fixes, doesn't modify files for you.

Boundary with same-pack skills: skill-author generates from scratch, skill-finder searches and assembles; this skill only judges spec compliance.

Known script/repo drift (read before trusting FAIL output). This repo's SKILL.md files were refactored to English headings and English prose, but the shipped scripts/lint_skill.py still hard-codes the Chinese names of the six mandatory H2 sections and a Chinese-body CJK ratio. Consequences on a correctly English skill:

  • BODY-SECTS reports 6 spurious FAILs (it looks for the Chinese H2 names, not the English ## Input Checklist / ## Pre-flight Checks / ## Workflow / ## Delivery Criteria / ## Failure Handling Table / ## References).
  • FAIL-TABLE reports 1 spurious FAIL (it looks for the Chinese heading).
  • LANG-CJK reports a WARN (English body has ~0 CJK ratio). These are code mismatches, not skill defects. Until the script's section map and language check are flipped to English, judge a skill by the English headings listed in the table below, and treat the 6–7 BODY-SECTS/FAIL-TABLE FAILs and the LANG-CJK WARN as expected noise. The exact Chinese strings the script greps for are printed in its own FIX: lines when you run it. This SKILL.md documents the intended (English) spec; fixing the script is a separate code change.

Input Checklist

Input Required Default Notes
Check target yes — SKILL.md path / single skill directory / parent directory containing multiple skills
Output format no text add --json for machine-readable report
Show PASS details? no only WARN+FAIL add --verbose to print all eight conclusions

When required input is missing, ask all at once:

Read the full file on GitHub · 207 lines

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. 2mo ago Changed · +41 lines · -18 tokens per session 15d5d34b4eea
  2. 2mo ago Changed · +12 lines ac1acf406909
  3. 2mo ago First seen · 154 lines · 141 tokens per session scan A 4563f7869e45

Subscribe to this mod's changes

skill-linter is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 123 tokens to every session and 2,950 once invoked, about $0.0005 per session on Opus 5.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-09-19.

Related

skill-linter compared with skills from other repositories

skill-linter next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
skill-linterMorningstar202604/awesome-skillkitSkill02mo agoApache-2.0A123Claude Code, Codex
safe-refactorJuliusBrussee/cavemanSkill124ktodayApache-2.0A29Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill70k3d agoApache-2.0A217Claude Code, Codex
auditing-subgroup-fairnessmaziyarpanahi/openmedSkill5.9kyesterdayApache-2.0A148Claude Code
memoryopensquilla/opensquillaSkill7.2k4d agoApache-2.0A44Claude Code, Codex
infographic-template-updaterantvis/InfographicSkill7.2k1mo agoMITA43Claude Code
pulse-configureSnowflake-Labs/cocoplusSkill72923d agoMITA12Claude Code, Codex