Skip to content

Releases

v0.1.0

Choose a tag to compare

@kyisaiah47 kyisaiah47 released this 27 Nov 01:16

Permission Slips is in its first release. It issues scoped, expiring grants for risky coding-agent actions. Only a prompt you type issues a slip, and a hook outside the model checks it before the tool call runs. Permission Slips works with Claude Code and Codex.

  • slips/slip.py is one Python 3.8+ script that uses only the standard library. The issue command runs as the UserPromptSubmit hook and records each slip you type. The check command runs as the PreToolUse hook and denies a guarded call that holds no valid slip. The spend command ends an until-spent slip from your own script. The list command prints the slips a session holds.
  • Slips have four lifetimes: once, prompt, session and until-spent. A slip can require a named target. The ledger is per session and file-locked.
  • slips/config.example.json contains an example policy with slip kinds and rules.
  • The Claude Code plugin includes .claude-plugin/plugin.json, hooks/hooks.json and the slip skill. Install it with /plugin marketplace add kyisaiah47/permission-slips.
  • Codex has a plugin manifest in plugin.json, example hooks in examples/codex/hooks.json, and a setup guide in docs/codex.md.
  • The test suite has 15 unit tests in tests/test_slip.py. Run it with python3 -m unittest discover -s tests.
  • The docs under docs/ cover the four rules, the slips I run, slips you could write, and a threat model.