wot-starter: Instructions file for Codex

AGENTS.md

wot-starter AGENTS.md is an instructions file for Codex, OpenCode from wot-ui/wot-starter. It costs 651 tokens per session, scanned A, original, MIT.

A project instruction guide for wot-starter, a cross-platform app starter built with uni-app, Vue 3, and Wot UI. It documents the code layout, build checks, and OpenSpec change process.

In plain words
What is it for?
Following project conventions, locating pages, shared components, state, and API code, and running lint, type checks, and an H5 build. It also guides feature work through OpenSpec, a workflow for describing, implementing, verifying, and archiving changes.
Why use it?
It gives the coding agent the project’s rules and file boundaries, reducing accidental changes to pages, routes, components, and builds. It also explains when a proposed change must be documented and checked.

Instructions file for CodexOpenCode

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

This is wot-ui/wot-starter's own configuration. It tells Codex and OpenCode how to work on wot-starter 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 wot-starter configures →

Reuse

Borrowing it

Nothing to install: this file belongs to wot-ui/wot-starter. 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/wot-ui/wot-starter/v2/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/wot-ui/wot-starter

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 wot-starter AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/wot-ui/wot-starter/agents-md/github.svg)](https://agentmods.dev/instructions/wot-ui/wot-starter/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/wot-ui/wot-starter/agents-md"><img src="https://agentmods.dev/badge/instructions/wot-ui/wot-starter/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 wot-starter AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/wot-ui/wot-starter/agents-md"><img src="https://agentmods.dev/badge/instructions/wot-ui/wot-starter/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 651 This file is loaded in full into every session.
When invoked 651 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.00651 $0.00651
Opus 5.5 $0.00260 $0.00260
Sonnet 5.5 $0.00130 $0.00130
Haiku 4.5 $0.00065 $0.00065

Measured 2mo ago against content hash 00572b52ba20, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

wot-starter 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.

AGENTS.md · 49 lines

What it actually says

Project Guidelines

Scope

Wot Starter 是基于 uni-app、Vue 3 和 Wot UI 的跨平台起手项目。优先做最小改动,保持现有页面、路由、组件和构建行为稳定。

Architecture

  • 页面代码位于 src/pages 和 src/subPages。
  • 通用组件位于 src/components;状态位于 src/store;请求封装位于 src/api。
  • pages.config.ts 与 @uni-helper/vite-plugin-uni-pages 负责页面生成;生成文件不要手工维护重复来源。
  • .agents/skills/ 保存给 Agent 使用的技能说明。

Build And Test

  • 安装依赖:pnpm install
  • 代码检查:pnpm lint
  • 类型检查:pnpm type-check
  • H5 构建:pnpm build:h5

OpenSpec Workflow

涉及新功能、用户可见行为变化、API 或数据契约变化、新页面/路由、公共组件/主题调整、跨端兼容处理或跨模块重构时,必须先使用 OpenSpec 建立变更:

  1. 阅读 openspec/specs/ 中相关规范。
  2. 使用 .agents/skills/openspec-propose 创建并评审变更提案。
  3. 使用 .agents/skills/openspec-apply-change 实现代码。
  4. 使用 .agents/skills/openspec-verify-change 核对规格、任务、实现和测试。
  5. 确认无误后使用 .agents/skills/openspec-archive-change 归档。

纯拼写、格式化、明显的单点修复和不改变行为的依赖维护可以不创建变更,但仍需说明验证结果。

OpenSpec 的项目上下文和 artifact 规则位于 openspec/config.yaml;工作流以 CLI 返回的路径和状态为准,不手工假设 artifact 位置。

项目已锁定 @fission-ai/[email protected]。运行 pnpm install 后可使用 pnpm exec openspec;共享 OpenSpec Skills 调用的是裸命令 openspec,因此 Codex/Claude Code 环境还需要将同一版本安装到 PATH:

npm install -g @fission-ai/[email protected]
openspec --version

Conventions

  • Vue 组件使用 <script setup lang="ts"> 和 Composition API,保持严格类型。
  • 网络流程必须考虑加载、成功、空数据、失败和恢复/重试状态。
  • 不得把凭据写入仓库;不得默认使用只在浏览器可用的 API 破坏小程序端。
  • 修改 Wot UI、主题、API 或模板相关代码时,优先读取 .agents/skills/ 中对应的 SKILL.md。
  • 未经明确要求,不要顺手重构无关模块。
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. 2mo ago First seen · 49 lines · 651 tokens per session scan A 00572b52ba20

Subscribe to this mod's changes

wot-starter AGENTS.md is an instructions file published in the GitHub repository wot-ui/wot-starter (394 stars, last pushed 2mo ago), licensed MIT. It adds 651 tokens to every session, about $0.0026 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-31.

Related

wot-starter AGENTS.md compared with instructions from other repositories

wot-starter AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
wot-starter AGENTS.mdwot-ui/wot-starterInstructions file3942mo agoMITA651Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode