open-design AGENTS.md

open-design AGENTS.md is an instructions file for Codex, OpenCode from nexu-io/open-design. It costs 10,281 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

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 · 93,861 stars · on GitHub

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/nexu-io/open-design/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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 10,281 This file is loaded in full into every session.
When invoked 10,281 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.10281 $0.10281
Opus 5 $0.05140 $0.05140
Sonnet 5 $0.02056 $0.02056
Haiku 4.5 $0.01028 $0.01028

Measured yesterday against content hash e558726c4eea, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 · 455 lines

How it starts

The opening of the file, as written. The whole thing — 455 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).
  • Directory-level agent guidance: .github/AGENTS.md, apps/AGENTS.md, packages/AGENTS.md, tools/AGENTS.md, e2e/AGENTS.md.
  • 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 · 455 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 · -1 lines · -30 tokens per session e558726c4eea
  2. 2d ago Changed · +11 lines · +489 tokens per session e758417ca48d
  3. 5d 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 (93,861 stars, last pushed yesterday), licensed Apache-2.0. It adds 10,281 tokens to every session, about $0.0514 per session on Opus 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.