Skip to content
Security
Skill

/tool-permission-audit

Inventory the tools/functions an AI agent can call and audit their privileges, side effects, and approval requirements to find excessive-agency and least-privilege gaps. Use when reviewing an agent's tool/function surface.

From plugin
awesome-claude-security
6111 skills17 agents13 commands1 MCP
Install
$ npx -y skills add jassics/awesome-claude-security --skill tool-permission-audit --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/tool-permission-audit

Context preview

The summary Claude sees to decide when to auto-load this skill.

Inventory the tools/functions an AI agent can call and audit their privileges, side effects, and approval requirements to find excessive-agency and least-privilege gaps. Use when reviewing an agent's tool/function surface.

SKILL.md

tool-permission-audit.SKILL.md
name: tool-permission-audit
description: >-
  Inventory the tools/functions an AI agent can call and audit their privileges,
  side effects, and approval requirements to find excessive-agency and
  least-privilege gaps. Use when reviewing an agent's tool/function surface.

Goal

A complete tool inventory with a privilege/risk rating per tool and a clear list of least-privilege and approval-gating gaps.

Steps

1. **Enumerate tools.** List every tool/function/plugin/MCP server the agent can invoke, including dynamically discovered ones. Don't rely on the docs — check what's actually wired into the agent's toolset. 2. **Classify each tool:**

  • Effect: read-only / write / destructive / external-side-effect (email, pay,

deploy, post).

  • Reversibility: reversible / irreversible.
  • Credentials: what identity/token it uses; what that token can do beyond this tool.
  • Reachability: always available, or gated by state/role?

3. **Rate risk** per tool (effect × reversibility × credential scope). 4. **Find gaps:**

  • Over-broad credentials (one token, many powers).
  • Destructive/irreversible/external actions with no human confirmation.
  • Tools present but unnecessary for the agent's function.
  • Missing rate/spend/iteration limits on expensive tools.

Output

A tool inventory table: tool · effect · reversible? · credential scope · approval required? · risk · gap/recommendation. Plus a prioritized least-privilege remediation list. Feed high-risk gaps to `security-reporting:finding`.

Notes

Excessive agency usually hides in credential scope, not tool count: a single over-privileged token behind a "safe-looking" tool is the common root cause. Recommend per-tool scoped credentials and confirmation gates on anything irreversible or externally visible.

Read more
Ships withawesome-claude-security

A Claude Code plugin marketplace for the full cybersecurity & GenAI-security lifecycle — from recon and threat modeling to detection engineering, GRC, and CISO-level strategy. A pentester knows which OWASP test bends a broken-access-control endpoint.

Get the whole plugin

Other skills on awesome-claude-security.