validate

validate is a command for Claude Code from technicalpickles/pickled-claude-plugins. It costs 8 tokens per session (1,605 once invoked), scanned A, original, MIT.

A validation command for checking that a tool-routing plugin is installed correctly and that its hooks use the expected format.

In plain words
What is it for?
Verifying merged routing rules, plugin hooks, and isolated test installations.
Why use it?
It catches configuration and installation problems before the routing rules are relied on. It can test the setup in an isolated environment.

Command for Claude Code

Written for Claude Code: $CLAUDE_PLUGIN_ROOT variable. Also seen: mentions .claude-plugin; mentions subagents; mentions Claude Code.

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 tool-routing plugin — 1 command shipped together

Good fit Verifying merged routing rules, plugin hooks, and isolated test installations.

Compare 6 commands 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 technicalpickles/pickled-claude-plugins
Claude Code
/plugin install tool-routing

Made for: Claude Code.

Or install tool-routing, the plugin that ships this one along with the rest of its 1 command.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/technicalpickles/pickled-claude-plugins/validate/github.svg)](https://agentmods.dev/commands/technicalpickles/pickled-claude-plugins/validate)
Your own site
<a href="https://agentmods.dev/commands/technicalpickles/pickled-claude-plugins/validate"><img src="https://agentmods.dev/badge/commands/technicalpickles/pickled-claude-plugins/validate/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

Your own site · 80×15
<a href="https://agentmods.dev/commands/technicalpickles/pickled-claude-plugins/validate"><img src="https://agentmods.dev/badge/commands/technicalpickles/pickled-claude-plugins/validate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 8 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,605 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.00008 $0.01605
Opus 5.5 $0.00003 $0.00642
Sonnet 5.5 $0.00002 $0.00321
Haiku 4.5 $0.00001 $0.00161

Measured 12d ago against content hash edeea8b83e9e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

validate 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 12d 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/tool-routing/commands/validate.md · 203 lines

How it starts

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

Validate Tool-Routing Plugin

Run these steps to verify the tool-routing plugin is correctly installed and working.

Monorepo Context

This plugin is part of the pickled-claude-plugins monorepo. Routes are contributed by multiple plugins:

Plugin Route Location Routes
tool-routing hooks/tool-routes.yaml bash-cat-heredoc, bash-echo-*, tool-routing-manual-test
dev-tools hooks/tool-routes.yaml atlassian
git skills/pull-request/tool-routes.yaml github-pr
buildkite tool-routes.yaml buildkite

Quick Validation (Isolated Environment)

Use test-claude to validate in an isolated environment without affecting your normal Claude config:

# From repo root - sets up config, installs all plugins, starts claude
./bin/test-claude

# Or run validation commands in the isolated env
CLAUDE_CONFIG_DIR="$PWD/tmp/test-claude-config" \
  uv run --directory plugins/tool-routing tool-routing list

# Should show: "Routes (merged from 4 sources)"

Use ./bin/test-claude --clean to remove the test config and start fresh.

This approach:

  • Doesn't modify your user plugin state
  • Installs plugins from local source (not marketplace cache)
  • Tests the actual discovery path Claude Code uses

Step 1: Validate Plugin Manifests

Run claude plugin validate on each plugin with a manifest:

# From repo root
for plugin in plugins/*/; do
  if [ -d "$plugin/.claude-plugin" ]; then
    echo "=== Validating $plugin ==="
    claude plugin validate "$plugin"
  fi
done

Step 2: Run Plugin Structure Tests

The plugin includes pytest tests that validate hooks.json format:

cd plugins/tool-routing
uv run pytest tests/test_plugin_structure.py -v

These tests catch silent failures where hooks.json is valid JSON but wrong format:

Wrong Format Correct Format
"hooks": [...] (array) "hooks": {"PreToolUse": [...]} (object keyed by event)
"matcher": {"tool_name": "X"} "matcher": "X" (string pattern)
"type": "preToolUse" "type": "command"
$CLAUDE_PLUGIN_ROOT ${CLAUDE_PLUGIN_ROOT} (with braces)

Read the full file on GitHub · 203 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. 12d ago Changed edeea8b83e9e
  2. 2mo ago First seen · 203 lines · 8 tokens per session scan A 3d18815621b8

Subscribe to this mod's changes

validate is a command published in the GitHub repository technicalpickles/pickled-claude-plugins (12 stars, last pushed today), licensed MIT. It adds 8 tokens to every session and 1,605 once invoked, about $0.0000 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-03.

Related

validate compared with commands from other repositories

validate next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
validatetechnicalpickles/pickled-claude-pluginsCommand12todayMITA8Claude Code
/opsx-proposealexpialetski/doccraftCommand45mo agoMITA21Claude Code, Cursor
OPSX: Applyalexpialetski/doccraftCommand45mo agoMITA15Claude Code
OPSX: Proposealexpialetski/doccraftCommand45mo agoMITA21Claude Code
/opsx-archivealexpialetski/doccraftCommand45mo agoMITA14Claude Code, Cursor
/opsx-applyalexpialetski/doccraftCommand45mo agoMITA16Claude Code, Cursor
OPSX: Proposechristianb93/WikiSpecCommand45mo agoMITA21Claude Code