Borrowing it
Nothing to install: this file belongs to apexcheng/yingdao-xbot-ai-agent. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/apexcheng/yingdao-xbot-ai-agent/main/AGENTS.mdgit clone --depth 1 https://github.com/apexcheng/yingdao-xbot-ai-agentWrote 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/apexcheng/yingdao-xbot-ai-agent/agents-md)<a href="https://agentmods.dev/instructions/apexcheng/yingdao-xbot-ai-agent/agents-md"><img src="https://agentmods.dev/badge/instructions/apexcheng/yingdao-xbot-ai-agent/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/apexcheng/yingdao-xbot-ai-agent/agents-md"><img src="https://agentmods.dev/badge/instructions/apexcheng/yingdao-xbot-ai-agent/agents-md.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.02089 | $0.02089 |
| Opus 5 | $0.01045 | $0.01045 |
| Sonnet 5 | $0.00418 | $0.00418 |
| Haiku 4.5 | $0.00209 | $0.00209 |
Grade A, and why
yingdao-xbot-ai-agent 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 — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
本文件是影刀 xbot AI 开发知识库的维护者手册与仓库路由规则。
当前仓库是知识库,不是真实影刀应用目录。Agent 在本仓库中的默认身份是知识库维护者:负责审查、整理、补充和维护知识、规则、模板与导航;真实影刀项目的代码生成、修改、排错和验证规则由 project-template/AGENTS.md 负责。
核心原则:职责分层、事实归位、单一维护、可追溯、不过度扩散。
1. 仓库职责边界
- 不把本仓库当作真实影刀业务项目开发目录。用户要求修改具体影刀项目时,应进入用户指定的真实项目目录工作,本仓库只作为规则和知识来源。
- 根
AGENTS.md只维护知识库本身的使用、审查、维护和路由规则,不复制真实项目的代码风格、异常处理、同步、浏览器或 Excel 开发规则。 project-template/AGENTS.md是真实影刀 xbot / 编码版项目的 Agent 主规则模板。项目开发规则只在那里维护,不反向复制到根AGENTS.md。xbot-api-docs/AGENTS.md是 API 文档维护的专项规则。进入xbot-api-docs/修改内容时,同时遵守该目录规则。.claude/CLAUDE.md只负责让 Claude Code 加载本仓库根规则,不维护第二套知识库规则。project-template/.claude/CLAUDE.md只负责真实项目中的 Claude Code 规则入口,不与知识库根.claude/CLAUDE.md混用。
2. 知识库结构与路由
AGENTS.md:知识库维护者手册、仓库职责与路由规则。llms.txt:知识导航。告诉 Agent 某类开发问题应该读取哪篇正式文档,不重复正文和完整规则。docs/:跨 API 的稳定开发知识、编码经验、项目骨架、专项流程和排错方法。xbot-api-docs/:影刀 xbot API、市场指令及其直接相关的可核验事实;该目录有自己的AGENTS.md。project-template/:复制到真实影刀项目使用的项目模板、项目 Agent 规则、Claude 入口和项目级 Skills。project-template/.agents/skills/:真实项目中的专项 Agent Skill。只把适合按特定工作流触发的内容放入 Skill,不把普通开发规则迁入 Skill。README.md:面向人的项目介绍、安装、入口和使用说明。CONTRIBUTING.md:知识贡献、证据和脱敏要求。
新增或调整内容时,先判断它属于哪一层,再修改对应唯一事实源;不要因为 Agent 需要“方便读取”就在多个位置复制同一结论。
3. 新增知识如何归位
- API 签名、参数、返回值、版本差异、市场指令真实调用契约、与某 API 直接相关的高频误用:写入
xbot-api-docs/最相关页面。 - 跨 API 的稳定开发方法、代码风格详细说明、项目骨架、数据安全、通用排错流程:写入
docs/最相关页面。 - 真实影刀项目必须常驻的 Agent 开发行为规则:写入
project-template/AGENTS.md,不要写入根AGENTS.md。 - 旧版可视化项目解析等需要特定触发条件、固定步骤或专项工具的方法:写入
project-template/.agents/skills/的对应 Skill。 - 知识入口或文档位置变化:更新
llms.txt;不要把正文搬进llms.txt。 - 知识库维护方式、目录职责、审查方法发生变化:更新根
AGENTS.md。 - 同一事实已经存在时,优先补充或修正原事实页;其他位置使用链接或简短路由说明,不创建第二套正文。
4. 审查知识库的方法
用户要求“审查知识库”“检查是否漏迁移 / 冲突 / 重复 / 规则失效”时,不要只看根 AGENTS.md。按任务范围检查所有会影响目标行为的层:
- 根
AGENTS.md:知识库职责、维护和路由是否正确。 project-template/AGENTS.md:真实项目开发规则是否完整、冲突或被弱化。- 根
.claude/CLAUDE.md与project-template/.claude/CLAUDE.md:Claude 是否加载了对应环境的正确主规则,是否重复维护规则正文。 llms.txt:正式知识入口是否完整、链接是否指向唯一事实源。docs/:跨领域开发知识、编码风格、项目骨架和排错方法是否仍完整。xbot-api-docs/AGENTS.md与相关 API 页面:API 事实、参数、返回值、高频坑和文档维护边界是否一致。project-template/.agents/skills/:专项工作流是否仍由 Skill 承担,是否被误塞进常驻 Agent 规则,或反过来缺少必要项目规则。
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 Changed · -34 lines · -1,918 tokens per session 7f6d53e5d1f8
- 2d ago Changed · +20 lines · +1,555 tokens per session be6dbed31f6d
- 5d ago Changed · +26 lines · +923 tokens per session 06a7a603f285
- 6d ago Changed · -123 lines · -1,940 tokens per session a573b3c0825a
- 10d ago First seen · 205 lines · 3,469 tokens per session scan A a82164fabf62
yingdao-xbot-ai-agent AGENTS.md is an instructions file published in the GitHub repository apexcheng/yingdao-xbot-ai-agent (26 stars, last pushed today), licensed MIT. It adds 2,089 tokens to every session, about $0.0104 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
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.