validate-skills

validate-skills is a skill for Claude Code from gopherguides/gopher-ai. It costs 49 tokens per session (342 once invoked), scanned A, original, MIT.

A checker for Bash and shell commands embedded in plugin command and skill Markdown files. It examines shell syntax, variable use, portability, unsafe commands, and some commands’ runtime behavior.

In plain words
What is it for?
Validating fenced shell code in plugin commands and skills, finding syntax and quoting errors, spotting portability issues, and flagging unsafe or invalid command patterns.
Why use it?
Shell snippets in documentation can fail when copied or run, especially across macOS and Linux. The checker catches several of these problems before the files are shipped or CI rejects them.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions Claude Code; mentions Codex; $skill-name invocation.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the go-dev plugin — 11 skills, 10 commands shipped together

Good fit Validating fenced shell code in plugin commands and skills, finding syntax and quoting errors, spotting portability issues, and flagging unsafe or invalid command patterns.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add gopherguides/gopher-ai
Claude Code
/plugin install go-dev

Made for: Claude Code.

Or install go-dev, the plugin that ships this one along with the rest of its 11 skills, 10 commands.

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 validate-skills

README.md
[![agentmods](https://agentmods.dev/badge/skills/gopherguides/gopher-ai/validate-skills/github.svg)](https://agentmods.dev/skills/gopherguides/gopher-ai/validate-skills)
Your own site
<a href="https://agentmods.dev/skills/gopherguides/gopher-ai/validate-skills"><img src="https://agentmods.dev/badge/skills/gopherguides/gopher-ai/validate-skills/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 validate-skills

Your own site · 80×15
<a href="https://agentmods.dev/skills/gopherguides/gopher-ai/validate-skills"><img src="https://agentmods.dev/badge/skills/gopherguides/gopher-ai/validate-skills.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 342 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.00049 $0.00342
Opus 5.5 $0.00020 $0.00137
Sonnet 5.5 $0.00010 $0.00068
Haiku 4.5 $0.00005 $0.00034

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

Security

Grade A, and why

validate-skills 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.

plugins/go-dev/skills/validate-skills/SKILL.md · 36 lines

What it actually says

Validate Skills

Use $go-dev:validate-skills [file|directory] [--json] to validate one file, one directory, or the default plugin command and skill Markdown paths.

Plugin Resource Resolution

<PLUGIN_ROOT> is notation. Replace it with a concrete absolute plugin root before every resource read or command:

  • Codex: Start from the directory containing the absolute selected SKILL.md path, then ascend two directories (skills/<name> to plugin root).
  • Claude Code: Bind it to the injected ${CLAUDE_PLUGIN_ROOT} value.

Read both shared workflow files completely before acting:

  1. <PLUGIN_ROOT>/lib/codex-command-adapter.md
  2. <PLUGIN_ROOT>/commands/validate-skills.md

Resolve <PLUGIN_ROOT>/scripts/validate-skills.py, pass the adapter-bound SKILL_ARGS as distinct arguments without evaluating them, and execute the helper. With --json, return its stdout unchanged so the result remains one JSON object. Propagate its exit status.

Use these references when interpreting findings or changing validator rules:

  • <PLUGIN_ROOT>/lib/validate-skills/classification.md
  • <PLUGIN_ROOT>/lib/validate-skills/execution.md
  • <PLUGIN_ROOT>/lib/validate-skills/ai-review.md
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 · +1 lines 048849616ee8
  2. 2mo ago Changed · -10 lines · -33 tokens per session 4249d27e94b9
  3. 3mo ago First seen · 46 lines · 82 tokens per session scan A b2b03246b88b

Subscribe to this mod's changes

validate-skills is a skill published in the GitHub repository gopherguides/gopher-ai (21 stars, last pushed 4d ago), licensed MIT. It adds 49 tokens to every session and 342 once invoked, about $0.0002 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-30.

Related

validate-skills compared with skills from other repositories

validate-skills next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
validate-skillsgopherguides/gopher-aiSkill214d agoMITA49Claude Code
autoreviewopenclaw/clawhubSkill9.6ktodayMITA17Claude Code, Codex
omh-code-reviewrlaope/oh-my-hermesSkill6.2ktodayMITA18Claude Code
agent-teams-simplify-and-hardenLeoYeAI/openclaw-master-skillsSkill2.2k10d agoMITA115Claude Code, Codex
asplos-writing-stylebrycewang-stanford/Awesome-Journal-SkillsSkill1.5k3d agoMITA65Claude Code
revdiff-planumputun/revdiffSkill974todayMITA84Claude Code
re0-mergeLilMGenius/paperthinSkill1.5ktodayMITA51Claude Code, Codex