BenchBox: Skill for Claude Code

.claude/skills/tidy-perms/SKILL.md

tidy-perms is a skill for Claude Code, Codex from BenchBox-dev/BenchBox. It costs 42 tokens per session (293 once invoked), scanned B, original, MIT.

A permission-cleanup skill for Claude Code, Codex, and Gemini. It moves trusted commands into project settings, removes unwanted entries, checks that the tools agree, and can commit the project configuration.

In plain words
What is it for?
Use it to consolidate or audit permissions, review unclear entries, and safely update project-level configuration.
Why use it?
It helps reduce accumulated or conflicting command permissions while keeping personal settings and unrelated configuration protected.

Skill for Claude CodeCodex

Written for Claude Code and Codex: installed under .claude/, but also reads ~/.codex or $CODEX_HOME. Also seen: mentions Claude Code; mentions Codex.

This is BenchBox-dev/BenchBox's own configuration. It tells Claude Code and Codex how to work on BenchBox itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything BenchBox configures →

Reuse

Borrowing it

Nothing to install: this file belongs to BenchBox-dev/BenchBox. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/BenchBox-dev/BenchBox/develop/.claude/skills/tidy-perms/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/BenchBox-dev/BenchBox

Made for: Claude Code, Codex.

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 tidy-perms

README.md
[![agentmods](https://agentmods.dev/badge/skills/benchbox-dev/benchbox/tidy-perms.svg)](https://agentmods.dev/skills/benchbox-dev/benchbox/tidy-perms)
Your own site
<a href="https://agentmods.dev/skills/benchbox-dev/benchbox/tidy-perms"><img src="https://agentmods.dev/badge/skills/benchbox-dev/benchbox/tidy-perms.svg" alt="Measured on agentmods" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 293 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
Origin original 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.1 $0.00042 $0.00293
Opus 5 $0.00021 $0.00147
Sonnet 5 $0.00008 $0.00059
Haiku 4.5 $0.00004 $0.00029

Measured yesterday against content hash 6966708341be, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade B, and why

tidy-perms scanned grade B with 1 finding 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 yesterday.

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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- Never commit `settings.local.json`, `~/.codex/config.toml`, or
.claude/skills/tidy-perms/SKILL.md · 32 lines

What it actually says

Permissions Consolidation

Route below and read the selected action file. Keep unclear entries PERSONAL and ask for direction. Do not add, broaden, or relocate an entry when the change would permit, in the destination scope, a command that is not already allowed in that scope.

Actions

Action Trigger Read
consolidate default/tidy permissions references/consolidate.md
audit audit/review permissions references/audit.md
help help/list actions this table

Rules

  • Never git add -A; stage explicit project config paths only.
  • Never commit settings.local.json, ~/.codex/config.toml, or ~/.gemini/*.json.
  • Preserve unrelated hooks and keys. Do not allowlist force-push, reset, clean, or removal commands. Remove a stale or conflicting executable hook only when its owner, conflict, and safe replacement are evidenced and the task authorizes personal configuration changes.
Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday First seen · 32 lines · 42 tokens per session scan B 6966708341be

Subscribe to this mod's changes

tidy-perms is a skill published in the GitHub repository BenchBox-dev/BenchBox (12 stars, last pushed yesterday), licensed MIT. It adds 42 tokens to every session and 293 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.