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.
npx agentmods add instructions/hookdeck/hookdeck-cli/agents-mdgit clone --depth 1 https://github.com/hookdeck/hookdeck-cliWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.07487 | $0.07487 |
| Opus 5 | $0.03743 | $0.03743 |
| Sonnet 5 | $0.01497 | $0.01497 |
| Haiku 4.5 | $0.00749 | $0.00749 |
Grade A, and why
hookdeck-cli AGENTS.md scanned grade A with 0 findings 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 2d ago.
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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 594 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS Guidelines for Hookdeck CLI
This repository contains the Hookdeck CLI, a Go-based command-line tool for managing webhook infrastructure. When working with this codebase, please follow these guidelines to maintain consistency and ensure proper functionality.
1. Project Structure & Navigation
Core Directories
pkg/cmd/- All CLI commands (Cobra-based)pkg/hookdeck/- API client and modelspkg/config/- Configuration managementpkg/listen/- Local webhook forwarding functionalitymain.go- Main entry point (repo root)REFERENCE.md- Complete CLI documentation and examples
Key Files
https://api.hookdeck.com/2025-07-01/openapi- API specification (source of truth for all API interactions)pkg/cmd/sources/- Fetches and caches the OpenAPI spec for source type enum and auth rules; use for validation and help in source and connection managementpkg/cmd/helptext.go- Shared Short/Long help for resource commands (sources, connections); use when adding or editing command help to avoid duplication.plans/- Implementation plans and architectural decisionsAGENTS.md- This file (guidelines for AI agents)
2. OpenAPI to CLI Conversion Standards
When adding new CLI commands that interact with the Hookdeck API, follow these conversion patterns:
Parameter Mapping Rules
# Nested JSON objects → Flat CLI flags
API: { "configs": { "strategy": "final_attempt" } }
CLI: --strategy final_attempt
# Arrays → Comma-separated values
API: { "connections": ["conn_1", "conn_2"] }
CLI: --connections "conn_1,conn_2"
# Boolean presence → Presence flags
API: { "channels": { "email": {} } }
CLI: --email
# Complex objects with values → Value flags
API: { "channels": { "slack": { "channel_name": "#alerts" } } }
CLI: --slack-channel "#alerts"
Flag Naming Conventions
- Resource identifiers: Always
--namefor human-readable names - Type parameters:
- Individual resource commands: Use
--type(clear context)- Sources:
hookdeck source create --type STRIPE - Destinations:
hookdeck destination create --type HTTP - Issue Triggers:
hookdeck issue-trigger create --type delivery
- Sources:
- Connection creation: Use prefixed flags to avoid ambiguity when creating inline resources
--source-type STRIPEwhen creating source inline--destination-type HTTPwhen creating destination inline- This prevents confusion between source and destination types in single command
- Individual resource commands: Use
- Authentication: Standard patterns (
--api-key,--webhook-secret,--basic-auth)- Connection creation: Use prefixed authentication to avoid collisions
--source-webhook-secretfor source authentication--destination-api-keyfor destination authentication
- Connection creation: Use prefixed authentication to avoid collisions
- Collections: Use comma-separated values (
--connections "a,b,c") - Booleans: Use presence flags (
--email,--pagerduty,--force)
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.
- 2d ago First seen · 594 lines · 7,487 tokens per session scan A 11e9d9842014
hookdeck-cli AGENTS.md is an instructions file published in the GitHub repository hookdeck/hookdeck-cli (360 stars, last pushed 8d ago), licensed Apache-2.0. It adds 7,487 tokens to every session, about $0.0374 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
portr AGENTS.md
AGENTS.md instructions for amalshaji/portr, covering repository guidelines, project structure & module organization, build, test, and development commands, coding style & naming conventions and testing guidelines.
agent-skills AGENTS.md
Instructions for hookdeck/agent-skills, covering agents.md, hookdeck.com discovery index, specification, hard constraints and authoring principles.
rustunnel CLAUDE.md
Claude Code instructions for joaoh82/rustunnel, covering claude.md, what is rustunnel, parent project, how i fit in and common commands.
rustunnel AGENTS.md
AGENTS.md instructions for joaoh82/rustunnel, covering agents.md, using rustunnel as a tool (expose local services), one-time setup the user must do and what you can do (mcp tools).
agent-skills CLAUDE.md
Instructions for hookdeck/agent-skills: See AGENTS.md for all instructions on working with this repository.
liveport CLAUDE.md
Claude Code instructions for dundas/liveport, covering claude.md, build & development commands, install dependencies, build all packages (uses turborepo) and build specific package.