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

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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00024 $0.00171
Sonnet 5 $0.00010 $0.00068
Haiku 4.5 $0.00005 $0.00034

Measured 2d ago against content hash 4249d27e94b9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 2d 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. 2d ago Changed · -10 lines · -33 tokens per session 4249d27e94b9
  2. 6d 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 today), licensed MIT. It adds 49 tokens to every session and 342 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

adversarial-reviewer

Adversarial code review that assumes bugs exist and hunts for them. Use when asked to review code, find bugs, audit for correctness, stress-test a PR, or when someone says "tear this apart" or "what's wrong with this". Give no benefit of the doubt — every line is guilty until proven innocent.

emdash-cms/emdash · 71 tokens

go-testing

Trigger: Go tests, go test coverage, Bubbletea teatest, golden files. Apply focused Go testing patterns.

Gentleman-Programming/gentle-ai · 26 tokens

semgrep-rule-variant-creator

Creates language variants of existing Semgrep rules. Use when porting a Semgrep rule to specified target languages. Takes an existing rule and target languages as input, produces independent rule+test directories for each language.

waybarrios/opencode-power-pack · 50 tokens

brooks-sweep

Full-sweep mode: runs a unified analysis across all quality dimensions — code decay, architecture, tech debt, and test quality — then applies fixes directly to the codebase. Safe changes are auto-applied; risky changes are confirmed before execution. Drawing on twelve classic engineering books. Triggers when: user…

hyhmrright/brooks-lint · 178 tokens

include-test-files-that-assert-on-behavior-being-changed-in-decl

When delegating a task affected by this skill, include.

ZaxbyHub/opencode-swarm · 29 tokens

qa-frontend

Internal PostHog developer frontend/browser QA skill. Use only when a PostHog developer explicitly asks to run frontend QA, browser-test a PR, verify a UI flow against the local PostHog stack, use qa-frontend, or QA current frontend changes with browser/runtime evidence. Do not use for generic code review, PR review…

PostHog/posthog · 142 tokens