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

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/wot-ui/wot-starter/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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00651 $0.00651
Opus 5 $0.00326 $0.00326
Sonnet 5 $0.00130 $0.00130
Haiku 4.5 $0.00065 $0.00065

Measured 4d ago against content hash 00572b52ba20, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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/pagessrc/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. 4d 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 (385 stars, last pushed 6d ago), licensed MIT. It adds 651 tokens to every session, about $0.0033 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.