clio-webhooks

clio-webhooks is a skill for Claude Code, Codex from hookdeck/webhook-skills. It costs 64 tokens per session (2,404 once invoked), scanned A, original, MIT.

A guide for receiving and checking Clio Manage notifications, where Clio Manage is software for managing legal practices and their matters, contacts, activities, and bills.

In plain words
What is it for?
It helps handle matter, contact, activity, and billing events, complete the X-Hook-Secret handshake, verify signed requests, and keep a webhook active.
Why use it?
It explains Clio's setup handshake and signature checks so event deliveries can be enabled and accepted safely.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps handle matter, contact, activity, and billing events, complete the X-Hook-Secret handshake, verify signed requests, and keep a webhook active.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hookdeck/webhook-skills/clio-webhooks
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add hookdeck/webhook-skills --skill clio-webhooks
Clone the repo
git clone --depth 1 https://github.com/hookdeck/webhook-skills

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin clio-webhooks — /plugin install clio-webhooks after adding the marketplace above.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for clio-webhooks

README.md
[![agentmods](https://agentmods.dev/badge/skills/hookdeck/webhook-skills/clio-webhooks/github.svg)](https://agentmods.dev/skills/hookdeck/webhook-skills/clio-webhooks)
Your own site
<a href="https://agentmods.dev/skills/hookdeck/webhook-skills/clio-webhooks"><img src="https://agentmods.dev/badge/skills/hookdeck/webhook-skills/clio-webhooks/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for clio-webhooks

Your own site · 80×15
<a href="https://agentmods.dev/skills/hookdeck/webhook-skills/clio-webhooks"><img src="https://agentmods.dev/badge/skills/hookdeck/webhook-skills/clio-webhooks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,404 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 160
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium MCP Rug Pull · line 173
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00064 $0.02404
Opus 5.5 $0.00026 $0.00962
Sonnet 5.5 $0.00013 $0.00481
Haiku 4.5 $0.00006 $0.00240

Measured 1mo ago against content hash 3f2f97a02ad4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

clio-webhooks scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 7 executable files (examples/express/src/index.js, examples/express/test/webhook.test.js, examples/fastapi/main.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X POST https://app.clio.com/api/v4/webhooks.json \
skills/clio-webhooks/SKILL.md · 210 lines

How it starts

The opening of the file, as written. The whole thing — 210 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Clio Webhooks

When to Use This Skill

  • How do I receive Clio webhooks?
  • How do I verify Clio webhook signatures (X-Hook-Signature)?
  • How do I complete the Clio X-Hook-Secret handshake / activation?
  • How do I handle created, updated, deleted, or matter lifecycle events?
  • Why is my Clio webhook signature verification failing?
  • How do I keep a Clio webhook from expiring?

How Clio Webhooks Work

Clio Manage delivers webhooks in two distinct kinds of POST request to your URL:

  1. Handshake — Immediately after a webhook is created (or its URL changes), Clio sends a POST containing an X-Hook-Secret header with a freshly generated shared secret. Your endpoint must confirm it (echo the same header back with 200 OK). Clio's docs say the webhook is not enabled until the handshake succeeds — though in one observed EU test the webhook auto-enabled and began delivering without any handshake request arriving (see references/setup.md). Implement the echo regardless: it is how you obtain the secret, and it is the key for verifying every later event.
  2. Events — Every subsequent delivery is signed. Clio computes HMAC-SHA256(shared_secret, raw_request_body) and puts the digest in the X-Hook-Signature header. Verify it against the raw body.

Clio does not ask you to supply the secret when creating the webhook — Clio generates it and hands it to you during the handshake. Save it (e.g. keyed by webhook_id) as CLIO_WEBHOOK_SECRET.

Verification (core)

X-Hook-Signature is the HMAC-SHA256 digest of the raw body, keyed with the shared secret. Pass the raw body (never re-serialized JSON) and compare timing-safe.

Clio's docs state only that it "will compute an HMAC-SHA256 signature based on the shared secret and the request body" — they never say whether the digest is hex or base64 encoded.

Verified against a live delivery: it is lowercase hex (64 characters). This was confirmed by recomputing HMAC-SHA256 over the raw body with the webhook's shared_secret and matching the header exactly. The handlers below still compute the digest once and accept either encoding, so they keep working if Clio ever differs by region or changes it — but hex is what you should expect.

Read the full file on GitHub · 210 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 210 lines · 64 tokens per session scan A 3f2f97a02ad4

Subscribe to this mod's changes

clio-webhooks is a skill published in the GitHub repository hookdeck/webhook-skills (92 stars, last pushed 3d ago), licensed MIT. It adds 64 tokens to every session and 2,404 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens

next-cache-components-optimizer

Optimize the meaningful UI available immediately from a Next.js route on an initial load (hard navigation) or named client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route and entry point at a time; the shipped test then guards…

vercel/next.js · 123 tokens