[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74X5ECVAQTBAYTM4RDC87V5":3,"skill-same:01M74X5ECVAQTBAYTM4RDC87V5":60},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":38,"commitSha":39,"skillDirectory":40,"forksCount":14,"repositoryHtmlUrl":41,"repositoryHomepageUrl":6,"ownerHtmlUrl":42,"ownerBlogUrl":43,"ownerDescription":44,"updatedAt":45,"install":46,"resources":59},"01M74X5ECVAQTBAYTM4RDC87V5","webhook-subscriptions",null,"Webhook subscriptions: event-driven agent runs.","webdevtodayjason\u002Fsubctl-rust","webdevtodayjason","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F115739170?v=4","01M74WW99DEWQYTYB0MP88KG9Y","Jason Brashear","01M74WW9A14ER2SHX1411MQJZ2",0,"MIT","https:\u002F\u002Fgithub.com\u002Fwebdevtodayjason\u002Fsubctl-rust\u002Fblob\u002Fmain\u002Fskills\u002Fwebhook-subscriptions\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: webhook-subscriptions\ndescription: \"Webhook subscriptions: event-driven agent runs.\"\nversion: 1.1.0\nplatforms: [linux, macos, windows]\nmetadata:\n  hermes:\n    tags: [webhook, events, automation, integrations, notifications, push]\n---\n\n# Webhook Subscriptions\n\nCreate dynamic webhook subscriptions so external services (GitHub, GitLab, Stripe, CI\u002FCD, IoT sensors, monitoring tools) can trigger Hermes agent runs by POSTing events to a URL.\n\n## Setup (Required First)\n\nThe webhook platform must be enabled before subscriptions can be created. Check with:\n```bash\nhermes webhook list\n```\n\nIf it says \"Webhook platform is not enabled\", set it up:\n\n### Option 1: Setup wizard\n```bash\nhermes gateway setup\n```\nFollow the prompts to enable webhooks, set the port, and set a global HMAC secret.\n\n### Option 2: Manual config\nAdd to `~\u002F.hermes\u002Fconfig.yaml`:\n```yaml\nplatforms:\n  webhook:\n    enabled: true\n    extra:\n      host: \"0.0.0.0\"\n      port: 8644\n      secret: \"generate-a-strong-secret-here\"\n```\n\n### Option 3: Environment variables\nAdd to `~\u002F.hermes\u002F.env`:\n```bash\nWEBHOOK_ENABLED=true\nWEBHOOK_PORT=8644\nWEBHOOK_SECRET=generate-a-strong-secret-here\n```\n\nAfter configuration, start (or restart) the gateway:\n```bash\nhermes gateway run\n# Or if using systemd:\nsystemctl --user restart hermes-gateway\n```\n\nVerify it's running:\n```bash\ncurl http:\u002F\u002Flocalhost:8644\u002Fhealth\n```\n\n## Commands\n\nAll management is via the `hermes webhook` CLI command:\n\n### Create a subscription\n```bash\nhermes webhook subscribe \u003Cname> \\\n  --prompt \"Prompt template with {payload.fields}\" \\\n  --events \"event1,event2\" \\\n  --description \"What this does\" \\\n  --skills \"skill1,skill2\" \\\n  --deliver telegram \\\n  --deliver-chat-id \"12345\" \\\n  --secret \"optional-custom-secret\"\n```\n\nReturns the webhook URL and HMAC secret. The user configures their service to POST to that URL.\n\n### List subscriptions\n```bash\nhermes webhook list\n```\n\n### Remove a subscription\n```bash\nhermes webhook remove \u003Cname>\n```\n\n### Test a subscription\n```bash\nhermes webhook test \u003Cname>\nhermes webhook test \u003Cname> --payload '{\"key\": \"value\"}'\n```\n\n## Prompt Templates\n\nPrompts support `{dot.notation}` for accessing nested payload fields:\n\n- `{issue.title}` — GitHub issue title\n- `{pull_request.user.login}` — PR author\n- `{data.object.amount}` — Stripe payment amount\n- `{sensor.temperature}` — IoT sensor reading\n\nIf no prompt is specified, the full JSON payload is dumped into the agent prompt.\n\n## Common Patterns\n\n### GitHub: new issues\n```bash\nhermes webhook subscribe github-issues \\\n  --events \"issues\" \\\n  --prompt \"New GitHub issue #{issue.number}: {issue.title}\\n\\nAction: {action}\\nAuthor: {issue.user.login}\\nBody:\\n{issue.body}\\n\\nPlease triage this issue.\" \\\n  --deliver telegram \\\n  --deliver-chat-id \"-100123456789\"\n```\n\nThen in GitHub repo Settings → Webhooks → Add webhook:\n- Payload URL: the returned webhook_url\n- Content type: application\u002Fjson\n- Secret: the returned secret\n- Events: \"Issues\"\n\n### GitHub: PR reviews\n```bash\nhermes webhook subscribe github-prs \\\n  --events \"pull_request\" \\\n  --prompt \"PR #{pull_request.number} {action}: {pull_request.title}\\nBy: {pull_request.user.login}\\nBranch: {pull_request.head.ref}\\n\\n{pull_request.body}\" \\\n  --skills \"github-code-review\" \\\n  --deliver github_comment\n```\n\n### Stripe: payment events\n```bash\nhermes webhook subscribe stripe-payments \\\n  --events \"payment_intent.succeeded,payment_intent.payment_failed\" \\\n  --prompt \"Payment {data.object.status}: {data.object.amount} cents from {data.object.receipt_email}\" \\\n  --deliver telegram \\\n  --deliver-chat-id \"-100123456789\"\n```\n\n### CI\u002FCD: build notifications\n```bash\nhermes webhook subscribe ci-builds \\\n  --events \"pipeline\" \\\n  --prompt \"Build {object_attributes.status} on {project.name} branch {object_attributes.ref}\\nCommit: {commit.message}\" \\\n  --deliver discord \\\n  --deliver-chat-id \"1234567890\"\n```\n\n### Generic monitoring alert\n```bash\nhermes webhook subscribe alerts \\\n  --prompt \"Alert: {alert.name}\\nSeverity: {alert.severity}\\nMessage: {alert.message}\\n\\nPlease investigate and suggest remediation.\" \\\n  --deliver origin\n```\n\n### Direct delivery (no agent, zero LLM cost)\n\nFor use cases where you just want to push a notification through to a user's chat — no reasoning, no agent loop — add `--deliver-only`. The rendered `--prompt` template becomes the literal message body and is dispatched directly to the target adapter.\n\nUse this for:\n- External service push notifications (Supabase\u002FFirebase webhooks → Telegram)\n- Monitoring alerts that should forward verbatim\n- Inter-agent pings where one agent is telling another agent's user something\n- Any webhook where an LLM round trip would be wasted effort\n\n```bash\nhermes webhook subscribe antenna-matches \\\n  --deliver telegram \\\n  --deliver-chat-id \"123456789\" \\\n  --deliver-only \\\n  --prompt \"🎉 New match: {match.user_name} matched with you!\" \\\n  --description \"Antenna match notifications\"\n```\n\nThe POST returns `200 OK` on successful delivery, `502` on target failure — so upstream services can retry intelligently. HMAC auth, rate limits, and idempotency still apply.\n\nRequires `--deliver` to be a real target (telegram, discord, slack, github_comment, etc.) — `--deliver log` is rejected because log-only direct delivery is pointless.\n\n## Security\n\n- Each subscription gets an auto-generated HMAC-SHA256 secret (or provide your own with `--secret`)\n- The webhook adapter validates signatures on every incoming POST\n- Static routes from config.yaml cannot be overwritten by dynamic subscriptions\n- Subscriptions persist to `~\u002F.hermes\u002Fwebhook_subscriptions.json`\n\n## How It Works\n\n1. `hermes webhook subscribe` writes to `~\u002F.hermes\u002Fwebhook_subscriptions.json`\n2. The webhook adapter hot-reloads this file on each incoming request (mtime-gated, negligible overhead)\n3. When a POST arrives matching a route, the adapter formats the prompt and triggers an agent run\n4. The agent's response is delivered to the configured target (Telegram, Discord, GitHub comment, etc.)\n\n## Troubleshooting\n\nIf webhooks aren't working:\n\n1. **Is the gateway running?** Check with `systemctl --user status hermes-gateway` or `ps aux | grep gateway`\n2. **Is the webhook server listening?** `curl http:\u002F\u002Flocalhost:8644\u002Fhealth` should return `{\"status\": \"ok\"}`\n3. **Check gateway logs:** `grep webhook ~\u002F.hermes\u002Flogs\u002Fgateway.log | tail -20`\n4. **Signature mismatch?** Verify the secret in your service matches the one from `hermes webhook list`. GitHub sends `X-Hub-Signature-256`, GitLab sends `X-Gitlab-Token`.\n5. **Firewall\u002FNAT?** The webhook URL must be reachable from the service. For local development, use a tunnel (ngrok, cloudflared).\n6. **Wrong event type?** Check `--events` filter matches what the service sends. Use `hermes webhook test \u003Cname>` to verify the route works.\n","# Webhook Subscriptions\n\nCreate dynamic webhook subscriptions so external services (GitHub, GitLab, Stripe, CI\u002FCD, IoT sensors, monitoring tools) can trigger Hermes agent runs by POSTing events to a URL.\n\n## Setup (Required First)\n\nThe webhook platform must be enabled before subscriptions can be created. Check with:\n```bash\nhermes webhook list\n```\n\nIf it says \"Webhook platform is not enabled\", set it up:\n\n### Option 1: Setup wizard\n```bash\nhermes gateway setup\n```\nFollow the prompts to enable webhooks, set the port, and set a global HMAC secret.\n\n### Option 2: Manual config\nAdd to `~\u002F.hermes\u002Fconfig.yaml`:\n```yaml\nplatforms:\n  webhook:\n    enabled: true\n    extra:\n      host: \"0.0.0.0\"\n      port: 8644\n      secret: \"generate-a-strong-secret-here\"\n```\n\n### Option 3: Environment variables\nAdd to `~\u002F.hermes\u002F.env`:\n```bash\nWEBHOOK_ENABLED=true\nWEBHOOK_PORT=8644\nWEBHOOK_SECRET=generate-a-strong-secret-here\n```\n\nAfter configuration, start (or restart) the gateway:\n```bash\nhermes gateway run\n# Or if using systemd:\nsystemctl --user restart hermes-gateway\n```\n\nVerify it's running:\n```bash\ncurl http:\u002F\u002Flocalhost:8644\u002Fhealth\n```\n\n## Commands\n\nAll management is via the `hermes webhook` CLI command:\n\n### Create a subscription\n```bash\nhermes webhook subscribe \u003Cname> \\\n  --prompt \"Prompt template with {payload.fields}\" \\\n  --events \"event1,event2\" \\\n  --description \"What this does\" \\\n  --skills \"skill1,skill2\" \\\n  --deliver telegram \\\n  --deliver-chat-id \"12345\" \\\n  --secret \"optional-custom-secret\"\n```\n\nReturns the webhook URL and HMAC secret. The user configures their service to POST to that URL.\n\n### List subscriptions\n```bash\nhermes webhook list\n```\n\n### Remove a subscription\n```bash\nhermes webhook remove \u003Cname>\n```\n\n### Test a subscription\n```bash\nhermes webhook test \u003Cname>\nhermes webhook test \u003Cname> --payload '{\"key\": \"value\"}'\n```\n\n## Prompt Templates\n\nPrompts support `{dot.notation}` for accessing nested payload fields:\n\n- `{issue.title}` — GitHub issue title\n- `{pull_request.user.login}` — PR author\n- `{data.object.amount}` — Stripe payment amount\n- `{sensor.temperature}` — IoT sensor reading\n\nIf no prompt is specified, the full JSON payload is dumped into the agent prompt.\n\n## Common Patterns\n\n### GitHub: new issues\n```bash\nhermes webhook subscribe github-issues \\\n  --events \"issues\" \\\n  --prompt \"New GitHub issue #{issue.number}: {issue.title}\\n\\nAction: {action}\\nAuthor: {issue.user.login}\\nBody:\\n{issue.body}\\n\\nPlease triage this issue.\" \\\n  --deliver telegram \\\n  --deliver-chat-id \"-100123456789\"\n```\n\nThen in GitHub repo Settings → Webhooks → Add webhook:\n- Payload URL: the returned webhook_url\n- Content type: application\u002Fjson\n- Secret: the returned secret\n- Events: \"Issues\"\n\n### GitHub: PR reviews\n```bash\nhermes webhook subscribe github-prs \\\n  --events \"pull_request\" \\\n  --prompt \"PR #{pull_request.number} {action}: {pull_request.title}\\nBy: {pull_request.user.login}\\nBranch: {pull_request.head.ref}\\n\\n{pull_request.body}\" \\\n  --skills \"github-code-review\" \\\n  --deliver github_comment\n```\n\n### Stripe: payment events\n```bash\nhermes webhook subscribe stripe-payments \\\n  --events \"payment_intent.succeeded,payment_intent.payment_failed\" \\\n  --prompt \"Payment {data.object.status}: {data.object.amount} cents from {data.object.receipt_email}\" \\\n  --deliver telegram \\\n  --deliver-chat-id \"-100123456789\"\n```\n\n### CI\u002FCD: build notifications\n```bash\nhermes webhook subscribe ci-builds \\\n  --events \"pipeline\" \\\n  --prompt \"Build {object_attributes.status} on {project.name} branch {object_attributes.ref}\\nCommit: {commit.message}\" \\\n  --deliver discord \\\n  --deliver-chat-id \"1234567890\"\n```\n\n### Generic monitoring alert\n```bash\nhermes webhook subscribe alerts \\\n  --prompt \"Alert: {alert.name}\\nSeverity: {alert.severity}\\nMessage: {alert.message}\\n\\nPlease investigate and suggest remediation.\" \\\n  --deliver origin\n```\n\n### Direct delivery (no agent, zero LLM cost)\n\nFor use cases where you just want to push a notification through to a user's chat — no reasoning, no agent loop — add `--deliver-only`. The rendered `--prompt` template becomes the literal message body and is dispatched directly to the target adapter.\n\nUse this for:\n- External service push notifications (Supabase\u002FFirebase webhooks → Telegram)\n- Monitoring alerts that should forward verbatim\n- Inter-agent pings where one agent is telling another agent's user something\n- Any webhook where an LLM round trip would be wasted effort\n\n```bash\nhermes webhook subscribe antenna-matches \\\n  --deliver telegram \\\n  --deliver-chat-id \"123456789\" \\\n  --deliver-only \\\n  --prompt \"🎉 New match: {match.user_name} matched with you!\" \\\n  --description \"Antenna match notifications\"\n```\n\nThe POST returns `200 OK` on successful delivery, `502` on target failure — so upstream services can retry intelligently. HMAC auth, rate limits, and idempotency still apply.\n\nRequires `--deliver` to be a real target (telegram, discord, slack, github_comment, etc.) — `--deliver log` is rejected because log-only direct delivery is pointless.\n\n## Security\n\n- Each subscription gets an auto-generated HMAC-SHA256 secret (or provide your own with `--secret`)\n- The webhook adapter validates signatures on every incoming POST\n- Static routes from config.yaml cannot be overwritten by dynamic subscriptions\n- Subscriptions persist to `~\u002F.hermes\u002Fwebhook_subscriptions.json`\n\n## How It Works\n\n1. `hermes webhook subscribe` writes to `~\u002F.hermes\u002Fwebhook_subscriptions.json`\n2. The webhook adapter hot-reloads this file on each incoming request (mtime-gated, negligible overhead)\n3. When a POST arrives matching a route, the adapter formats the prompt and triggers an agent run\n4. The agent's response is delivered to the configured target (Telegram, Discord, GitHub comment, etc.)\n\n## Troubleshooting\n\nIf webhooks aren't working:\n\n1. **Is the gateway running?** Check with `systemctl --user status hermes-gateway` or `ps aux | grep gateway`\n2. **Is the webhook server listening?** `curl http:\u002F\u002Flocalhost:8644\u002Fhealth` should return `{\"status\": \"ok\"}`\n3. **Check gateway logs:** `grep webhook ~\u002F.hermes\u002Flogs\u002Fgateway.log | tail -20`\n4. **Signature mismatch?** Verify the secret in your service matches the one from `hermes webhook list`. GitHub sends `X-Hub-Signature-256`, GitLab sends `X-Gitlab-Token`.\n5. **Firewall\u002FNAT?** The webhook URL must be reachable from the service. For local development, use a tunnel (ngrok, cloudflared).\n6. **Wrong event type?** Check `--events` filter matches what the service sends. Use `hermes webhook test \u003Cname>` to verify the route works.\n",{"name":5,"version":24,"metadata":25,"platforms":34,"description":7},"1.1.0",{"hermes":26},{"tags":27},[28,29,30,31,32,33],"webhook","events","automation","integrations","notifications","push",[35,36,37],"linux","macos","windows","main","d81262bfe1b578d7ed828d416304a752bccfe987","skills\u002Fwebhook-subscriptions","https:\u002F\u002Fgithub.com\u002Fwebdevtodayjason\u002Fsubctl-rust","https:\u002F\u002Fgithub.com\u002Fwebdevtodayjason","https:\u002F\u002Fjasonbrashear.com","Director of AI Development & Cybersecurity at Titanium Computing (Austin, TX). Designing AI-centric systems and secure automation.","2026-11-01 07:40:48",{"source":8,"skillName":5,"commands":47,"prompt":57,"zipAvailable":58},[48,51,54],{"tool":49,"command":50},"npx","npx skills add webdevtodayjason\u002Fsubctl-rust --skill webhook-subscriptions",{"tool":52,"command":53},"bunx","bunx skills add webdevtodayjason\u002Fsubctl-rust --skill webhook-subscriptions",{"tool":55,"command":56},"pnpm","pnpm dlx skills add webdevtodayjason\u002Fsubctl-rust --skill webhook-subscriptions","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fwebdevtodayjason\u002Fsubctl-rust\u002Fblob\u002Fmain\u002Fskills\u002Fwebhook-subscriptions\u002FSKILL.md",true,[],[61,68,75,82,89,96],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M74X5TM7TP9FV4C7SRDYPWAQ","yuanbao","Yuanbao (元宝) groups: @mention users, query info\u002Fmembers.","https:\u002F\u002Fgithub.com\u002Fwebdevtodayjason\u002Fsubctl-rust\u002Fblob\u002Fmain\u002Fskills\u002Fyuanbao\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M74X5S6QGYN611RBMXVZRMDD","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002Fwebdevtodayjason\u002Fsubctl-rust\u002Fblob\u002Fmain\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M74X5PM81GP275XANXZSVVYX","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002Fwebdevtodayjason\u002Fsubctl-rust\u002Fblob\u002Fmain\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M74X5KPVK9QTK7RWJHVFC6AY","writing-plans","Write implementation plans: bite-sized tasks, paths, code.","https:\u002F\u002Fgithub.com\u002Fwebdevtodayjason\u002Fsubctl-rust\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M74X5GG9AW6XWMRSQHADBT25","weights-and-biases","W&B: log ML experiments, sweeps, model registry, dashboards.","https:\u002F\u002Fgithub.com\u002Fwebdevtodayjason\u002Fsubctl-rust\u002Fblob\u002Fmain\u002Fskills\u002Fweights-and-biases\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":19},"01M74X5B9CTFV69B79GA8BW1ZQ","serving-llms-vllm","vLLM: high-throughput LLM serving, OpenAI API, quantization.","https:\u002F\u002Fgithub.com\u002Fwebdevtodayjason\u002Fsubctl-rust\u002Fblob\u002Fmain\u002Fskills\u002Fvllm\u002FSKILL.md",[],[]]