llm-design-engine: Instructions file for Codex

AGENTS.md

llm-design-engine AGENTS.md is an instructions file for Codex, OpenCode from llmpolska/llm-design-engine. It costs 720 tokens per session, scanned A, original, MIT.

Project instructions for LLM Design Engine, a tool that turns a product brief into a design plan, a structured design description, a preview, and instructions for a coding agent.

In plain words
What is it for?
Use them when building or changing the engine, its TypeScript packages, Vue application, design formats, providers, previews, or tests.
Why use it?
They preserve the project’s design-first approach, technical requirements, repository boundaries, and testing workflow.

Instructions file for CodexOpenCode

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

This is llmpolska/llm-design-engine's own configuration. It tells Codex and OpenCode how to work on llm-design-engine 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 llm-design-engine configures →

Reuse

Borrowing it

Nothing to install: this file belongs to llmpolska/llm-design-engine. 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/llmpolska/llm-design-engine/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/llmpolska/llm-design-engine

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 llm-design-engine AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/llmpolska/llm-design-engine/agents-md"><img src="https://agentmods.dev/badge/instructions/llmpolska/llm-design-engine/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 720 This file is loaded in full into every session.
When invoked 720 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.00720 $0.00720
Opus 5.5 $0.00288 $0.00288
Sonnet 5.5 $0.00144 $0.00144
Haiku 4.5 $0.00072 $0.00072

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

Security

Grade A, and why

llm-design-engine 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 · 52 lines

How it starts

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

AGENTS.md

These instructions apply to coding agents working in llm-design-engine.

Product contract

LLM Design Engine is a creative director and design compiler for coding agents. The primary promise is Design before code. Do not turn it into a theme picker, template gallery, component-library wrapper, or generic AI SaaS landing page.

The pipeline is:

brief → domain interpretation → metaphor → narrative → composition
→ design AST → deterministic preview → agent instructions

Repository rules

  • Use Node.js 22+ and pnpm 10+.
  • Use strict TypeScript and ESM.
  • Use workspace package boundaries; import contracts from @llm-design-engine/core and @llm-design-engine/design-format instead of duplicating types.
  • Keep providers behind interfaces. Mock/disabled modes must work without credentials.
  • Use Vue 3/Vite for apps. Tailwind is an implementation utility, not a source of design decisions.
  • Do not add shadcn, DaisyUI, Bootstrap, Material UI, Ant Design, or premade landing templates.
  • Do not imitate named companies, living designers, or existing websites.
  • Avoid purple gradients, glassmorphism, floating card farms, generic device mockups, meaningless blobs, and centered-copy defaults unless the approved direction explains them.
  • No placeholder lorem ipsum, fake API success, unfinished TODO/FIXME comments, or hidden feature claims.
  • Use the LLM Design Engine brand tokens: warm paper, kiln black, oxidized coral, mineral teal, registration marks, mono annotations.

Test-first workflow

Write a focused behavioral test first. Run it and confirm the expected failure. Implement the smallest change. Run the focused test, then the affected package typecheck/build. Do not rely on a snapshot of source text as the only assertion.

pnpm --filter @llm-design-engine/<package> test
pnpm --filter @llm-design-engine/<package> typecheck
pnpm --filter @llm-design-engine/<package> build

Before completion run ./node_modules/.bin/eslint ., pnpm typecheck, pnpm test, and the app builds. The harness wrapper around pnpm lint can emit JSON help text; direct ESLint output is authoritative.

Read the full file on GitHub · 52 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 · 52 lines · 720 tokens per session scan A 492d92396f1c

Subscribe to this mod's changes

llm-design-engine AGENTS.md is an instructions file published in the GitHub repository llmpolska/llm-design-engine (5 stars, last pushed 24d ago), licensed MIT. It adds 720 tokens to every session, about $0.0029 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

llm-design-engine AGENTS.md compared with instructions from other repositories

llm-design-engine AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
llm-design-engine AGENTS.mdllmpolska/llm-design-engineInstructions file524d agoMITA720Codex, OpenCode
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
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode