open-codesign AGENTS.md

open-codesign AGENTS.md is an instructions file for Codex, OpenCode from OpenCoworkAI/open-codesign. It costs 3,343 tokens per session, scanned C, original, MIT.

Repository instructions for AI coding agents working on Open CoDesign, an open-source desktop tool that turns prompts and local files into design artifacts. They describe the project, its constraints, and its planned architecture.

In plain words
What is it for?
Use them when an agent must understand Open CoDesign’s design workflow, local workspace, file-editing rules, and architecture direction.
Why use it?
They give coding agents the project context and rules they need before changing files. This reduces misunderstandings caused by outdated or missing documentation.

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/opencoworkai/open-codesign/agents-md
Clone the repo
git clone --depth 1 https://github.com/OpenCoworkAI/open-codesign

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-codesign AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/opencoworkai/open-codesign/agents-md.svg)](https://agentmods.dev/instructions/opencoworkai/open-codesign/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/opencoworkai/open-codesign/agents-md"><img src="https://agentmods.dev/badge/instructions/opencoworkai/open-codesign/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 3,343 This file is loaded in full into every session.
When invoked 3,343 The same file — it is already loaded in full.
Security scan C 2 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.03343 $0.03343
Opus 5 $0.01672 $0.01672
Sonnet 5 $0.00669 $0.00669
Haiku 4.5 $0.00334 $0.00334

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

Security

Grade C, and why

open-codesign AGENTS.md scanned grade C with 2 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 3d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

- Tier 3: destructive system commands, `curl | sh`, and system-directory writes are blocked without override.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Tier 3: destructive system commands, `curl | sh`, and system-directory writes are blocked without override.
AGENTS.md · 193 lines

How it starts

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

AGENTS.md - Open CoDesign

Instructions for Codex and other AI coding agents working in this repository. Read this before making changes.

CLAUDE.md may lag behind the current plan. For Codex work, treat this file as the public source of truth. If local internal docs such as docs/VISION.md, docs/PRINCIPLES.md, or docs/v0.2-plan.md exist, use them as additional context; if they are missing, do not block public-contributor work on them.

What This Project Is

Open CoDesign is an open-source desktop design agent. It turns prompts, local files, skills, scaffolds, brand systems, and model output into design artifacts on the user's laptop.

The v0.2 direction is no longer a single-prompt generator. Each design is a long-running pi session with a real workspace. The agent can read and edit files, run permissioned commands, ask structured questions, preview artifacts, expose tweak controls, generate images when the configured model supports it, and produce DESIGN.md design-system artifacts.

The original inspiration was Claude Design. The product boundary is now clearer: Open CoDesign borrows proven coding-agent mechanics, then adds design-specific tools and a local-first workspace model.

Product model: a Design owns a workspace. The agent edits design source files in that workspace; the preview runtime turns those sources into a rendered web document; exporters turn the rendered/source document into standard outputs such as HTML, PDF, PPTX, ZIP, or Markdown. In v0.2 the default source entry is App.jsx; index.html is reserved for standalone exports or legacy workspace files.

docs/ is gitignored. Maintainers may have internal plans, handoffs, and research locally; public contributors may not. Do not cite docs/** in public PR review comments unless the file exists in the public checkout.

Hard Constraints

These are project commitments, not preferences:

  1. No bundled model runtimes. Do not ship Ollama, llama.cpp, Python, browser binaries, or model weights inside the installer. Use system installs or lazy-download with user-visible consent.
  2. BYOK only. No hosted account, proxied API, or telemetry by default. User credentials stay in human-readable local config.
  3. Local-first storage. v0.2 uses pi JSONL sessions plus real workspace files. Existing v0.1 SQLite data may be migrated, but do not add new SQLite tables for sessions, chat history, comments, snapshots, or design files.
  4. Every design has a workspace. No sealed/open split in v0.2. The workspace filesystem is the source of truth for artifacts and assets.
  5. Shipped app/runtime dependencies, bundled assets, scaffolds, skills, brand refs, and copied code must be MIT-compatible permissive. Reject GPL, AGPL, SSPL, proprietary deps, and unclear copied assets in anything that is bundled, linked, imported by app code, or distributed to users. Workflow-only CI/release tools may use copyleft licenses when they are not vendored, bundled, linked, or copied into the product; document the reason and keep their outputs limited to ordinary metadata or manifests.
  6. Lazy-load heavy features. PPTX export, web capture, scaffolds, skills, brand refs, and image generation must load on demand rather than at app start.
  7. Reuse pi primitives first. pi-coding-agent owns sessions, built-in tools, bash execution, event streaming, model registry, provider registration, and capability data unless a design-specific need proves otherwise.
  8. Brand values are data, not model memory. Use DESIGN.md, user files, official CSS/SVG/screenshots, or brand URLs. Do not invent brand hex values from memory.
  9. PRs should stay compatible, upgradeable, lean, and elegant. If docs/PRINCIPLES.md is present, use its Principles 5b wording as the detailed checklist.

Read the full file on GitHub · 193 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. 3d ago First seen · 193 lines · 3,343 tokens per session scan C c17ee5bf5d68

Subscribe to this mod's changes

open-codesign AGENTS.md is an instructions file published in the GitHub repository OpenCoworkAI/open-codesign (7,863 stars, last pushed 1mo ago), licensed MIT. It adds 3,343 tokens to every session, about $0.0167 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories

open-design AGENTS.md

AGENTS.md instructions for nexu-io/open-design, covering directory guide, core documentation index, workspace directories, inactive or placeholder directories and development workflow.

nexu-io/open-design · 10,281 tokens

caelo CLAUDE.md

Instructions for AuraVixStudio/caelo, covering claude.md, what this is, the single most important structural fact, architecture and commands.

AuraVixStudio/caelo · 15,046 tokens

open-design CLAUDE.md

Claude Code instructions for nexu-io/open-design, a project described as: 🎨 Best DeepSeek Harness Design Plugin. The open-source Claude Design alternative. 🖥️ Local-first desktop app. 🖼️ Your coding agent becomes the design engine: prototypes, landing pages, dashboards, slides, images & video — real files…

nexu-io/open-design · 5 tokens

limboo CLAUDE.md

Instructions for limboo-ai/limboo, covering claude.md, 1. what is limboo?, 2. tech stack (current), 3. project structure and the three electron contexts (critical mental model).

limboo-ai/limboo · 24,748 tokens

CodePilot CLAUDE.md

Claude Code instructions for op7418/CodePilot, covering claude.md, 协作模式(作者 / claude code / codex), 开发规则, 语义验收与反假数据 and 自检命令.

op7418/CodePilot · 4,614 tokens

CodePilot AGENTS.md

AGENTS.md instructions for op7418/CodePilot, covering agents.md, 项目协作定位, 共享规则入口(不在此重复,按需读), 自检命令(codex 跑测试时) and codex review 规则.

op7418/CodePilot · 2,022 tokens