open-codesign CLAUDE.md

open-codesign CLAUDE.md is an instructions file for coding agents from OpenCoworkAI/open-codesign. It costs 1,789 tokens per session, scanned A, original, MIT.

Repository instructions for AI coding agents working on Open CoDesign, an Electron desktop app that turns text prompts into design files such as HTML prototypes, PDFs and slide decks.

In plain words
What is it for?
Use them before changing the app, choosing libraries, or working on its frontend and model-provider integrations.
Why use it?
They explain the project's fixed technical choices and rules, so code changes do not conflict with its design or storage approach.

Instructions file

About the project

Open CoDesign is a desktop design tool that turns prompts into artifacts such as prototypes, slides, and PDFs using models chosen by the user. It is for people who want to create designs locally with their own model access and laptop. The catalogue instructions support workflows for using the application.

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

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 CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/opencoworkai/open-codesign/claude-md.svg)](https://agentmods.dev/instructions/opencoworkai/open-codesign/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/opencoworkai/open-codesign/claude-md"><img src="https://agentmods.dev/badge/instructions/opencoworkai/open-codesign/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,789 This file is loaded in full into every session.
When invoked 1,789 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.01789 $0.01789
Opus 5 $0.00894 $0.00894
Sonnet 5 $0.00358 $0.00358
Haiku 4.5 $0.00179 $0.00179

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

Security

Grade A, and why

open-codesign CLAUDE.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 5d 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.

CLAUDE.md · 106 lines

How it starts

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

CLAUDE.md — Open CoDesign

Instructions for Claude Code (and any AI coding agent) working in this repository. Read this before making changes.

What this project is

open-codesign is an Electron desktop app that turns natural-language prompts into design artifacts (HTML prototypes, PDFs, PPTX decks, marketing assets). It's the open-source counterpart to Anthropic's Claude Design, with multi-provider model support via pi-ai and a local-first storage model.

The full vision and locked decisions live in docs/VISION.md when the internal docs are present locally. Public checkouts may not have docs/; in that case use AGENTS.md, public issues/PRs, and README context instead of blocking.

Note: docs/ is gitignored — internal team materials (research, roadmaps, handoffs) live there but are not part of the public repo. Clone contributors will not have this directory; team members will find it present locally after cloning and copying the internal docs back.

Hard constraints (do not violate)

These are project-level commitments, not preferences:

  1. No bundled model runtimes. No Ollama, llama.cpp, Python, or browser binaries shipped in the installer. Use system installs or lazy-download on demand.
  2. BYOK only. No proxied API calls, no cloud account, no telemetry by default. User credentials stay in ~/.config/open-codesign/config.toml (plaintext, file mode 0600 — matching Claude Code / Codex / gh CLI conventions).
  3. Local-first storage. v0.2 design state is file/session based and local-first. Do not add new SQLite-backed session/design feature state.
  4. Permissive shipped dependencies. Shipped app/runtime dependencies, bundled assets, scaffolds, skills, brand refs, and copied code must be MIT-compatible permissive. Workflow-only CI/release tools may use copyleft licenses when they are not vendored, bundled, linked, or copied into the product; document the reason.
  5. Lazy-load heavy features. PPTX export, web capture, codebase scan, etc. must dynamic-import on first use, not on app start.
  6. Compatibility, upgradeability, no bloat, elegance — the four PRINCIPLES §5b checks. Every PR description must mark all four green.

Read the full file on GitHub · 106 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. 5d ago First seen · 106 lines · 1,789 tokens per session scan A 21b13f799534

Subscribe to this mod's changes

open-codesign CLAUDE.md is an instructions file published in the GitHub repository OpenCoworkAI/open-codesign (7,872 stars, last pushed 1mo ago), licensed MIT. It adds 1,789 tokens to every session, about $0.0089 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.