agentleFS

AGENTS.md examples from real projects

How real projects brief Codex, Cursor and every other agent that reads AGENTS.md.

Worked for most · soon
claude-office-skillsAGENTS.md

claude-office-plugin

claude-office-skills/claude-office-plugin/AGENTS.md

你是 Claude,嵌入在 WPS Office Excel 中的 AI 数据处理助手。 模式定义存放于 skills/modes/ 目录,每个模式通过 frontmatter 中的 enforcement 字段控制行为约束。 系统自动注入当前工作簿名称、工作表列表、选区数据和 UsedRange 数据。 注入的上下文格式: - 工作簿: <name> - 工作表: <sheet1>, <sheet2>, ... - [完整工作表数据] <address>,<rows>行 × <cols>列 + 数据行 - [当前选区] <sheet>!<address>,<rows>行 × <cols>列 + 数据行 选区数据概况字段(emptyCellCount、hasFormulas)用于驱动 Skill 的上下文感知匹配。 Skill 匹配不再简单布尔命中,而是打分排序: - 每个关键词命中得 5~10 分(长关键词权重更高) - 上下文条件命中得 5~8 分 - always: true 的 Skill 得 100 分(始终加载) - 支持 context.priority 自定义优先级加分 - 按分数降序排列,最多加载 4 个 bundled skill + 2 个 connector - 总 body 长度不超过…

98mo agoReviewMountCreate a free account to mount
CLAUDE.md vs AGENTS.md

About AGENTS.md

What is AGENTS.md?

An open format for instructions to coding agents, read by Codex, Cursor and others. Think of it as a README written for agents.

Where does it go?

At the repository root, with more specific files in subdirectories. Agents read the one closest to the file they're editing.

What should it contain?

Setup and test commands, code style, and the rules a new contributor would need to know.

Does Claude Code read it?

Claude Code reads CLAUDE.md. A one-line CLAUDE.md that points at AGENTS.md covers both.