agents-scaffold: Instructions file for Codex

AGENTS.md

agents-scaffold AGENTS.md is an instructions file for Codex, OpenCode from LeeYudok/agents-scaffold. It costs 2,271 tokens per session, scanned A, original, MIT.

A Korean-language project guide that defines one shared source of instructions for coding agents and describes the project's memory, automation, rules, and helper-agent folders.

In plain words
What is it for?
Setting up agent instructions, managing project memory, running code-review and security helpers, using custom commands, and applying path-specific rules.
Why use it?
It keeps different coding assistants aligned and gives them consistent project context, including where shared notes belong and when specific rules apply.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is LeeYudok/agents-scaffold's own configuration. It tells Codex and OpenCode how to work on agents-scaffold 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 agents-scaffold configures →

Reuse

Borrowing it

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

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 agents-scaffold AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/leeyudok/agents-scaffold/agents-md"><img src="https://agentmods.dev/badge/instructions/leeyudok/agents-scaffold/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,271 This file is loaded in full into every session.
When invoked 2,271 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.02271 $0.02271
Opus 5.5 $0.00908 $0.00908
Sonnet 5.5 $0.00454 $0.00454
Haiku 4.5 $0.00227 $0.00227

Measured 17d ago against content hash 62f034dc7b3e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agents-scaffold 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 17d 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 · 127 lines

How it starts

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

AGENTS.md — {{PROJECT_NAME}}

이 파일은 이 저장소에서 작업할 때 AI 에이전트(Claude Code·Codex·Antigravity)가 따르는 단일 진실원천(SSOT) 이다. 프로젝트 브레인. 별도의 CLAUDE.md·GEMINI.md 포인터 파일은 두지 않는다 — Claude Code(v2.1.277+)·Codex·Antigravity(agy) 모두 이 파일을 네이티브로 읽는다.

이 파일은 자체 완결이어야 한다 — 아래 P0/P1 은 다른 파일 로딩 없이 여기서 읽힌다. @ import 는 메모리 인덱스 한 줄만 허용한다(아래 "메모리 경로 오버라이드") — import 를 확장하는 하네스에서는 인덱스가 자동 로드되고, 확장하지 않는 하네스에는 경로 포인터로 읽힌다.

CLAUDE.md(또는 CLAUDE.local.md)를 새로 만들면 Claude Code 는 이 파일을 더 이상 읽지 않는다 (병합이 아니라 폴백). 꼭 필요하면 그 파일 첫 줄에 @AGENTS.md 를 넣을 것.

응답 언어

  • 사용자와의 대화·보고·질문은 항상 한국어로 한다. 코드·명령·식별자·원문 에러 메시지는 원문 그대로 둔다. (#70)

메모리 경로 오버라이드

이 프로젝트의 auto-memory SSOT는 .claude/memory/ 이다.

  • 시스템 기본 경로(~/.claude/projects/.../memory/)는 사용하지 않는다.
  • 모든 메모리 읽기/쓰기는 .claude/memory/ 하위에서 수행한다.
  • MEMORY.md 가 인덱스(단일), 타입접두 project_/feedback_/reference_/user_.
  • user_*.md 만 개인(gitignore), 그 외는 팀 공유.

메모리 인덱스:

@.claude/memory/MEMORY.md

.claude/ 인프라

개요는 .claude/README.md, 각 하위 디렉터리 README 에 작성 골격과 컨벤션이 있다.

디렉터리 역할 상세
agents/ 서브에이전트 정의 (code-reviewer, security-audit, db-migration, sdlc-*, agent-evolve). Codex .codex/agents·agy .agents/agents 는 여기서 생성 (#64) README
commands/ 커스텀 슬래시 커맨드 (fix-issue, sdlc-cycle, sonar, knowledge-graph) README
hooks/ 강제 게이트 — pre-commit, 자동 포맷, observe-lite, 메모리 리마인드. Codex·agy 훅은 settings.json 에서 hook-adapter.py 로 생성 (#65) README
memory/ 프로젝트 메모리 SSOT — MEMORY.md 인덱스 + 타입접두 파일 README
rules/ 맥락 인지 룰 — paths: 스코프 조건부 로드. agy 용 .agents/rules 는 여기서 생성 (#63) README
skills/ 상황별 절차 — review, status, search-first, memory-factcheck, security-precheck, docs-sync, grill-me, handoff 등. 설치된 프로젝트에선 원본 .agents/skills/ 를 가리키는 링크 (#61) README
workflows/ 저장형 Workflow 오케스트레이션 스크립트(*.js) — rules-audit 예제 README
scripts/ 레포 로컬 헬퍼 — knowledge_graph.py(문서 그래프 + 링크 체커) README

Read the full file on GitHub · 127 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. 17d ago Changed · +4 lines · +51 tokens per session 62f034dc7b3e
  2. 18d ago Changed · -1 lines · +65 tokens per session fa5a357b45af
  3. 1mo ago Changed · +9 lines · +157 tokens per session e7f7e5467834
  4. 1mo ago First seen · 115 lines · 1,998 tokens per session scan A d95761804132

Subscribe to this mod's changes

agents-scaffold AGENTS.md is an instructions file published in the GitHub repository LeeYudok/agents-scaffold (36 stars, last pushed 3d ago), licensed MIT. It adds 2,271 tokens to every session, about $0.0091 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

Other instructions, from other repositories

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 · 9,649 tokens

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,549 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, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 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,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno · 3,077 tokens