open-design: Instructions file for Codex

AGENTS.md

open-design AGENTS.md is an instructions file for Codex, OpenCode from nexu-io/open-design. It costs 13,362 tokens per session, scanned A, original, Apache-2.0.

Repository instructions that guide coding agents through the folders, documentation, and development process of the OpenDesign project. An AGENTS.md file is a written set of rules and pointers for agents working in a code repository.

In plain words
What is it for?
Use it when an agent starts work in the OpenDesign repository, especially inside its apps, packages, tools, or end-to-end test folders.
Why use it?
It prevents agents from missing the right local instructions or treating archived documentation as current. It also shows where to find architecture, protocol, contribution, and CI guidance.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions subagents; names the AskUserQuestion tool; mentions Claude Code.

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

About the project

OpenDesign is an open-source, local-first desktop app that lets coding agents create prototypes, dashboards, slide decks, images, video, and design systems as exportable files. It is used by people working with agent runtimes such as Claude Code, Codex, Cursor, and DeepSeek Harness. The catalogue add-ons extend the OpenDesign workflow with skills, instructions, commands, and plugins.

nexu-io/open-design · 106,125 stars · on GitHub · open-design.ai

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/nexu-io/open-design/agents-md"><img src="https://agentmods.dev/badge/instructions/nexu-io/open-design/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13,362 This file is loaded in full into every session.
When invoked 13,362 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.13362 $0.13362
Opus 5.5 $0.05345 $0.05345
Sonnet 5.5 $0.02672 $0.02672
Haiku 4.5 $0.01336 $0.01336

Measured yesterday against content hash 9584b9dc7d86, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

open-design 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 yesterday.

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 · 505 lines

How it starts

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

Directory guide

This file is the single source of truth for agents entering this repository. Read this file first; after entering apps/, packages/, tools/, or e2e/, read that layer's AGENTS.md for module-level details. Do not copy module details back into the root file; root stays focused on cross-repository boundaries, workflow, and commands.

Core documentation index

  • Product and onboarding: README.md, docs/i18n/README.zh-CN.md, QUICKSTART.md.
  • Contribution and environment: CONTRIBUTING.md, docs/i18n/CONTRIBUTING.zh-CN.md.
  • Architecture and protocols: docs/architecture.md, docs/skills-protocol.md, docs/agent-adapters.md, docs/modes.md.
  • Historical product baseline: docs/spec.md, docs/roadmap.md (both explicitly archived; do not treat their dated decisions as current behavior).
  • References and current plans: docs/references.md, docs/code-review-guidelines.md, specs/current/maintainability-roadmap.md, specs/current/ci.md (CI scope confidence methodology — required before changing planner confidence, routing, or omission policy in .github/config/scopes.json and .github/scripts/scopes.py), specs/current/chat-panel-next.md (ChatPanel 重构:基线、任务进度规格、决策记录、踩过的坑 — 改 chat 渲染管线/工具调用展示/执行记录前必读), specs/current/chat-panel-next-plan.md (交付计划与纠偏节点).
  • Directory-level agent guidance: .github/AGENTS.md, apps/AGENTS.md, packages/AGENTS.md, tools/AGENTS.md, e2e/AGENTS.md, apps/web/src/components/chat/AGENTS.md (chat 组件分层、--chat-* 样式接缝、降级形态与测试规约).
  • Packaged auto-update architecture and high-confidence local harness: read tools/pack/AGENTS.md section "Packaged auto-update architecture and harness" before touching packaged updater code, release-channel identity, installer behavior, or updater UI.
  • Packaged build cache contract: tools/pack/CACHE.md (determinant rules, materialization-time parameters, confidence grading — required before changing any build-cache node key).
  • Prompt composition has two independent implementations behind a rollout switch: docs/prompt-composition.md (fork point, variant axes, host runtime contract table, worked examples — required before changing any prompt text, in apps/daemon/src/prompts/, packages/contracts/src/prompts/, or under plugins/_official/scenarios/od-next-strategy/). See "Prompt variants" below.

Read the full file on GitHub · 505 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. yesterday Changed · +8 lines · +200 tokens per session 9584b9dc7d86
  2. 17d ago Changed · +15 lines · +228 tokens per session 74c46d533901
  3. 24d ago Changed · +6 lines · +81 tokens per session 30ec35472ada
  4. 1mo ago Changed · +111 tokens per session 39266e6a558c
  5. 1mo ago Changed · +21 lines · +2,461 tokens per session b65f5471e34f
  6. 2mo ago Changed · -1 lines · -30 tokens per session e558726c4eea
  7. 2mo ago Changed · +11 lines · +489 tokens per session e758417ca48d
  8. 2mo ago First seen · 445 lines · 9,822 tokens per session scan A 0edc1b1f6f37

Subscribe to this mod's changes

open-design AGENTS.md is an instructions file published in the GitHub repository nexu-io/open-design (106,125 stars, last pushed today), licensed Apache-2.0. It adds 13,362 tokens to every session, about $0.0534 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

open-design AGENTS.md compared with instructions from other repositories

open-design AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
open-design AGENTS.mdnexu-io/open-designInstructions file106ktodayApache-2.0A13,362Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode