SoDam-Design-Kit: Instructions file for Codex

AGENTS.md

SoDam-Design-Kit AGENTS.md is an instructions file for Codex, OpenCode from sodam-ai/SoDam-Design-Kit. It costs 550 tokens per session, scanned A, original, Apache-2.0.

Project instructions for SoDam Design Kit, a toolkit for turning Figma designs into shadcn/ui code, with browser and accessibility checks. Figma is a design tool, and shadcn/ui is a set of reusable interface components.

In plain words
What is it for?
Use them when building interface components from Figma, running Playwright browser checks, testing accessibility with axe-core, or recording pass and fail reports.
Why use it?
They define how to reuse existing components, check pages at several screen sizes, and confirm that the result works for people using assistive technology.

Instructions file for CodexOpenCode

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

This is sodam-ai/SoDam-Design-Kit's own configuration. It tells Codex and OpenCode how to work on SoDam-Design-Kit 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 SoDam-Design-Kit configures →

Reuse

Borrowing it

Nothing to install: this file belongs to sodam-ai/SoDam-Design-Kit. 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/sodam-ai/SoDam-Design-Kit/chore/bootstrap-repository/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/sodam-ai/SoDam-Design-Kit

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 SoDam-Design-Kit AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/sodam-ai/sodam-design-kit/agents-md"><img src="https://agentmods.dev/badge/instructions/sodam-ai/sodam-design-kit/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 550 This file is loaded in full into every session.
When invoked 550 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.00550 $0.00550
Opus 5 $0.00275 $0.00275
Sonnet 5 $0.00110 $0.00110
Haiku 4.5 $0.00055 $0.00055

Measured 9d ago against content hash 82d923f844c4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

SoDam-Design-Kit 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 9d 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 · 33 lines

What it actually says

SoDam-Design-Kit — Codex 규칙

Claude Code 플러그인 형태로 지원되지 않는 환경(Codex 등)에서도 이 킷의 핵심 원칙을 규칙 수준으로 지키기 위한 문서입니다. 전체 사양은 .PRD/01_PRD.md~04_PROJECT_SPEC.md가 정본이며, 이 문서는 그 요약입니다.

목표

Figma 디자인을 shadcn/ui 코드로 만들되, 실제 브라우저 검증(Playwright+axe-core+3뷰포트)을 통과해야만 완료로 본다.

작업 순서 (고정)

  1. component-map.json에서 기존 컴포넌트 재사용 먼저 검토
  2. 컴포넌트 1개 단위로 생성 (페이지 전체 한 번에 금지)
  3. dev server 자동 기동(포트 자동 우회) → Playwright 실제 렌더
  4. axe-core critical/serious 위반 검사 (판정 기준)
  5. 360/768/1440px 3개 뷰포트 스크린샷
  6. .design-kit/runs/·reports/에 판정서 기록
  7. FAIL 시 실패 사유를 다음 시도에 주입해 재시도 (최대 3회, 2연속 FAIL만 확정)

절대 금지

  • 검증 게이트 PASS 판정서 없이 "완료"라고 보고하지 않는다
  • 스크린샷만 보고 색상·간격을 추측하지 않는다 (Figma 구조 데이터 사용)
  • 기존 component-map을 무시하고 새 컴포넌트를 만들지 않는다
  • 모바일 뷰포트(360px) 확인 없이 완료 처리하지 않는다
  • 저작권 불명 이미지·폰트·아이콘을 사용하지 않는다
  • API 키·토큰을 코드에 직접 쓰지 않는다 (환경변수)
  • 외부 명령을 셸 문자열로 조합해 실행하지 않는다 (spawn+인자 배열만)
  • FAIL 자동 수정 재시도에서 데이터 흐름·인증·저장·API 로직 파일을 수정하지 않는다 (표시 코드만)

완료 조건

  • lint 통과 / typecheck 통과 / build 통과
  • Playwright로 핵심 화면 렌더 확인, 콘솔 에러 0건
  • axe-core critical/serious 위반 0건
  • 360px, 768px, 1440px 뷰포트 스크린샷 존재
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. 9d ago First seen · 33 lines · 550 tokens per session scan A 82d923f844c4

Subscribe to this mod's changes

SoDam-Design-Kit AGENTS.md is an instructions file published in the GitHub repository sodam-ai/SoDam-Design-Kit (9 stars, last pushed 6d ago), licensed Apache-2.0. It adds 550 tokens to every session, about $0.0028 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-31.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 3,735 tokens