plate-template AGENTS.md

A set of repository instructions stored in .agents/AGENTS.md and related rule files. It defines how an agent should read the codebase, edit instructions, research dependencies, use tests, and respond.

In plain words
What is it for?
Use it to guide development in the udecode/plate-template repository, including instruction updates, repository research, commit wording, and decisions about test-driven development.
Why use it?
It gives contributors and coding agents consistent project-specific rules, including where the source of truth lives and how changes are synchronized.

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/udecode/plate-template/agents-md
Clone the repo
git clone --depth 1 https://github.com/udecode/plate-template

Made for: Codex, OpenCode.

Per session 1,389 This file is loaded in full into every session.
When invoked 1,389 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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.01389 $0.01389
Opus 5 $0.00694 $0.00694
Sonnet 5 $0.00278 $0.00278
Haiku 4.5 $0.00139 $0.00139

Measured 2d ago against content hash 2752643a788a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

plate-template 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 2d 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.

Origin

This is a copy

100% identical to plate-playground-template AGENTS.md — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

AGENTS.md · 104 lines

How it starts

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

  • .agents/AGENTS.md and .agents/rules/*.mdc are source of truth. After editing them, run bun install to sync. Never edit SKILL.md directly.
  • In all interactions and commit messages, be extremely concise and sacrifice grammar for the sake of concision.
  • ALWAYS read and understand relevant files before proposing edits. Do not speculate about code you have not inspected.
  • Never browse GitHub files. For library/API questions or unfamiliar deps, inspect the repo at ..; if missing, clone https://github.com/{owner}/{repo}.git to ../{repo-name}.
  • For repo research, use spawn_agent(... agent_type=\"explorer\") and return file-backed findings from docs, structure, exports, examples, and tests only.
  • Dirty workspace: Never pause to ask about unrelated local changes. Continue work and ignore unrelated diffs.
  • Proactively use Skill(tdd) when it adds value; skip TDD for high-friction tests like slow React or browser flows.

Skill Overrides

When using the following skills, override the default behavior.

planning-with-files:

  • Do not create task_plan.md, findings.md, or progress.md at repo root. Merge that content into one file under docs/plans/. Example: docs/plans/2026-03-11-task.md

Browser usage:

  • Always try [@browser-use](plugin://browser-use@openai-bundled) first for browser usage.
  • Do not substitute Puppeteer, standalone Playwright, or raw Chrome DevTools for browser usage.

ce-*:

  • Git: Never git add, commit, push, or create PR unless the user explicitly asks.
  • PR: Before creating or updating a PR, run the local verification that actually matters here. At minimum: bun run typecheck, bun run lint:fix, and bun run build if the task touched app behavior or build config.
  • plan: Include Browser Use in acceptance criteria for browser features.
  • deepen-plan: Context7 only when not covered by skills.
  • work: UI tasks require browser verification before marking complete. Never guess.

Read the full file on GitHub · 104 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. 2d ago First seen · 104 lines · 1,389 tokens per session scan A 2752643a788a

Subscribe to this mod's changes

plate-template AGENTS.md is an instructions file published in the GitHub repository udecode/plate-template (59 stars, last pushed 2mo ago), licensed MIT. It adds 1,389 tokens to every session, about $0.0069 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to plate-playground-template AGENTS.md, differing in 0 lines, and is treated as a copy.