yingdao-xbot-ai-agent: Instructions file for Codex

AGENTS.md

yingdao-xbot-ai-agent AGENTS.md is an instructions file for Codex, OpenCode from apexcheng/yingdao-xbot-ai-agent. It costs 849 tokens per session, scanned A, original, MIT.

Repository-wide instructions for Yingdao Xbot AI Agent projects, with rules for making small, direct changes and handling uncertain automation APIs or page behavior.

In plain words
What is it for?
They guide work on Xbot automation, including checking existing code, consulting the knowledge base when needed, and marking unverified behavior for runtime testing.
Why use it?
They reduce unnecessary refactoring and discourage guessing when existing code or documentation does not confirm how an API or page works.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

This is apexcheng/yingdao-xbot-ai-agent's own configuration. It tells Codex and OpenCode how to work on yingdao-xbot-ai-agent itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything yingdao-xbot-ai-agent configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/apexcheng/yingdao-xbot-ai-agent/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/apexcheng/yingdao-xbot-ai-agent

Made for: Codex, OpenCode.

Wrote 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.

agentmods badge for yingdao-xbot-ai-agent AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/apexcheng/yingdao-xbot-ai-agent/agents-md/github.svg)](https://agentmods.dev/instructions/apexcheng/yingdao-xbot-ai-agent/agents-md)
Your own site
<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.

agentmods 80×15 button for yingdao-xbot-ai-agent AGENTS.md

Your own site · 80×15
<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>
Per session 849 This file is loaded in full into every session.
When invoked 849 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00849 $0.00849
Opus 5.5 $0.00340 $0.00340
Sonnet 5.5 $0.00170 $0.00170
Haiku 4.5 $0.00085 $0.00085

Measured 10d ago against content hash 00c06723682b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 10d 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.

AGENTS.md · 26 lines

What it actually says

AGENTS.md

本仓库是影刀 xbot AI 开发知识库,不是实际业务应用。Agent 在此负责维护知识与导航;真实项目的开发行为由 project-template/AGENTS.md 规定。

核心原则:职责分层、事实归位、单一维护、可追溯、不过度扩散。

职责与知识归位

  • 根 AGENTS.md 只管知识库维护;project-template/AGENTS.md 是真实项目常驻规则的唯一模板。具体业务代码只能在用户指定的真实项目中修改,项目业务差异和长期决策留在其正式 PRD / 规范。
  • xbot-api-docs/ 保存 API 签名、参数、返回值、版本差异和直接相关的误用事实;维护时还需遵守 xbot-api-docs/AGENTS.md。
  • project-template/.agents/skills/ 保存开发方法、编码标准、代码审查、项目骨架和低频专项流程;项目 AGENTS.md 只保留关键行为边界及按需阅读入口,不复制标准正文。
  • reference-projects/ 是完整项目案例的唯一位置,收录具有固定来源 commit 的脱敏源码快照或引用固定 Git 提交的完整流程案例,仅供实现参考,不代替 API 事实或开发规范。Skill 的 references/ 只维护专项技术经验,不再放项目级 Demo。允许保留历史痕迹;已知不推荐写法在案例 README 中说明,不把快照改造成未经运行的示例,也不自动跟随来源项目更新。
  • llms.txt 是 AI 知识导航,README.md 是人类使用说明,CONTRIBUTING.md 负责证据与脱敏要求;这些入口不复制正式知识正文。新增或调整知识时先选唯一事实源,其它位置只写必要链接。
  • 根与模板的 .claude/CLAUDE.md 各自只加载对应 AGENTS.md,不维护第二套规则,也不能混用。
  • 本库仅收录影刀 xbot、编码版和 RPA 的稳定知识。宿主侧 ChatGPT、Claude Code、Codex 的插件、MCP、DevSpace、Computer Use、设备连接、模型和工具路由不在维护范围;影刀自身的 CLI、API、项目格式与 Studio / Flow / Console 运行机制仍属于本库。

审查与维护

  1. 按用户要求和实际影响范围检查关联层,不机械全面扫描;重点确认高价值知识未丢失、规则未重复或冲突、链接未失效、API 事实与当前证据一致。
  2. 只修改本次任务直接相关的文件。修改嵌套目录前阅读其 AGENTS.md 或对应 Skill;修改真实项目默认规则前确认其确实适用于未来所有项目,而不是个别业务约定。
  3. 迁移前核实目标位置已完整承接,才删除旧位置;精简以减少无效规则与认知负担为目标,不删除真正影响正确性、API 调用、业务安全或验收的约束。
  4. 知识以当前源码、真实运行、用户确认事实或可追溯稳定项目为依据。未核实内容标出缺口,不写成稳定结论;文档优先保留适用条件和可仿写的正例,必要时才给简短反例。
  5. 修改后核对职责归位、必要链接与入口、迁移完整性及本次 diff;汇报改动与实际验证,未验证的不声称通过。

不得提交账号、密码、Token、Cookie、Webhook、客户数据、未公开地址或其他敏感信息;示例、日志和文档必须脱敏。

Changes

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.

  1. 10d ago Changed · +33 tokens per session 00c06723682b
  2. 16d ago Changed · -73 lines · -1,762 tokens per session abbf8553abb7
  3. 27d ago Changed · +1 lines · +139 tokens per session c3324d3e8605
  4. 1mo ago Changed · +3 lines · +198 tokens per session 685f59d2a4c4
  5. 1mo ago Changed · +1 lines · +152 tokens per session 1baf1f21c570
  6. 1mo ago Changed · -34 lines · -1,918 tokens per session 7f6d53e5d1f8
  7. 1mo ago Changed · +20 lines · +1,555 tokens per session be6dbed31f6d
  8. 1mo ago Changed · +26 lines · +923 tokens per session 06a7a603f285
  9. 1mo ago Changed · -123 lines · -1,940 tokens per session a573b3c0825a
  10. 1mo ago First seen · 205 lines · 3,469 tokens per session scan A a82164fabf62

Subscribe to this mod's changes

yingdao-xbot-ai-agent AGENTS.md is an instructions file published in the GitHub repository apexcheng/yingdao-xbot-ai-agent (42 stars, last pushed yesterday), licensed MIT. It adds 849 tokens to every session, about $0.0034 per session on Opus 5.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.

Related

Other instructions, from other repositories

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).

microsoft/vscode · 9,715 tokens

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.

vercel/next.js · 7,581 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

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.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 4,261 tokens