tiny-vue: Instructions file for Codex

AGENTS.md

tiny-vue AGENTS.md is an instructions file for Codex, OpenCode from opentiny/tiny-vue. It costs 2,171 tokens per session, scanned A, original, MIT.

Repository instructions for TinyVue, a component library that supports Vue 2 and Vue 3 on desktop and mobile, organized as a monorepo—a single repository containing multiple related packages.

In plain words
What is it for?
Use them when developing TinyVue components, shared logic, themes, examples, documentation, builds, or tests with pnpm workspaces.
Why use it?
They explain the package layout, shared rendering logic, themes, required tools, and project commands so changes follow the repository’s structure.

Instructions file for CodexOpenCode

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

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

About the project

TinyVue is a UI component library for building web interfaces with Vue.js 2 or Vue.js 3 on desktop and mobile. It is intended for developers creating applications with reusable interface components, and its catalogue add-ons help coding agents understand and use TinyVue.

opentiny/tiny-vue · 2,273 stars · on GitHub · opentiny.design

Reuse

Borrowing it

Nothing to install: this file belongs to opentiny/tiny-vue. 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/opentiny/tiny-vue/dev/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/opentiny/tiny-vue

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 tiny-vue AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/opentiny/tiny-vue/agents-md"><img src="https://agentmods.dev/badge/instructions/opentiny/tiny-vue/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,171 This file is loaded in full into every session.
When invoked 2,171 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.02171 $0.02171
Opus 5.5 $0.00868 $0.00868
Sonnet 5.5 $0.00434 $0.00434
Haiku 4.5 $0.00217 $0.00217

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

Security

Grade A, and why

tiny-vue 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 · 207 lines

How it starts

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

AGENTS.md

面向 AI 编码代理(Copilot、Cursor、Aider、Claude Code 等)的项目指南。 这是一份机器可读的文档,帮助 AI 助手理解本仓库的结构、规范和约束。

项目概述

TinyVue 是 OpenTiny 开源生态的核心组件库,具备以下特征:

  • 同时支持 Vue 2.6 / Vue 2.7 / Vue 3(通过分包发布,一套源码跨框架复用)
  • 支持 PC 端与移动端两种终端形态
  • 采用 Renderless(无渲染层) 与 视图层分离架构:业务逻辑写在 packages/renderless,视图写在 packages/vue
  • 支持主题切换:Aurora / SAAS 主题,样式代码在 packages/theme 与 packages/theme-saas
  • Monorepo 结构,使用 pnpm Workspaces 管理

关键目录结构

tiny-vue/
├── packages/
│   ├── vue/              # Vue 组件视图层(.vue 文件)
│   ├── renderless/       # 无渲染逻辑层(纯 JS/TS,框架无关)
│   ├── vue-common/       # 跨框架公共适配层
│   ├── vue-hooks/        # 自定义 Vue Hooks
│   ├── vue-locale/       # 国际化
│   ├── vue-icon/         # 图标组件
│   ├── utils/            # 通用工具函数
│   ├── theme/            # Aurora 主题(Less)
│   └── theme-saas/       # SAAS 主题(Less)
├── examples/
│   ├── vue3/             # Vue 3 开发示例与单元/E2E 测试
│   ├── vue2/             # Vue 2 开发示例
│   └── sites/            # 官方文档站点
├── internals/
│   └── cli/              # 构建脚本与 CLI 工具
└── .github/              # CI/CD 工作流配置

环境要求

工具 版本要求
Node >= 18
pnpm >= 9.5(必须,禁止使用 npm 或 yarn)

核心命令

# 安装依赖(只能用 pnpm)
pnpm i

# 启动 Vue 3 开发示例(默认)
pnpm dev          # → http://127.0.0.1:7130/

# 启动 Vue 2 开发示例
pnpm dev2

# 运行单元测试
pnpm test:unit    # Vue 3
pnpm test:unit2   # Vue 2

# 运行 E2E 测试
pnpm test:e2e     # Vue 3(Chromium)
pnpm test:e2e2    # Vue 2(Chromium)

# 格式化代码
pnpm format

# ESLint 检查与修复
pnpm lint

# 构建组件库
pnpm build:ui

架构约定

Renderless 模式(重要)

TinyVue 使用 Renderless 无渲染架构。修改或新增组件时,必须遵守:

  • 业务逻辑 → 写在 packages/renderless/<component-name>/index.ts,不依赖任何 UI 框架
  • 视图模板 → 写在 packages/vue/<component-name>/index.vue,通过 setup 调用 renderless 层
  • 不得在 .vue 文件中直接写业务逻辑(data 处理、状态计算等)

跨版本兼容

  • 一份 renderless 逻辑同时服务 Vue 2 和 Vue 3
  • 若需判断框架版本,使用 packages/vue-common 中的适配工具,不要直接写 if (vue3)
  • 不得在 renderless 层导入任何 Vue 特定 API(ref、reactive 等)

Read the full file on GitHub · 207 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. 2mo ago First seen · 207 lines · 2,171 tokens per session scan A ffb02c2aaedc

Subscribe to this mod's changes

tiny-vue AGENTS.md is an instructions file published in the GitHub repository opentiny/tiny-vue (2,273 stars, last pushed 7d ago), licensed MIT. It adds 2,171 tokens to every session, about $0.0087 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

tiny-vue AGENTS.md compared with instructions from other repositories

tiny-vue AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tiny-vue AGENTS.mdopentiny/tiny-vueInstructions file2.3k7d agoMITA2,171Codex, 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