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/wgzhao/addax/agents-mdgit clone --depth 1 https://github.com/wgzhao/AddaxWrote 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/wgzhao/addax/agents-md)<a href="https://agentmods.dev/instructions/wgzhao/addax/agents-md"><img src="https://agentmods.dev/badge/instructions/wgzhao/addax/agents-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.01794 | $0.01794 |
| Opus 5 | $0.00897 | $0.00897 |
| Sonnet 5 | $0.00359 | $0.00359 |
| Haiku 4.5 | $0.00179 | $0.00179 |
Grade A, and why
Addax 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 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 — 152 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
概述
该项目是一个离线的 ETL 工具,通过插件化架构支持多种数据源和目标。核心组件包括 Engine、JobContainer,以及各种 Reader/Writer 插件。项目使用 Maven 管理构建和依赖。
通用偏好
- 用中文回复,代码注释用英文,注释写 why 不写 how
- 简洁直接,不要多余总结和解释
- 直接写代码,不需要每次确认后再生成
编译
整体编译
mvn clean package -T1C -DskipTests
单模块编译(以 dorisreader 为例)
mvn clean package -pl :dorisreader -am
禁止
core为核心模块,包含 Engine 和 JobContainer 等核心类。修改此模块需谨慎,确保不破坏核心运行逻辑。addax-rdbms包含多个 JDBC/SQL 相关的工具类addax-lib包含一些通用工具类和依赖管理, 若无必要,避免修改核心工具类。- 尽可能不要引入新的依赖库,尤其是核心模块和公共库。新增依赖可能引入版本冲突或增加维护负担。
- 考虑到兼容各类 RDBMS 的最低版本,因此各依赖库的版本请勿修改,除非确实需要修复安全漏洞或兼容性问题,并且在修改前先评估对现有插件的影响。
- 不需要写单元测试,所有的测试都会在目前特定构建的环境下手工执行
运行流程
- 编辑一个
json格式或者yaml格式的 Job 配置文件,指定 Reader、Writer 以及相关参数,可以参考core/src/main/job下的例子 - 执行
addax.sh脚本,传入 Job 配置文件路径,例如:
sh addax.sh -job /path/to/job.json
程序运行的内部流程可以参考这个文档
插件开发
新增插件的开发流程可以参考plugin development 文档
架构与设计宗旨
- 从第一性原理解构问题 一先明确什么是必须的,再决定怎么做
- 警惕 XY 问题-多角度审视方案,先确认真正要解决的是什么,主动提出替代方案
- 解決根本问题,不要 workaround -如果现有架构不支持,重构它
- 质疑不合理的需求和方向—发现问题立刻指出,不要等我问才说,不要奉承或无脑赞同
- 架构设计时参考 ddia-principles 和 software-design-philosophy 规则
Git / PR 标准流程
当用户明确提出“提交并创建 PR”时,默认按以下流程执行(除非用户另有说明):
- 创建新分支后再提交,分支名建议使用
feat/<topic>或fix/<topic>格式,根据本次修改的性质选择feat(新功能)或fix(修复)。例如:feat/add-protobuf-dependency。 - 使用英文编写 commit message:
title简洁明确(建议 Conventional Commits 风格)。description/body说明动机、核心改动、验证情况。
- 使用
gh命令创建 PR,不只推送分支:- 示例:
gh pr create --base master --head <branch> --title "<english title>" --body-file <file>
- 示例:
- PR 内容必须使用英文,遵循 PR 模板 进行填写
- 若无特别要求,PR 设为 Ready for review(非 Draft)。
以上流程可由一句 "提交并创建 PR" 触发,不需要用户重复描述细节格式要求。
Commit Message 规范
为保证提交历史可读、可检索、可自动化发布,统一使用 Conventional Commits 格式:
<type>(<scope>)!: <subject>
[optional body]
[optional footer(s)]
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 · 152 lines · 1,794 tokens per session scan A 4bb9394a3eff
Addax AGENTS.md is an instructions file published in the GitHub repository wgzhao/Addax (1,428 stars, last pushed 2d ago), licensed Apache-2.0. It adds 1,794 tokens to every session, about $0.0090 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
jitsu AGENTS.md
AGENTS.md instructions for jitsucom/jitsu, covering jitsu — agent guidelines, project overview, repository structure, go (/bulker) and node.js / typescript.
openlit AGENTS.md
AGENTS.md instructions for openlit/openlit, covering openlit agent rules, ce/oss boundary, extension points, project hierarchy and ui and security.
Tracely-ai CLAUDE.md
Claude Code instructions for Jwuthri/Tracely-ai, covering claude.md, commands, architecture, hard rules and gotchas.
clickhouse-go AGENTS.md
AGENTS.md instructions for ClickHouse/clickhouse-go, a project described as: Golang driver for ClickHouse.
openlit CLAUDE.md
Claude Code instructions for openlit/openlit, a project described as: Open source platform for AI Engineering: OpenTelemetry-native LLM Observability, GPU Monitoring, Guardrails, Evaluations, Prompt Management, Vault, Playground. 🚀💻 Integrates with 50+ LLM Providers, VectorDBs, Agent Frameworks and GPUs.
agent-skills AGENTS.md
Instructions for ClickHouse/agent-skills, covering agents.md, repository overview, repository structure, creating a new skill and directory structure.