validate

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

Validate tool-routing plugin installation and hooks format.

Command

Installs and runs on its own, but its text points at files inside the plugin that ships it — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed.

Install

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.

agentmods
npx agentmods add commands/technicalpickles/pickled-claude-plugins/validate
Clone the repo
git clone --depth 1 https://github.com/technicalpickles/pickled-claude-plugins

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.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.svg" alt="Measured on agentmods" 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,617 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00008 $0.01617
Opus 5 $0.00004 $0.00809
Sonnet 5 $0.00002 $0.00323
Haiku 4.5 $0.00001 $0.00162

Measured today against content hash 3d18815621b8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 today.

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. today 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 (10 stars, last pushed yesterday), licensed MIT. It adds 8 tokens to every session and 1,617 once invoked, about $0.0000 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-09-03.