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/serpin-taxt/openchief/claude-mdgit clone --depth 1 https://github.com/serpin-taxt/openchiefWrote 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/serpin-taxt/openchief/claude-md)<a href="https://agentmods.dev/instructions/serpin-taxt/openchief/claude-md"><img src="https://agentmods.dev/badge/instructions/serpin-taxt/openchief/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.06349 | $0.06349 |
| Opus 5 | $0.03174 | $0.03174 |
| Sonnet 5 | $0.01270 | $0.01270 |
| Haiku 4.5 | $0.00635 | $0.00635 |
Grade A, and why
openchief CLAUDE.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 4d 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 — 454 lines — stays where its author put it; the contents beside it link to each section on GitHub.
OpenChief
AI agents that passively watch business tools and produce reports via Claude. Open-source, serverless, runs on Cloudflare Workers.
Architecture
- pnpm monorepo + Turborepo —
packages/shared,workers/*,workers/connectors/* - Cloudflare Workers — runtime (Durable Objects), router (Queue consumer), dashboard (React SPA + API), connectors (one Worker per data source)
- Cloudflare D1 — shared database for agents, events, reports, revisions, identity mappings, model settings
- Cloudflare KV — caching layer for subscriptions, reports, user profiles, connector metadata, avatars
- Cloudflare Queues —
openchief-eventsqueue connects connectors to the router - Cloudflare Vectorize — vector index for RAG (long-term memory), stores report/event embeddings
- Cloudflare Workers AI — embedding model (
@cf/baai/bge-base-en-v1.5) for Vectorize indexing and retrieval - Durable Objects — per-agent persistent state with SQLite inbox (events, reports, chat history, reasoning log)
- React + Tailwind CSS v4 — SPA dashboard at
workers/dashboard - Anthropic Claude — LLM for report generation and agent chat (claude-sonnet-4-6 default)
Repo Structure
openchief/
├── packages/shared/ # @openchief/shared — types, matching, ULID generation
├── workers/
│ ├── runtime/ # Agent Durable Object runtime (report generation + chat)
│ ├── router/ # Event router (queue consumer → D1 persistence)
│ ├── dashboard/ # React SPA + API worker (all UI + management endpoints)
│ ├── demo-engine/ # Synthetic event generator for demo mode (Serpin's Burger Shack)
│ └── connectors/ # One Worker per data source (14 connectors, all implemented)
│ ├── github/ # Webhook + polling
│ ├── slack/ # Webhook + polling + backfill + identity sync
│ ├── discord/ # Webhook (Ed25519) + polling
│ ├── figma/ # OAuth + webhook + polling (file updates, versions, comments, deletes, library publishes)
│ ├── jira/ # Polling (issues, transitions, sprints)
│ ├── jpd/ # Polling (Jira Product Discovery — ideas, insights)
│ ├── notion/ # Polling (pages, databases, comments)
│ ├── intercom/ # Webhook (HMAC-SHA1) + polling (conversations)
│ ├── twitter/ # OAuth PKCE + polling (multi-account, search)
│ ├── amplitude/ # Polling (metrics snapshots)
│ ├── google-calendar/ # OAuth + polling (calendar events)
│ ├── google-analytics/ # Polling (GA4 metrics via service account)
│ ├── quickbooks/ # OAuth (Intuit) + polling (invoices, payments, P&L)
│ └── rippling/ # Polling (employees, org structure, time-off)
├── agents/ # 15 agent JSON definitions (data, not code)
├── migrations/ # 7 D1 SQL migration files
├── scripts/ # setup.ts, seed-agents.ts, generate-config.ts, deploy.ts, teardown.ts
├── openchief.example.config.ts
├── turbo.json
└── pnpm-workspace.yaml
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.
- 4d ago First seen · 454 lines · 6,349 tokens per session scan A ebb9b635e393
openchief CLAUDE.md is an instructions file published in the GitHub repository serpin-taxt/openchief (24 stars, last pushed 5mo ago), licensed MIT. It adds 6,349 tokens to every session, about $0.0317 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
tempe-mail AGENTS.md
Instructions for Ghufrnainun/tempe-mail, covering agents.md — tempemail ai agent guide, project overview, tech stack, directory structure and setup & development.
betting-brain-v3 CLAUDE.md
Instructions for brendadeeznuts1111/betting-brain-v3, covering claude.md, 🎯 current project status (2025-10-07), ✅ production ready, recent recovery (last 2 hours) and quick wins available.
appwrite AGENTS.md
AGENTS.md instructions for appwrite/appwrite, covering appwrite, commands, stack, layout and libraries.
workflow AGENTS.md
AGENTS.md instructions for vercel/workflow, covering agent instructions, architecture, core components, workflow execution model and development commands.
cloudflare-workers-nextjs-saas-template AGENTS.md
AGENTS.md instructions for LubomirGeorgiev/cloudflare-workers-nextjs-saas-template, covering project context, vinext, general coding rules, control flow and comments.
microfeed AGENTS.md
AGENTS.md instructions for microfeed/microfeed, covering repository guidance, development workflow, instance management and cloudflare deployment, source architecture and theme repositories.