Agentperm — Development skill for Claude Code
One permission policy for coding agents — Claude Code, Codex CLI, OpenCode, and Gemini CLI consult a single allow/ask/deny file before tools run.
How to install Agentperm
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open jacks0n/agentperm and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agentperm does
One permission policy for coding agents — Claude Code, Codex CLI, OpenCode, and Gemini CLI consult a single allow/ask/deny file before tools run.
Alternatives in Development
- Understand Anything — Graphs that teach graphs that impress 80.7k ★
- Petdex — A public gallery of animated pets for Codex, Claude Code, DeepSeek Harness, Hermes, OpenCode, Gemini CLI, and 4k ★
- Agent Of Empires — Manage multiple Claude Code, OpenCode agents from either TUI or Web for easy access on mobile 3.1k ★
README
agentperm
**One permission policy for every coding agent. Parsed like a shell, not matched like a string.**
agentperm is a pre-tool hook for [Claude Code](https://docs.anthropic.com/en/docs/claude-code), [Codex CLI](https://github.com/openai/codex), [OpenCode](https://opencode.ai), [Gemini CLI](https://github.com/google-gemini/gemini-cli), and [Kiro](https://kiro.dev). Before a command runs, it parses the whole shell program, judges every piece against one layered policy, and returns **allow / ask / deny**. You approve *intent* once; you stop re-approving `git status` because a flag moved, it entered a pipe, or a different agent asked.
[](https://pypi.org/project/agentperm/) [](https://pypi.org/project/agentperm/) [](https://github.com/jacks0n/agentperm/actions/workflows/ci.yml) [](https://github.com/jacks0n/agentperm/blob/main/LICENSE)
Everything it does, on one screen
// ~/.agent-permissions.jsonc
{
"version": 1,
"permissions": {
"deny": [
"Shell(git push --force)",
{"Write(**/src/generated/**)": {"reason": "Generated — run `just generate`."}},
{"SQL(no-file-io)": {"dialect": "postgres", "functions": {"any": ["pg_read_file"]}}}
],
"ask": ["Shell(aws ec2 terminate-*)"],
"allow": [
"Shell(git values(-C) {status,diff,log} only(-C, --short, --stat))",
"Shell(aws values(--profile) ec2 describe-* only(--profile))",
"Shell(jq only(-r))",
"Shell(echo *)",
"Shell(psql values(-d) sqlvalues(, -c))",
"Shell(psql values(-d) stdin())",
{"SQL(ro)": {"dialect": "postgres", "effects": {"only": ["read"]}}},
"Python(readonly)",
"Python(query_db())",
"Write(**/src/**)"
]
}
}
Agent tries t
Related Skills
Agent Policy
One command policy for coding agents (Claude Code and Codex): severity-tiered allow/ask/deny rules, a shared g
Claude Perm Sim
Claude Code permission rule simulator: load the merged allow, ask and deny settings, show which rule decides a
Jev Brig
A Claude Code hook that judges Bash commands against a session policy level, and answers allow/ask/deny with a
Jev Auto
Auto mode for every coding agent, built on Jev: risk-scores every tool call with session context (deny / ask /
Next Notify
Desktop notifications for Claude Code, Codex, Cursor, Gemini CLI and OpenCode. Get notified when your coding a
Notch Voice
Claude Code, out loud. A macOS notch app that reads Claude's replies, glows while it speaks, and lets you allo
Related Agents
Permissions Manager
Manage tool permission rules. Use when user says 'allow', 'deny', or 'ask' for a command, wants to modify perm
Permission Analyst
Recommends allow/deny permission rules from denial telemetry and policy via PromptWise. Use to reduce permissi
Agent Of Empires
Claude Code, OpenCode, Mistral Vibe, Codex CLI, Gemini CLI Coding Agent Terminal Session manager via tmux and