Permission Slips
github.com/kyisaiah47/permission-slips- Category
- Developer Tools
- Rank
- No. 4385Tools index
- Type
- TOOL
- GitHub
- 1 stars
- Latest release
- v0.1.0
- Date
About
Permission Slips gives coding agents scoped, expiring grants for risky actions such as deploys, migrations and publishing. Only a prompt the human types can issue a grant, and a hook that runs outside the model checks every guarded tool call and denies it if no valid grant exists. This enforces the boundary mechanically, so a long task or a confident plan cannot talk the model past a written rule.
At a glance
Permission Slips is a plugin for Claude Code and Codex that blocks chosen risky tool calls, such as a deploy or a package publish, until you type a slip like /slip deploy api in your own prompt. Two hooks outside the model record the slip and check each tool call against it, so the agent cannot grant itself permission.
Good fit
Developers who let a coding agent run long tasks but want a few named actions, like production deploys, migrations, git pushes to main or ad spend, to need explicit human sign-off. A slip covers one named target and ends on a defined condition, so you approve intent once instead of clicking through every tool call.
Consider something else when
Skip it if you need a sandbox against a hostile or compromised agent. The author calls it a guard against an agent drifting past your intent: rules match command text, so a guarded action reached through a different command or a spawned process can slip past. Also skip it if you use neither Claude Code nor Codex.
Start here
In Claude Code, run /plugin marketplace add kyisaiah47/permission-slips, then /plugin install permission-slips@permission-slips. Write a policy in ~/.config/permission-slips/config.json with a slip kind and a regex rule for your deploy script, then type /slip deploy api in a prompt. A call against any other target should be denied with the exact command to ask for.
Cost and requirements
No price is listed; the license lets you download, install, use and privately adapt it for personal or business work, but not redistribute modified copies. You need Claude Code or Codex with hooks, a JSON policy file, and Python, since the hook script and the spend command run as slip.py. Codex setup has its own guide in the repository.
Limits to know
The ledger's self-protection matches path text, so an agent with a shell can sometimes reach it indirectly; the README advises setting PERMISSION_SLIPS_STATE outside the agent's writable roots. The guard only sees tool calls that pass through hooks. Writing correct regex rules for each guarded command is your job, and an until-spent slip only ends when your script runs the spend command.
Sources checked 2026-11-27. Source-based assessment.
Similar tools
Tags
Media
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.