jruz

Agent Tool Check — Development skill for Claude Code

Development community

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 .env and private keys
  • blocks plaintext paths listed in the current directory’s ager.yaml while allowing their encrypted .age files
  • 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-By trailers 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).