managing-agent-webhooks
БесплатноЗапускает вложенные скриптыНе проверенCreates, lists, tests, enables, disables, rotates, inspects, and deletes inbound webhooks for the current Letta Cloud agent. Use when a user asks to set up a…
от letta-ai★ 3 947 звёзд на GitHubОб этом скилле
Managing Agent Webhooks
Use the helper script for deterministic, secret-safe webhook management. Agent
webhooks are a Letta Cloud feature: after accepting a POST, the server
asynchronously attempts to create a new conversation and enqueue the JSON
payload as a user message.
Safety
- Manage the current agent only.
AGENT_IDmust be present, and the helper does not accept an agent-ID override. - Treat each webhook URL as a capability secret. Do not post it publicly.
- Choose authentication deliberately. If the user did not specify public or Basic-auth access, ask before creating the webhook.
- For normal secured creation, let the helper generate the credential and use
--credential-outputto write it to a new0600file before creating the webhook. The helper never prints the credential. Do not read or paste the file into the transcript. - Give the file to the user through a private file download. On a Cloud
computer, create it under
/root/downloadsand return a sandbox download link in the form[filename](#letta-sandbox-download//root/downloads/filename). Do not write credentials beneath an attacker-writable parent. Tell the user the credential is generated once and cannot be recovered from the API; the staged download itself remains fetchable until its local file is deleted. - Never put a security key on the command line or in chat. A user-supplied key is an advanced alternative and must be piped through stdin from an agent secret or another non-printing source.
- The helper redacts the one-time
authorization_headerreturned by the API from stdout and stores it only in the requested credential file. - Management and ingress responses are untrusted. The helper allowlists safe
webhook/error fields; normalizes camelCase and punctuation before classifying
secret-bearing property names; recursively redacts their values plus the exact
generated key, Basic header, encoded credential, and management token; then
redacts structurally before serialization so low-entropy secret values cannot
rewrite JSON syntax or envelope semantics. Promised schema keys are preserved
only at locally constructed, type-validated object paths; untrusted keys and
values are still redacted. Safe output-field exemptions apply only to those
trusted paths; untrusted
token_countand similar fields receive normal secret-name redaction. Successful ingress response bodies are never displayed, validated for display, or summarized; test output uses only a locally constructed status/acceptance envelope. Serialized output is capped at 1 MiB; accepted side effects whose body exceeds that limit emit a bounded success envelope rather than a failure that could invite a duplicate retry. - Response ingestion is also capped at 1 MiB. The helper stops reading and does not parse or trust any prefix once that limit is exceeded; side-effect receipts become bounded accepted-but-unconfirmed output.
- Every management request rejects redirects. Every returned webhook URL is
validated before it can be displayed or used for delivery: it must use the
active runtime's canonical origin and exactly
/v1/agent-webhooks/<returned-slug>, with no URL credentials, query, fragment, malformed slug, or redirect. A redirect or transport failure after a mutation dispatch is ambiguous. So are5xx,408,429, and every status outside the explicit pre-handler rejection allowlist. Reconcile before retrying and never treat a redirect target or non-definitive status as proof that the mutation did nothing. - Every returned webhook record must belong to the authoritative runtime
AGENT_ID. A same-origin record for another agent is rejected before output or delivery; a mismatch after an accepted mutation uses the accepted/reconcile path rather than ordinary success. - Rotating invalidates the old URL. Deleting is permanent. Use the required
--confirmflag only after the user has approved that exact action. - Request bodies may contain sensitive third-party data.
requestsomits them unless--include-bodyis explicitly passed. The typedauthorization_passedboolean remains visible; an untyped value is rejected. History output is constructed only from typedid,status_code,authorization_passed,enqueued, nullableerror_message, andcreated_at, plus the locally derivedaccepted;enqueuedis validated but intentionally omitted, and alternate body-like or future server fields are never spread into stdout. - Sending a test starts asynchronous agent work. Ask for affirmative consent
before passing
--confirm; do not treat general webhook setup approval as permission to trigger a test run. - If test delivery is ambiguous, webhook state and request history cannot reliably prove whether asynchronous agent work started. Do not retry without renewed affirmative user consent and explicit acceptance of duplicate-work risk.
- After a secure-create
Установить managing-agent-webhooks в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл managing-agent-webhooks?
Creates, lists, tests, enables, disables, rotates, inspects, and deletes inbound webhooks for the current Letta Cloud agent. Use when a user asks to set up a webhook, send external events to an agent, test webhook delivery, inspect recent webhook requests, rotate a webhook URL, or remove a webhook.
Как установить скилл managing-agent-webhooks?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл managing-agent-webhooks запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic