Borrowing it
Nothing to install: this file belongs to firerlAGI/TraeClaw. 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/firerlAGI/TraeClaw/main/AGENTS.mdgit clone --depth 1 https://github.com/firerlAGI/TraeClawWrote 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/firerlagi/traeclaw/agents-md)<a href="https://agentmods.dev/instructions/firerlagi/traeclaw/agents-md"><img src="https://agentmods.dev/badge/instructions/firerlagi/traeclaw/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/firerlagi/traeclaw/agents-md"><img src="https://agentmods.dev/badge/instructions/firerlagi/traeclaw/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.01004 | $0.01004 |
| Opus 5.5 | $0.00402 | $0.00402 |
| Sonnet 5.5 | $0.00201 | $0.00201 |
| Haiku 4.5 | $0.00100 | $0.00100 |
Grade A, and why
TraeClaw 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 2mo 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 — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS
本仓库优先面向中文 OpenClaw 用户。
OpenClaw 快速执行规则
如果用户要求“安装 Trae 插件到 OpenClaw”,AI 助手应按下面顺序执行,不要自由发挥:
- 先判断仓库是否已经在本地。
- 再判断用户平台:
- Windows:优先使用
.ps1脚本 - macOS:优先使用
.sh脚本
- Windows:优先使用
- 如果仓库不在本地:
- 优先执行
scripts/bootstrap-openclaw-integration.ps1 - macOS 上优先执行
scripts/bootstrap-openclaw-integration.sh - 或先下载 GitHub 仓库 zip,再执行对应平台的本地安装脚本
- 优先执行
- 如果仓库已经在本地:
- 直接执行
scripts/install-openclaw-integration.ps1 - macOS 上直接执行
scripts/install-openclaw-integration.sh
- 直接执行
- 安装完成后必须验证:
openclaw plugins info traeclawopenclaw config validate
- 验证通过后提醒用户:
- 重启 OpenClaw Gateway
- 再调用一次
trae_status
如果用户要求“安装 Trae 插件到 OpenClaw”,AI 助手应优先使用下面的路径:
- 如果仓库还不在本地:
- 优先执行
scripts/bootstrap-openclaw-integration.ps1 - macOS 上优先执行
scripts/bootstrap-openclaw-integration.sh - 或先下载 GitHub 仓库 zip,再执行
scripts/install-openclaw-integration.ps1
- 优先执行
- 如果仓库已经在本地:
- 直接执行
scripts/install-openclaw-integration.ps1 - macOS 上直接执行
scripts/install-openclaw-integration.sh
- 直接执行
- 不要尝试直接执行:
openclaw plugins install <github-url>openclaw plugins install <git-spec>因为 OpenClaw 不支持直接从 GitHub URL / git spec 安装插件
- 配置写入优先使用官方 CLI:
openclaw plugins installopenclaw config setopenclaw config validate
- 安装完成后至少验证:
openclaw plugins info traeclawopenclaw config validate- 用户重启 OpenClaw Gateway 后可调用
trae_status
- 如果用户已经明确给出本地仓库路径:
- 不要再要求用户提供 GitHub 地址
- 不要再介绍手工安装路径
- 直接进入该路径并执行
scripts/install-openclaw-integration.ps1
OpenClaw 建议输出风格
为了让 OpenClaw 更容易执行,优先使用下面这种结构:
- 先说明当前判断:
- “仓库已经在本地”
- 或“仓库还不在本地”
- 再给出将要执行的唯一主命令:
- 本地仓库:
powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\install-openclaw-integration.ps1 - 远程仓库:
powershell -NoProfile -ExecutionPolicy Bypass -File .\bootstrap-openclaw-integration.ps1 - macOS 本地仓库:
bash ./scripts/install-openclaw-integration.sh - macOS 远程仓库:
bash ./scripts/bootstrap-openclaw-integration.sh
- 本地仓库:
- 最后报告验证结果:
openclaw plugins info traeclawopenclaw config validate- 是否需要用户重启 OpenClaw Gateway
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.
- 2mo ago First seen · 83 lines · 1,004 tokens per session scan A c07ee7c29663
TraeClaw AGENTS.md is an instructions file published in the GitHub repository firerlAGI/TraeClaw (88 stars, last pushed 7mo ago), licensed MIT. It adds 1,004 tokens to every session, about $0.0040 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.
TraeClaw AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| TraeClaw AGENTS.mdfirerlAGI/TraeClaw | Instructions file | 88 | 7mo ago | MIT | A | 1,004 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| vscode model-prompts.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 2,022 | GitHub Copilot |