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,174 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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 5,174 This file is loaded in full into every session.
When invoked 5,174 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.05174 $0.05174
Opus 5 $0.02587 $0.02587
Sonnet 5 $0.01035 $0.01035
Haiku 4.5 $0.00517 $0.00517

Measured 9d ago against content hash 473dd5a1bee4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 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.

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 · 719 lines

How it starts

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

에이전트 개발 규칙

이 문서는 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: - 커밋 되돌리기
커밋 메시지 예시
# ✅ 좋은 예
feat: 제품 검색 필터링 기능 추가
fix: 매장 찾기 시 거리 계산 오류 수정
docs: API 사용 예시 문서 업데이트
refactor: 재고 확인 로직을 별도 모듈로 분리
test: 가격 정보 조회 API 테스트 추가
chore: TypeScript 버전 5.7.2로 업데이트

# ❌ 나쁜 예
feat: add feature (영어로만 작성)
update (타입 접두사 누락)
fix: bug fix (구체적이지 않음)
여러 기능 추가 (타입 접두사 누락)

Read the full file on GitHub · 719 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. 9d 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 (327 stars, last pushed today), licensed MIT. It adds 5,174 tokens to every session, about $0.0259 per session on Opus 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

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

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens