motion-lexicon: Instructions file for Codex

AGENTS.md

motion-lexicon AGENTS.md is an instructions file for Codex, OpenCode from Ryan-yang125/motion-lexicon. It costs 876 tokens per session, scanned A, original, MIT.

Project guidance for Motion Lexicon, a static React and TypeScript website that teaches visual animation vocabulary.

In plain words
What is it for?
Use it when editing Motion Lexicon’s frontend, content, routes, styling, or documentation.
Why use it?
It gives the coding agent the project’s product goals, design rules, language preference, and technical boundaries so changes fit the existing site.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is Ryan-yang125/motion-lexicon's own configuration. It tells Codex and OpenCode how to work on motion-lexicon 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 motion-lexicon configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Ryan-yang125/motion-lexicon. 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/Ryan-yang125/motion-lexicon/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/Ryan-yang125/motion-lexicon

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 motion-lexicon AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/ryan-yang125/motion-lexicon/agents-md"><img src="https://agentmods.dev/badge/instructions/ryan-yang125/motion-lexicon/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 876 This file is loaded in full into every session.
When invoked 876 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.00876 $0.00876
Opus 5.5 $0.00350 $0.00350
Sonnet 5.5 $0.00175 $0.00175
Haiku 4.5 $0.00088 $0.00088

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

Security

Grade A, and why

motion-lexicon 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 · 84 lines

How it starts

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

Agent Instructions

Operating Context

This repository is Motion Lexicon, a static React + TypeScript product for visual animation vocabulary.

Use these files as the current project context:

  • README.md: project overview, commands, routes, SEO model, and delivery status.
  • PRODUCT.md: product promise, user model, phase strategy, and quality bar.
  • DESIGN.md: launch architecture, visual system, URL state, and acceptance criteria.
  • prototype/motion-lexicon-prototype.html: archived phase-one reference; current production styling lives in src/styles.css and src/library.css.

Communication

  • Write Chinese by default.
  • Use direct positive phrasing. Avoid先否定再转折的表达方式。
  • Be concrete about files, commands, routes, and verification results.

Product Boundary

  • Keep this as a static frontend application unless the user adds a server-side requirement.
  • Store content, assets, categories, recipes, and i18n data on the frontend.
  • Preserve the V6 component-library system: a quiet chroma-zero shell, expressive Product Mono, Editorial Warm, and Spatial Dark scenes, black primary actions, a restrained blue state color, thin borders, compact radii, small mono metadata, dominant preview canvases, and dense documentation structure.
  • Keep the product workflow centered on browsing motion, previewing behavior, tuning parameters, copying prompt/code, and reading review guidance.
  • Treat React as the site implementation. User-facing exports are portable Prompt, HTML, CSS, and framework-independent JavaScript where interaction requires it.
  • Keep the V6 release contract at exactly 100 Components across 11 categories and 10 Page Blocks. Preserve 44 canonical Primitives and all 91 source terms through canonical mappings and redirects; the Motion Lexicon Skill remains independently versioned at 4.2.0.

Technical Stack

  • Vite, React, TypeScript.
  • Tailwind CSS v4 plus the project stylesheet in src/styles.css.
  • Local shadcn-style UI components backed by Radix primitives.
  • lucide-react icons.
  • TanStack Router.
  • i18next and react-i18next.
  • react-helmet-async for route metadata.
  • Build-time static prerendering through src/entry-server.tsx and scripts/prerender.ts.
  • Vitest and Playwright for verification.

Read the full file on GitHub · 84 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 · 84 lines · 876 tokens per session scan A 0b638c7ffe89

Subscribe to this mod's changes

motion-lexicon AGENTS.md is an instructions file published in the GitHub repository Ryan-yang125/motion-lexicon (51 stars, last pushed 13d ago), licensed MIT. It adds 876 tokens to every session, about $0.0035 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

motion-lexicon AGENTS.md compared with instructions from other repositories

motion-lexicon AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
motion-lexicon AGENTS.mdRyan-yang125/motion-lexiconInstructions file5113d agoMITA876Codex, OpenCode
create-trimble-app typescript.instructions.mdjulianoczkowski/create-trimble-appInstructions file34mo agoMITA583GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,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