Webhook notifier for Claude Code
npx claudepluginhub dsc8x/agentio-claude-pluginWebhook notifier for Claude Code. Sends JSON POST notifications on Stop, PermissionRequest, and AskUserQuestion. No state files, no logs, no statusline.
Agent notification system for Claude Code. Get notified via webhook when Claude needs input or completes tasks.
# Add the marketplace
claude plugin marketplace add https://github.com/dsc8x/agentio-claude-plugin
# Install the plugin
claude plugin install core@agentio
Start a new Claude Code session to activate the hooks and output styles.
Set the webhook URL in your environment:
# In ~/.claude/.env
AGENTIO_EVENTS_WEBHOOK_URL=https://your-webhook-url/endpoint
UserPromptSubmit - Logs prompts, manages sessions, generates agent namesPreToolUse (AskUserQuestion) - Notifies when Claude asks a questionPermissionRequest - Notifies when Claude needs permissionStop - Notifies when Claude completes or needs inputagentio - Sends task completion notifications via webhookNotifications are sent as JSON POST requests:
{
"event": "task_complete",
"message": "Brief summary of what was done",
"session_id": "abc123",
"session_name": "SwiftRaven",
"cwd": "/path/to/project",
"timestamp": "2024-01-01T12:00:00Z",
"hostname": "machine-name",
"user": "username"
}
| Event | Description |
|---|---|
task_complete | Claude finished a substantive task |
needs_input | Claude is waiting for user input |
ask_user | Claude asked a question via AskUserQuestion |
permission_request | Claude needs permission approval |
Display agent name, model, and current prompt in Claude Code's status line.
# Create symlink to the status line script
ln -sf ~/.claude/plugins/marketplaces/agentio/scripts/statusline.py ~/.claude/statusline.py
# Make it executable
chmod +x ~/.claude/statusline.py
Add to ~/.claude/settings.json:
{
"statusLine": {
"type": "command",
"command": "python3 ~/.claude/statusline.py",
"padding": 0
}
}
The symlink ensures you always get the latest version when the plugin updates.
[AgentName] | [Model] | 💡 Current prompt text...
agentio-claude-plugin/
├── .claude-plugin/
│ ├── marketplace.json
│ └── plugin.json
├── hooks/
│ └── hooks.json
├── scripts/
│ ├── agentio-notify
│ └── statusline.py
├── styles/
│ └── agentio.md
└── README.md
MIT