acl

A read-only skill that returns an access-control list, or ACL: the rules saying which commands are allowed or denied. Rules can match exact commands, wildcards, or regular expressions.

In plain words
What is it for?
Checking the current list of permitted and blocked commands before deciding whether an agent action can run.
Why use it?
It shows the command policy enforced by the server, including cases where a denial overrides an allowance.

Skill for Claude CodeCodex

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/to-agent/agent-exec/acl
Any agent
npx skills add to-agent/agent-exec --skill acl
Clone the repo
git clone --depth 1 https://github.com/to-agent/agent-exec

Made for: Claude Code, Codex.

Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 351 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. 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 $0.00000 $0.00351
Opus 5 $0.00000 $0.00176
Sonnet 5 $0.00000 $0.00070
Haiku 4.5 $0.00000 $0.00035

Measured yesterday against content hash 197ab14cab51, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

acl scanned grade C with 2 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 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.

Recursive force deletehighDestructive command

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

- A plain string deny pattern such as `"rm -rf /"` only blocks that exact command and argument form.

Makes network callslowCapability

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

curl -H "X-API-Key: <API_KEY>" http://<host>/api/acl
content/api/acl/SKILL.md · 40 lines

What it actually says

SKILL: acl

Endpoint: GET /api/acl

Description: Get the access control list — allowed and denied commands

Overview

Returns the current ACL configuration: which commands are allowed and which are denied.

curl -H "X-API-Key: <API_KEY>" http://<host>/api/acl

Response

{"allow": ["aexec --version", "date", "echo agent exec ok"], "deny": ["/^sudo/", "/rm\\s+-rf/"]}

ACL Pattern Types

Pattern Example Match behavior
String "aexec --version" Exact match for this command and argument
Glob "hermes *" Explicit wildcard match; allows any arguments to hermes
Regexp "/^sudo/" Regex match against the submitted command and arguments

deny is evaluated before allow. A command matching any deny pattern is rejected even if it matches an allow pattern. A rule like cmd * allows any arguments to cmd; treat broad glob rules as host policy, not agent permission to assume safety.

Notes

  • ACL rules are evaluated server-side against the submitted command and arguments
  • Plain string patterns are exact matches only
  • A plain string deny pattern such as "rm -rf /" only blocks that exact command and argument form.
  • Use explicit glob or regexp deny patterns to cover argument variants, for example "/\\brm\\b.*(-rf|-fr|--recursive|--force)/".

Authentication

Required: X-API-Key: <API_KEY>.

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 · 40 lines · 0 tokens per session scan C 197ab14cab51

Subscribe to this mod's changes

acl is a skill published in the GitHub repository to-agent/agent-exec (1 stars, last pushed 3mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 351 tokens. A static security scan graded it C with 2 findings (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.

Related

Other skills, from other repositories