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/chdb-io/chdb/agents-mdgit clone --depth 1 https://github.com/chdb-io/chdbWhat 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.01774 | $0.01774 |
| Opus 5 | $0.00887 | $0.00887 |
| Sonnet 5 | $0.00355 | $0.00355 |
| Haiku 4.5 | $0.00177 | $0.00177 |
Grade A, and why
chdb 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 yesterday.
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 — 199 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md — chDB
This file captures the design and testing principles of the chdb-ds (DataStore) layer for AI coding agents working on this repository and follows the agents.md open standard.
For setup, build commands, the modify-then-test workflow, PR
conventions, CI matrix, security, and other contributor mechanics,
see CONTRIBUTING.md.
1. Fully lazy execution architecture
- All methods returning DataFrame or Series should return Lazy
objects (such as
DataStore,LazySeries). - Defer execution until results are actually needed.
- Preserve the ability to select the optimal execution engine (pandas vs chDB / SQL) at execution stage.
- API style does not determine execution engine — pandas-style, Pythonic, SQL terminology should all compile to the same optimised backend execution.
- Final execute stage selects pandas or chDB ExecutionEngine based on the config system.
2. Natural execution triggering (explicit calls prohibited)
- Prohibit explicit calls to
_execute(). - Avoid explicit conversions like
to_df(),to_list(),to_pandas()as much as possible. - Execution is triggered through natural means:
.columns— get column nameslen()— get length.index— get indexrepr()/print()— display results__iter__— iteration.equals()— comparison
3. Unified architecture, simplicity first
- Do not consider backward compatibility — first priority is architectural simplicity and elegance.
- Don't create split class hierarchies for different execution engines.
ColumnExpruniformly wraps all expression types.- Handle lazy execution through unified
LazySeries,LazyGroupBy, etc. LazyOpuniformly manages all lazy operations.- Avoid duplicate definitions; keep code structure clear with single responsibility.
4. Testing principles
Philosophy:
- Discovered problems are opportunities to improve the library.
- Analyse problems from an architectural perspective — don't easily modify tests just to pass them.
- Using
reset_index()in tests to mask problems = DataStore bug, not correct test writing. - Don't obsess over container type differences between DataFrame and DataStore.
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.
- yesterday First seen · 199 lines · 1,774 tokens per session scan A 161524ddccb9
chdb AGENTS.md is an instructions file published in the GitHub repository chdb-io/chdb (2,885 stars, last pushed 4d ago), licensed Apache-2.0. It adds 1,774 tokens to every session, about $0.0089 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
turso AGENTS.md
Instructions for tursodatabase/turso, covering turso agent guidelines, quick reference, testing, running tests and test organization.
marimo AGENTS.md
Instructions for marimo-team/marimo, covering marimo development guidelines, your primary responsibility is to the project and its users, quick setup, development commands and python.
dagster CLAUDE.md
Instructions for dagster-io/dagster, covering dagster development guide, quick references, environment setup, essential commands and code quality - run after every python edit.
sqlglot AGENTS.md
Instructions for tobymao/sqlglot, covering contributing to sqlglot, about sqlglot, development commands, installation and basic installation.
FLAML copilot-instructions.md
Instructions for microsoft/FLAML, covering github copilot instructions for flaml, project overview, build and test commands, installation and basic installation.
marimo copilot-instructions.md
Instructions for marimo-team/marimo: For example, if there is a frontend change to make a border thicker, how does this look in run mode, app-view and edit-view? For a backend change, has the user tested different scenarios?