Skip to content

Instantly share code, notes, and snippets.

View brona90's full-sized avatar
🏠
Working from home

Gregory Foster brona90

🏠
Working from home
View GitHub Profile
#!/usr/bin/env python3
"""
claude-auto-okrun `claude` and auto-answer permission / confirmation prompts.
Constraints this tool respects:
- Only invokes the `claude` binary (plus your args).
- Does NOT pass --dangerously-skip-permissions or --permission-mode bypass*.
- Does NOT edit ~/.claude/settings.json or install hooks.
- Auto-OKs by watching the live TTY output and injecting keystrokes.

Keybase proof

I hereby claim:

  • I am brona90 on github.
  • I am brona90 (https://keybase.io/brona90) on keybase.
  • I have a public key ASAG57gmmyKc8yQggkbrlpAqoLJc0yJ7jeNgw-mjY6OiTgo

To claim this, I am signing this object: