By recursechat
Automate Claude Code permission requests by auto-approving all tools or just websearch/webfetch, routing to Claude for security review, or sending Telegram alerts for remote approval. Invoke /yolo [mode] [--global] to configure hooks instantly.
Claude Code plugins for agent workflows.
Ghostty terminal notifications for Claude Code events. Sends a bell (dock bounce, tab indicator) and OSC 777 desktop notification when Claude needs attention.
Fires on: permission_prompt, idle_prompt, auth_success, elicitation_dialog.
See ghostty-tab-notifications.md for the full writeup on how this works and what was tried.
Auto-handle Claude Code permission requests. Two modes:
Includes a /yolo skill for toggling modes.
Add the marketplace and install:
/plugin marketplace add recursechat/agent-workflow
/plugin install ghostty-notifications@recursechat-agent-workflow
/plugin install yolo@recursechat-agent-workflow
Add to ~/.claude/settings.json:
{
"hooks": {
"Notification": [
{
"matcher": "permission_prompt",
"hooks": [
{
"type": "command",
"command": "~/.claude/hooks/ghostty-notify.sh 'Needs permission'"
}
]
},
{
"matcher": "idle_prompt",
"hooks": [
{
"type": "command",
"command": "~/.claude/hooks/ghostty-notify.sh 'Waiting for input'"
}
]
},
{
"matcher": "auth_success",
"hooks": [
{
"type": "command",
"command": "~/.claude/hooks/ghostty-notify.sh 'Auth successful'"
}
]
},
{
"matcher": "elicitation_dialog",
"hooks": [
{
"type": "command",
"command": "~/.claude/hooks/ghostty-notify.sh 'Asking a question'"
}
]
}
]
}
}
Copy plugins/ghostty-notifications/scripts/ghostty-notify.sh to ~/.claude/hooks/ and make it executable.
Copy plugins/yolo/scripts/permission-review.sh and ghostty-notify.sh to .claude/hooks/ in your project (or ~/.claude/hooks/ for global). Make executable.
Add to .claude/settings.local.json (or ~/.claude/settings.json for global):
{
"hooks": {
"PermissionRequest": [
{
"hooks": [
{
"type": "command",
"command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/permission-review.sh",
"timeout": 30
}
]
}
]
}
}
PermissionRequest hooks don't fire in non-interactive mode (-p)claude --debug and Ctrl+O (verbose mode) to see hook execution/hooks in Claude Code to verify hooks are loadedtype: "command" hooks work with PermissionRequest (prompt hooks don't fire for this event)Matches all tools
Hooks run on every tool call, not just specific ones
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub recursechat/agent-workflow --plugin yoloGhostty terminal notifications for Claude Code events (bell, OSC 777). Notifies on permission prompts, idle, auth, and elicitation dialogs.
Ghostty terminal notifications for Claude Code events (bell, OSC 777). Notifies on permission prompts, idle, auth, and elicitation dialogs.
Achieve flow state safely with Claude Code. Auto-approves routine work, gates risky actions, hard-blocks dangerous patterns. Dual enforcement (skill + hooks), token cap for cost governance, full audit trail. Zero dependencies.
Easily create hooks to prevent unwanted behaviors by analyzing conversation patterns
Quickly scaffold Claude Code hooks with templates, validation, and conflict analysis
PreToolUse hook that auto-approves safe Bash commands by parsing them into an AST and matching against configurable patterns
Security guardrails - credential protection, destructive command blocking, write scope enforcement, supply chain control, browser restrictions