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/snipeship/ccflare/agents-mdgit clone --depth 1 https://github.com/snipeship/ccflareWhat 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.02406 | $0.02406 |
| Opus 5 | $0.01203 | $0.01203 |
| Sonnet 5 | $0.00481 | $0.00481 |
| Haiku 4.5 | $0.00241 | $0.00241 |
Grade A, and why
ccflare 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 — 419 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Guidance for code agents working in this repository.
This file is the repo-local source of truth for:
- workspace structure
- package ownership
- commands to run before handing work back
- DRY / refactor expectations
- where to look in
docs/before making architectural changes
Engineering Standard
Always optimize for code that is:
- clear to read
- easy to maintain
- appropriately DRY
- locally coherent
- boring in the good sense
Prefer small, obvious abstractions over clever ones. Remove repetition when it reduces maintenance cost, but do not introduce generic helper layers that make the code harder to follow than the duplication they replace.
The target is not “maximum abstraction.” The target is code that a strong engineer can understand and modify quickly without guessing at hidden behavior.
What This Repo Is
ccflare is a Bun/TypeScript monorepo for a multi-provider AI proxy.
Core product behavior:
- provider-native HTTP passthrough for
anthropic,openai,claude-code, andcodex - WebSocket proxying for supported upstreams
- account failover and session-based selection
- SQLite-backed request/account/auth-session persistence
- management API
- browser dashboard
- terminal UI
High-level docs:
Reading Order
If you are changing behavior, read in this order:
README.mddocs/architecture.md- the domain-specific doc for your area
Use these targeted references:
- API/control plane:
docs/api-http.md - runtime/request flow:
docs/data-flow.md - provider behavior:
docs/providers.md - config rules:
docs/configuration.md - database/persistence:
docs/database.md - load-balancing/session strategy:
docs/load-balancing.md - TUI behavior:
docs/tui.md - deployment/paths/build outputs:
docs/deployment.md - contribution expectations:
docs/contributing.md
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 · 419 lines · 2,406 tokens per session scan A 2dd4968645de
ccflare AGENTS.md is an instructions file published in the GitHub repository snipeship/ccflare (1,039 stars, last pushed 4mo ago), licensed MIT. It adds 2,406 tokens to every session, about $0.0120 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
open-managed-agents AGENTS.md
Instructions for openma-ai/open-managed-agents, covering agents guide, core concepts, agent, session and environment.
Claude-PHP-SDK copilot-instructions.md
Instructions for claude-php/Claude-PHP-SDK, covering copilot instructions for claude php sdk, project goals, architecture & core components, directory structure (to be created) and key architectural patterns.
claude-code-templates CLAUDE.md
Claude Code instructions for davila7/claude-code-templates, covering claude.md, project overview, essential commands, development and component catalog.
claude-code-hub CLAUDE.md
Claude Code instructions for ding113/claude-code-hub, covering claude.md, repository info, critical rules, build & development commands and development.
1flowbase AGENTS.md
Instructions for taichuy/1flowbase, covering 记忆, 用户偏好, 本项目相关skill在, 本项目 skills and 质量控制.
claudecodeui AGENTS.md
AGENTS.md instructions for siteboon/claudecodeui, covering repository guidance, backend code and frontend code.