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/prebid/salesagent/claude-mdgit clone --depth 1 https://github.com/prebid/salesagentWrote 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.
[](https://agentmods.dev/instructions/prebid/salesagent/claude-md)<a href="https://agentmods.dev/instructions/prebid/salesagent/claude-md"><img src="https://agentmods.dev/badge/instructions/prebid/salesagent/claude-md.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.08568 | $0.08568 |
| Opus 5 | $0.04284 | $0.04284 |
| Sonnet 5 | $0.01714 | $0.01714 |
| Haiku 4.5 | $0.00857 | $0.00857 |
Grade A, and why
salesagent CLAUDE.md 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 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
fetch(apiUrl, { credentials: 'same-origin' }); How it starts
The opening of the file, as written. The whole thing โ 767 lines โ stays where its author put it; the contents beside it link to each section on GitHub.
Prebid Sales Agent - Development Guide
๐ค For Claude (AI Assistant)
This guide helps you work effectively with the Prebid Sales Agent codebase maintained under Prebid.org. Key principles:
Working with This Codebase
- Always read before writing - Use Read/Glob to understand existing patterns
- Test your changes - Run
make qualitybefore committing - Follow the patterns - 7 critical patterns below are non-negotiable
- When stuck - Check
/docsfor detailed explanations - Pre-commit hooks are your friend - They catch most issues automatically
- Name your PRs correctly - they need to pass .github/workflows/pr-title-check.yml
Common Task Patterns
- Adding a new AdCP tool: Extend library schema โ Add
_impl()function โ Add MCP wrapper โ Add A2A raw function โ Add tests - Fixing a route issue: Check for conflicts with
grep -r "@.*route.*your/path"โ Useurl_for()in Python,scriptRootin JavaScript - Modifying schemas: Verify against AdCP spec โ Update Pydantic model โ Run
pytest tests/unit/test_adcp_contract.py - Database changes: Use SQLAlchemy 2.0
select()โ UseJSONTypefor JSON โ Create migration withalembic revision
Key Files to Know
src/core/main.py- MCP server and tool registrationsrc/core/tools/- tool_impl()business logic, MCP wrappers, and A2A raw functions (package)src/core/schemas/- Pydantic models, AdCP-compliant (package)src/adapters/base.py- Adapter interfacesrc/adapters/gam/- GAM implementationtests/unit/test_adcp_contract.py- Schema compliance tests
DRY (Don't Repeat Yourself) โ Non-Negotiable Invariant
DRY is not "premature optimization." It is not "refactoring beyond what was asked." It is a correctness requirement, equivalent to type safety or test integrity.
- If you write a block of logic that is structurally similar to an existing block (same pattern, different variables), you MUST extract a shared helper function
- If you are asked to refactor duplicated code, that is a bug fix, not an "improvement"
- NEVER cite "avoid over-engineering" or "keep it simple" to justify leaving duplicated logic in place
- Duplicated code is a defect. It means the next person who fixes a bug in one copy will miss the other copy. This is not theoretical โ it has caused real bugs in this codebase
- Enforced by:
check_code_duplication.pypre-commit hook (pylint R0801, ratcheting baseline in.duplication-baseline)
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 ยท 767 lines ยท 8,568 tokens per session scan A 9d571ebf5916
salesagent CLAUDE.md is an instructions file published in the GitHub repository prebid/salesagent (36 stars, last pushed 2d ago), licensed Apache-2.0. It adds 8,568 tokens to every session, about $0.0428 per session on Opus 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-09-01.
Other instructions, from other repositories
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart โ add a new integration in 5 steps, integration architecture and integrationmanifest โ file tracking.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
next.js AGENTS.md
Instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.