daiso-mcp: Instructions file for Codex

AGENTS.md

daiso-mcp AGENTS.md is an instructions file for Codex, OpenCode from hmmhmmhm/daiso-mcp. It costs 5,796 tokens per session, scanned A, original, MIT.

Repository instructions for developing daiso-mcp, including rules for TypeScript code structure, file size, error handling, security, documentation, and tests.

In plain words
What is it for?
Use them when adding or changing code to split oversized files, validate external data, handle asynchronous errors, protect private information, and test the result.
Why use it?
They reduce maintenance problems and make contributions follow the project's expected style and safety requirements.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

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

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/hm/Documents/personal-agent/projects/daiso-mcp/PROJECT.md.

Reuse

Borrowing it

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

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 daiso-mcp AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/hmmhmmhm/daiso-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/hmmhmmhm/daiso-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5,796 This file is loaded in full into every session.
When invoked 5,796 The same file — it is already loaded in full.
Security scan A 1 finding. 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.05796 $0.05796
Opus 5.5 $0.02318 $0.02318
Sonnet 5.5 $0.01159 $0.01159
Haiku 4.5 $0.00580 $0.00580

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

Security

Grade A, and why

daiso-mcp AGENTS.md scanned grade A with 1 finding 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 2d 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.

Makes network callslowCapability

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

const response = await fetch(url);
AGENTS.md · 738 lines

How it starts

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

에이전트 개발 규칙

최우선: 공개 MCP 도구는 10개 고정

공개 tools/list의 도구는 정확히 10개이며 절대 늘리지 않습니다. 새 서비스와 기능은 기존 도구의 service/operation/requestType에 통합합니다. 기존 이름은 deprecated 호출 별칭으로만 보존하며 공개 목록에는 추가하지 않습니다. 일반 MCP와 PlayMCP에 동일하게 적용합니다. 공개 도구 계약과 tests/core/compact, tests/app/compact-contract.test.ts 검사를 반드시 유지합니다.

이 문서는 AI 에이전트가 이 프로젝트에서 코드를 작성하고 기여할 때 따라야 하는 규칙과 가이드라인을 정의합니다.

목차


코드 작성 규칙

파일 크기 제한

모든 코드 파일은 450줄 내외로 작성되어야 합니다.

  • 최대 줄 수: 450줄
  • 권장 줄 수: 300-400줄
  • 초과 시 조치: 파일이 450줄을 초과하면 기능별로 분리하여 모듈화
  • 자동 검사: src/**/*.ts의 450줄 제한은 CI에서 자동으로 강제
  • 예외: 현재 src 아래 예외는 없으며 OpenAPI 생성 산출물은 저장소 루트에 위치
파일 분리 예시
// ❌ 나쁜 예: 하나의 파일에 모든 기능 (600줄)
// src/products.ts (600줄)

// ✅ 좋은 예: 기능별로 분리
// src/products/search.ts (200줄)
// src/products/filter.ts (150줄)
// src/products/formatter.ts (100줄)
// src/products/index.ts (50줄)

코드 품질

  • 명확성: 코드는 명확하고 이해하기 쉽게 작성
  • 재사용성: 중복 코드를 최소화하고 공통 로직은 함수로 추출
  • 타입 안정성: TypeScript의 타입 시스템을 적극 활용
  • 에러 핸들링: 모든 비동기 작업과 외부 API 호출에 적절한 에러 처리 구현
예시
// ✅ 좋은 예
async function fetchData(url: string): Promise<ApiResponse> {
  try {
    const response = await fetch(url);
    if (!response.ok) {
      throw new Error(`HTTP 에러: ${response.status}`);
    }
    return await response.json();
  } catch (error) {
    console.error('데이터 가져오기 실패:', error);
    throw error;
  }
}

// ❌ 나쁜 예
async function fetchData(url) {
  const response = await fetch(url);
  return await response.json();
}

커밋 규칙

커밋 빈도

  • 주기적인 커밋: 논리적인 작업 단위마다 커밋
  • 작은 단위: 한 번에 하나의 기능이나 수정사항만 포함
  • 완성된 코드: 빌드 실패나 런타임 에러가 없는 상태에서만 커밋

커밋 메시지 컨벤션

접두사는 영어, 메시지는 한국어를 사용합니다.

커밋 메시지 형식
<타입>: <제목>

<본문> (선택사항)

<푸터> (선택사항)
타입 종류
  • feat: - 새로운 기능 추가
  • fix: - 버그 수정
  • docs: - 문서 수정
  • style: - 코드 포맷팅, 세미콜론 누락 등 (로직 변경 없음)
  • refactor: - 코드 리팩토링 (기능 변경 없음)
  • test: - 테스트 코드 추가/수정
  • chore: - 빌드 설정, 패키지 매니저 설정 등
  • perf: - 성능 개선
  • ci: - CI/CD 설정 변경
  • revert: - 커밋 되돌리기

Read the full file on GitHub · 738 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. 2d ago Changed · +4 lines · +133 tokens per session 81ea12faa3b1
  2. 3d ago Changed · +2 lines · +47 tokens per session e8b371b85a1f
  3. 5d ago Changed · +12 lines · +305 tokens per session 2583fad980e9
  4. 18d ago Changed · +1 lines · +137 tokens per session 6c893fd060c9
  5. 1mo ago First seen · 719 lines · 5,174 tokens per session scan A 473dd5a1bee4

Subscribe to this mod's changes

daiso-mcp AGENTS.md is an instructions file published in the GitHub repository hmmhmmhm/daiso-mcp (347 stars, last pushed today), licensed MIT. It adds 5,796 tokens to every session, about $0.0232 per session on Opus 5.5. A static security scan graded it A with 1 finding (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

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,715 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,581 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

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 · 4,261 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