Agent Tool Check — Development skill for Claude Code
Block risky tool calls from Claude Code, Codex, and Pi.
How to install Agent Tool Check
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open jruz/agent-tool-check and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent Tool Check does
Block risky tool calls from Claude Code, Codex, and Pi.
Alternatives in Development
- Ccusage — CLI for analyzing Claude Code/Codex usage from local JSONL files 11.8k ★
- Identify Assumptions Existing — Identify risky assumptions across Value, Usability, Viability, Feasibility 7.8k ★
- Release Beta — Cut a BETA (prerelease) of altimate-code to the npm beta channel 817 ★
README
agent-tool-check
Blocks risky agent tool calls before they run.
Supports Claude Code, Codex, and Pi.
- blocks reads of sensitive files such as
.envand private keys - blocks plaintext paths listed in the current directory’s
ager.yamlwhile allowing their encrypted.agefiles - blocks environment variable output and shell tracing
- requires package managers and build tools to be prefixed with
sandbox, a command you provide that isolates them (for example in Docker) - validates commit titles match
[feat|bugs|refa|deps|tool] Area: summary - rejects
Co-Authored-Bytrailers in commit messages
Install with Nix
Requires Nix with flakes enabled.
nix profile add github:jruz/agent-tool-check
Installs a published binary without compiling Rust. Supports Linux and macOS on x86_64 and aarch64.
Verify the installation:
agent-tool-check --version
Upgrade:
nix profile upgrade agent-tool-check
Run without installing:
nix run github:jruz/agent-tool-check -- --help
Install from source instead:
nix profile add github:jruz/agent-tool-check#source
Install without Nix
Download the binary for your platform from [releases](https://github.com/jruz/agent-tool-check/releases) and put it on your `PATH`.
Configure
Claude Code, `~/.claude/settings.json`:
{
"hooks": {
"PreToolUse": [
{
"matcher": "Bash|Read|Grep",
"hooks": [{ "type": "command", "command": "agent-tool-check claude" }]
}
]
}
}
Codex, `~/.codex/hooks.json`:
{
"hooks": {
"PreToolUse": [
{
"matcher": "Bash",
"hooks": [{ "type": "command", "command": "agent-tool-check codex" }]
}
]
}
}
Pi: run `agent-tool-check pi` from a `tool_call` extension, passing the event as JSON on stdin.
License
Licensed under the [European Union Public Licence v1.2](LICENSE).
Related Skills
Claude Code Approval
Claude Code plugin: a person approves the agent's risky tool calls in Telegram, WhatsApp or another messenger
Tool Relevance
Check that an agent calls the right tools, with the right details, for what the customer asked
Goal Check
Check whether recent tool activity still relates to the stated goal in task_plan.md, reporting a drift score a
Investigate Sandbox
Investigate ZIA Sandbox file analysis -- check sandbox reports, quota, SSL prerequisite, and diagnose file blo
Skills Ladder
Glue a skill's facts into SKILL.md with a Context Block (built on MIT, IANA .faf context), and check they're t
Validate Block
Check that an existing Gutenberg block is correct
Related Agents
Lens Failure
Review lens for failure handling, silent fallbacks and risky defaults in a PR. Use from the tmn-fdekit review
Intraday PM
tradefloor intraday portfolio manager. Makes the final intraday calls after the risk committee, writes the pic
Codex Adversarial Reviewer
Adversarial reviewer that calls Codex CLI for an independent second-opinion review of changed files, then adju