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.
npx skills add vasilyu1983/AI-Agents-public --skill ai-coding-agents-permissionsgit clone --depth 1 https://github.com/vasilyu1983/AI-Agents-publicWrote 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.
[](https://agentmods.dev/skills/vasilyu1983/ai-agents-public/ai-coding-agents-permissions)<a href="https://agentmods.dev/skills/vasilyu1983/ai-agents-public/ai-coding-agents-permissions"><img src="https://agentmods.dev/badge/skills/vasilyu1983/ai-agents-public/ai-coding-agents-permissions/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/vasilyu1983/ai-agents-public/ai-coding-agents-permissions"><img src="https://agentmods.dev/badge/skills/vasilyu1983/ai-agents-public/ai-coding-agents-permissions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00039 | $0.05746 |
| Opus 5 | $0.00019 | $0.02873 |
| Sonnet 5 | $0.00008 | $0.01149 |
| Haiku 4.5 | $0.00004 | $0.00575 |
Grade D, and why
ai-coding-agents-permissions scanned grade D 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 11d ago.
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.
- **Trap:** `defaultMode: "auto"` set in `.claude/settings.json` or `.claude/settings.local.json` is silently ignored (v2.1.142+) so a repository cannot grant itself auto mode; it must be set in user (`~/.claude/settings Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
| `bypassPermissions` | Everything, no classifier, including protected-path writes | Isolated containers/VMs only; never appears in default cycle; explicit `ask` rules and `rm -rf /` / `rm -rf ~` still prompt as a circui How it starts
The opening of the file, as written. The whole thing — 275 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AI Coding Agents Permissions
Use this skill to design or review the approval system for a coding-agent runtime: tool permission modes, plan-mode entry and exit, sandbox escalation, background-agent auto-deny behavior, and leader-worker permission routing.
This skill owns approval architecture for coding agents. For general hooks or callback automation, use ../agents-hooks/SKILL.md.
ASCII Flow
tool/action request
|
v
permission context
mode + actor + sandbox + tool + path + remote/local + worker role
|
v
policy route
allowlist | ask rule | deny rule | managed policy | plan-mode gate
|
v
decision
allow -> execute
ask -> prompt owner or lead session
deny -> return structured refusal
log -> trace permission reason
Quick Reference
| Question | Read | Outcome |
|---|---|---|
| How should permission state live in the runtime? | references/permission-runtime-model.md |
Central permission context, mode handling, and host-owned rules |
| How do local, remote, and swarm approvals differ? | references/permission-routing-local-remote-and-worker.md |
Approval flows for REPL, remote sessions, and leader-worker teams |
How does OpenAI Codex model split filesystem policy and request_permissions? |
references/openai-codex-request-permissions-and-split-policy.md |
Read/write/deny entries, protected metadata, scoped permission grants, and sandbox-vs-approval separation |
| How does OpenAI Codex structure executable policy and network egress policy? | references/openai-codex-execpolicy-and-network-proxy.md |
Prefix-rule evaluation, strictest-decision wins, structured justifications, network deny precedence, and local binding controls |
When To Use
What ships with it
10 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.
- agents/openai.yaml 311 B
- assets/templates/permission-context.schema.json 5.6 KB
- data/sources.json 6.9 KB
- learnings.consolidated.md 604 B
- learnings.md 3.1 KB
- references/hostile-path-test-checklist.md 7.0 KB
- references/openai-codex-execpolicy-and-network-proxy.md 4.7 KB
- references/openai-codex-request-permissions-and-split-policy.md 3.6 KB
- references/permission-routing-local-remote-and-worker.md 2.5 KB
- references/permission-runtime-model.md 3.5 KB
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.
- 11d ago First seen · 275 lines · 39 tokens per session scan D 687398563593
ai-coding-agents-permissions is a skill published in the GitHub repository vasilyu1983/AI-Agents-public (87 stars, last pushed 9d ago), licensed MIT. It adds 39 tokens to every session and 5,746 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it D with 2 findings (reads agent configuration directories, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
nft-standards
Implement NFT standards (ERC-721, ERC-1155) with proper metadata handling, minting strategies, and marketplace integration. Use when creating NFT contracts, building NFT marketplaces, or implementing digital asset systems.
istio-traffic-management
Configure Istio traffic management including routing, load balancing, circuit breakers, and canary deployments. Use when implementing service mesh traffic policies, progressive delivery, or resilience patterns.
projection-patterns
Build read models and projections from event streams. Use when implementing CQRS read sides, building materialized views, or optimizing query performance in event-sourced systems.
microservices-patterns
Design microservices architectures with service boundaries, event-driven communication, and resilience patterns. Use when building distributed systems, decomposing monoliths, or implementing microservices.
track-management
Use this skill when creating, managing, or working with Conductor tracks - the logical work units for features, bugs, and refactors. Applies to spec.md, plan.md, and track lifecycle operations.
make-pr-easy-to-review
Prepare PRs for review by cleaning noisy history, improving PR descriptions, and adding reviewer guidance without changing code behavior. Use for "make this easy to review", "tidy this PR", "clean up commits", or "annotate the diff".