Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By technicalpicklesv1.4.0MITIn 1 marketplace
Blocks Claude's WebFetch and Bash calls that have a better tool, such as the gh CLI for GitHub PRs, and explains what to run instead. A hook runs before every matching call, so blocked calls never reach the original tool.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
1 caution to review before installing
A hook runs when Claude uses the Bash tool
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
tool-routing, pretooluse-hook, webfetch, github-pr, gh-cli, tool-call-blocking, bash-routing
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Intercepts tool calls and suggests better alternatives. When Claude tries to use a tool in a suboptimal way, tool-routing blocks the call and explains what to do instead.
Requires the pickled-claude-plugins marketplace. Then:
/plugin install tool-routing@pickled-claude-plugins
This route blocks GitHub PR URLs and suggests using the gh CLI:
# hooks/tool-routes.yaml
routes:
github-pr:
tool: WebFetch
pattern: "github\\.com/[^/]+/[^/]+/pull/\\d+"
message: |
Use `gh pr view <number>` for GitHub PRs.
This works for both public and private PRs and
provides better formatting than HTML scraping.
tests:
- input:
tool_name: WebFetch
tool_input:
url: "https://github.com/foo/bar/pull/123"
expect: block
Routes are discovered from all enabled plugins that declare routes in their manifest:
.claude-plugin/routes.jsonclaude plugin list --json to find enabled pluginsSee Route Discovery for details.
cd plugins/tool-routing
# Check a tool call (hook entry point)
uv run tool-routing check
# Run inline tests
uv run tool-routing test
# List all routes
uv run tool-routing list
See CLI Reference for full documentation.
The plugin ships with routes for common patterns:
| Route | Tool | What it blocks |
|---|---|---|
github-pr | WebFetch | GitHub PR URLs → use gh pr view |
atlassian | WebFetch | Jira/Confluence URLs → use MCP tools |
buildkite | WebFetch | Build URLs → use MCP tools |
bash-mcp-cli | Bash | mcp CLI commands → use tool calls |
bash-mcp-tool | Bash | MCP tool names as commands |
bash-cat-heredoc | Bash | Cat heredocs → use Write tool |
bash-echo-chained | Bash | Chained echo → output directly |
bash-echo-redirect | Bash | Echo redirects → use Write tool |
MIT
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub technicalpickles/pickled-claude-plugins --plugin tool-routingPlugins from other owners that cover similar ground