trae-agent-skills: Instructions file for Codex

AGENTS.md

trae-agent-skills AGENTS.md is an instructions file for Codex, OpenCode from yecllsl/trae-agent-skills. It costs 2,152 tokens per session, scanned A, original, MIT.

Project instructions for a set of engineering workflows and specialist coding agents used with the Trae CN development environment.

In plain words
What is it for?
Use it to organize software work across product planning, architecture, development, testing, and code review. TDD means writing tests before or alongside the code they check.
Why use it?
It gives agents a shared process for requirements, design, coding, testing, deployment, and maintenance, with review checkpoints.

Instructions file for CodexOpenCode

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

This is yecllsl/trae-agent-skills's own configuration. It tells Codex and OpenCode how to work on trae-agent-skills 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 trae-agent-skills configures →

Reuse

Borrowing it

Nothing to install: this file belongs to yecllsl/trae-agent-skills. 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/yecllsl/trae-agent-skills/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/yecllsl/trae-agent-skills

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 trae-agent-skills AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/yecllsl/trae-agent-skills/agents-md.svg)](https://agentmods.dev/instructions/yecllsl/trae-agent-skills/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/yecllsl/trae-agent-skills/agents-md"><img src="https://agentmods.dev/badge/instructions/yecllsl/trae-agent-skills/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,152 This file is loaded in full into every session.
When invoked 2,152 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.02152 $0.02152
Opus 5 $0.01076 $0.01076
Sonnet 5 $0.00430 $0.00430
Haiku 4.5 $0.00215 $0.00215

Measured 6d ago against content hash 47b97501cb1f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

trae-agent-skills 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 6d 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 · 123 lines

How it starts

The opening of the file, as written. The whole thing — 123 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md — Trae 生产级工程技能

本项目是一套适用于 TRAE AI coding Agent 的生产级工程技能。这些技能规范了软件构建过程中高级工程师所使用的流程、质量控制标准以及最佳实践,并被整合到 Agent 中,以便其在开发的每个阶段都能一致地遵循这些规范。

具体落地为:将软件工程六阶段(需求、设计、开发、测试、部署、维护)封装为可执行流水线,由 Coordinator 编排专业 Subagent 协作完成,全程质量门控。

项目定位

维度 说明
目标 为 TRAE AI coding Agent 提供生产级工程技能,使其在每个开发阶段一致遵循高级工程师的流程、质量控制标准与最佳实践
核心产物 工程技能规范(流程 + 质量标准 + 最佳实践)+ 角色体系 + 全流程工作流 + 质量门控 + 快捷命令
整合方式 规范整合到 Agent 定义与 Skill 中,由 Agent 在各阶段一致执行
适用环境 Trae CN IDE(SOLO Agent 模式)

Repo structure

.trae/                              # 工程技能体系(核心内容)
├── agents/                         # 智能体定义(YECL 5 角色)
│   ├── YECL-architect.md           # 架构师(最强模型,不编辑代码)
│   ├── YECL-dev.md                 # 开发工程师(TDD 实现)
│   ├── YECL-po.md                  # 产品经理(需求收集+PRD)
│   ├── YECL-qa.md                  # 测试工程师(Playwright 优先)
│   └── YECL-review.md              # 代码审查(不修改代码)
├── commands/                       # 快捷命令(6 阶段 + 1 组合)
│   ├── YECL-requirements.md        # 阶段1:需求分析(含仓库扫描)
│   ├── YECL-design.md              # 阶段2:设计(架构+Sprint 规划)
│   ├── YECL-development.md         # 阶段3:开发(TDD+Review)
│   ├── YECL-testing.md             # 阶段4:测试(QA+回归)
│   ├── YECL-deployment.md          # 阶段5:部署(版本+CI+Tag)
│   ├── YECL-maintenance.md         # 阶段6:维护(调试+修复)
│   └── YECL-pipeline.md            # 组合命令:编排阶段 1-5
├── skills/                         # 方法论 Skill(14 个,Superpowers 框架)
│   ├── brainstorming/              # 需求/方案探索
│   ├── writing-plans/              # 实施计划编写
│   ├── test-driven-development/    # TDD 铁律
│   ├── systematic-debugging/       # 根因定位四阶段
│   ├── subagent-driven-development/# 逐任务派发+Review
│   ├── dispatching-parallel-agents/# 并行任务派发
│   ├── executing-plans/            # 计划执行
│   ├── requesting-code-review/     # 代码审查请求
│   ├── receiving-code-review/      # 审查反馈处理
│   ├── verification-before-completion/ # 完成前强制验证
│   ├── using-git-worktrees/        # 工作区隔离
│   ├── finishing-a-development-branch/ # 分支完成与合并
│   ├── writing-skills/             # Skill 编写规范
│   └── using-superpowers/          # Skill 发现与使用
├── 开发流程规范.md                  # 统一流程手册(六阶段+门控+异常处理)
└── skill-config.json               # Skill 配置

Read the full file on GitHub · 123 lines

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. 6d ago First seen · 123 lines · 2,152 tokens per session scan A 47b97501cb1f

Subscribe to this mod's changes

trae-agent-skills AGENTS.md is an instructions file published in the GitHub repository yecllsl/trae-agent-skills (2 stars, last pushed 1mo ago), licensed MIT. It adds 2,152 tokens to every session, about $0.0108 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-31.

Related

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.

vercel/next.js · 7,296 tokens

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.

openai/codex · 5,182 tokens

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 · 6,785 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, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 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,469 tokens

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.

github/spec-kit · 7,104 tokens