Skip to content

feat: add claude-managed-agents-webhooks skill#42

Merged
leggetter merged 3 commits into
mainfrom
feat/claude-managed-agents-webhooks
May 11, 2026
Merged

feat: add claude-managed-agents-webhooks skill#42
leggetter merged 3 commits into
mainfrom
feat/claude-managed-agents-webhooks

Conversation

@leggetter
Copy link
Copy Markdown
Collaborator

Summary

Adds a complete claude-managed-agents-webhooks provider skill for Anthropic Claude Managed Agents (CMA) — X-Webhook-Signature HMAC-SHA256 verification with whsec_-prefixed signing secret, leveraging the official client.beta.webhooks.unwrap() SDK helper.

What's included

  • skills/claude-managed-agents-webhooks/SKILL.md — entry point with frontmatter
  • skills/claude-managed-agents-webhooks/references/ — overview (session + vault events), setup (Console webhook configuration), and verification (signature scheme + SDK unwrap pattern)
  • skills/claude-managed-agents-webhooks/examples/ — runnable handlers for Express, Next.js App Router, and FastAPI

Notes

  • Signing secret format: whsec_<base64>, env var convention: ANTHROPIC_WEBHOOK_SIGNING_KEY
  • SDK helpers (Python/TS/Go/C#/Java/PHP/Ruby) reject payloads older than 5 minutes
  • Event payloads only return event type + id — full object fetched via separate GET
  • Endpoint must return 2xx; 3xx is treated as failure and retried; ~20 consecutive failures auto-disables the endpoint
  • Common events: session.status_run_started, session.status_idled, session.status_rescheduled, session.status_terminated, session.outcome_evaluation_ended, plus vault.* and vault_credential.* lifecycle events

Test plan

  • cd skills/claude-managed-agents-webhooks/examples/express && npm test
  • cd skills/claude-managed-agents-webhooks/examples/nextjs && npm test
  • cd skills/claude-managed-agents-webhooks/examples/fastapi && pytest test_webhook.py -v
  • Verify signature/unwrap behavior against a real whsec_ secret
  • Confirm event names match the live docs table on platform.claude.com

Generation details

https://claude.ai/code/session_01NNTgQRJss1V7gyzzJ9rjnB


Generated by Claude Code

claude and others added 2 commits May 11, 2026 10:30
Adds initial skill for Anthropic Claude Managed Agents (CMA) webhooks with
Express, Next.js, and FastAPI examples. Pending review-feedback fixes to the
signature verification format.

https://claude.ai/code/session_01NNTgQRJss1V7gyzzJ9rjnB
…yaml

Adds the Claude Managed Agents row to the Provider Skills table in
README.md and a providers.yaml entry (docs URLs, notes, testScenario) so
the "Validate New Provider" CI workflow finds the integration files. The
integrations were previously only on the prep branch (PR #40); moving them
onto each feat PR makes the 12 generated PRs independently mergeable in
any order.

https://claude.ai/code/session_01NNTgQRJss1V7gyzzJ9rjnB
…-cli` with source arg

Applies the new project convention from PR #40: use
`npx hookdeck-cli listen <port> <source> --path /webhooks/<source>`
everywhere instead of `hookdeck listen <port> --path /webhooks/<source>`.
Skips the global-install prereq (webhook-skills is provider-neutral) and
passes the required `[source]` positional so the command is copy-paste-
runnable without falling into an interactive prompt.

https://claude.ai/code/session_01NNTgQRJss1V7gyzzJ9rjnB
@leggetter leggetter marked this pull request as ready for review May 11, 2026 21:40
@leggetter leggetter merged commit 5c6fde4 into main May 11, 2026
6 checks passed
@leggetter leggetter deleted the feat/claude-managed-agents-webhooks branch May 11, 2026 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants