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.
npx skills add William-Yeh/agent-skill-linter --skill skillgit clone --depth 1 https://github.com/William-Yeh/agent-skill-linterWrote 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/skills/william-yeh/agent-skill-linter/skill)<a href="https://agentmods.dev/skills/william-yeh/agent-skill-linter/skill"><img src="https://agentmods.dev/badge/skills/william-yeh/agent-skill-linter/skill/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/skills/william-yeh/agent-skill-linter/skill"><img src="https://agentmods.dev/badge/skills/william-yeh/agent-skill-linter/skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00019 | $0.02347 |
| Opus 5.5 | $0.00008 | $0.00939 |
| Sonnet 5.5 | $0.00004 | $0.00469 |
| Haiku 4.5 | $0.00002 | $0.00235 |
Grade A, and why
agent-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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 192 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent Skill Linter
Checks agent skills for spec compliance and publishing readiness.
Expected Layouts
Two layouts are supported, auto-detected by presence of .claude-plugin/plugin.json at the target:
- Single skill — lint target is the
skill/subdir (or repo root for legacy repos). Pointing at the repo root of askill/layout is fine: the linter redirects toskill/and says so on stderr. - Plugin — lint target is the plugin root; manifest + each
skills/<name>/checked.
See
references/layouts.mdfor layout diagrams, file-by-file conventions, and per-mode detection rules.
Triage Workflow
Target: the skill directory to lint — current directory (.) or a path provided by the user.
Step 1 — Get the full picture
./scripts/skill-lint.py check <target>
Review the output for errors and warnings; confirm the full picture before proceeding to Step 2.
Step 2 — Fix Errors first
Rule 1 errors (SKILL.md spec compliance) block publishing. Fix before anything else. Its Claude Code extension-field finding is a warning, handled in Step 4.
Proceed to Step 3 only when a re-run of Step 1 reports no errors. If an error survives two fix attempts, stop and show the user the linter output.
Step 3 — Auto-fix Warnings
./scripts/skill-lint.py check <target> --fix
For fixable rules without CLI, use the templates in references/fix-templates.md.
Confirm no auto-fixable warnings remain before continuing to Step 4.
Step 4 — Resolve remaining Warnings manually
CSO description prefix (Rule 11), Python invocations (Rule 13), README-tier sections in SKILL.md (Rule 19), Claude Code extension fields in frontmatter (Rule 1 warning: keep them if the skill is Claude Code-only, drop them to publish cross-platform) — see the rule table below.
Confirm all remaining warnings are resolved (or explicitly accepted) before proceeding to Step 5.
Step 5 — Semantic review: CSO signal
Rule 11 catches structural patterns but not meaning. Read the description and name frontmatter and ask: do they function purely as routing signals?
What ships with it
10 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.
- references/fix-templates.md 2.9 KB
- references/layouts.md 2.1 KB
- references/semantic-rules.md 14 KB
- scripts/.gitignore 19 B
- scripts/fixers.py 15 KB runs code
- scripts/linter.py 4.5 KB runs code
- scripts/models.py 357 B runs code
- scripts/prose.py 7.4 KB runs code
- scripts/rules.py 39 KB runs code
- scripts/skill-lint.py 3.6 KB runs code
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.
- 1mo ago Changed 94ee51b8ff5a
- 2mo ago Changed ab50c00f0079
- 2mo ago Changed · +13 lines 11ab8367428e
- 2mo ago First seen · 179 lines · 19 tokens per session scan A 32f6994b747e
agent-skill-linter is a skill published in the GitHub repository William-Yeh/agent-skill-linter (12 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 19 tokens to every session and 2,347 once invoked, about $0.0001 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-08-31.
agent-skill-linter compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| agent-skill-linterWilliam-Yeh/agent-skill-linter | Skill | 12 | 1mo ago | Apache-2.0 | A | 19 | Claude Code, Codex |
| imagegenopenai/codex | Skill | 135k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 100k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 395k | today | MIT | A | 36 | Claude Code |
| local-ai-agentsmicrosoft/ai-agents-for-beginners | Skill | 80k | 9d ago | MIT | A | 200 | Claude Code, Codex |
| next-cache-components-adoptionvercel/next.js | Skill | 144k | today | MIT | A | 95 | Claude Code |
| chroniclemicrosoft/vscode | Skill | 195k | today | MIT | A | 72 | Claude Code, Codex |