mandu: Instructions file for Codex

AGENTS.md

mandu AGENTS.md is an instructions file for Codex, OpenCode from konamgil/mandu. It costs 721 tokens per session, scanned A, original, MPL-2.0.

Project instructions for Mandu, a Bun-based full-stack framework, covering its structure, commands, and preferred ways for coding agents to work with it.

In plain words
What is it for?
Following Mandu conventions when creating routes, pages, APIs, contracts, slots, or islands; investigating errors; and preparing deployments or releases.
Why use it?
They give the agent project-specific rules, such as using Bun instead of npm or pnpm and checking Mandu tools before editing files directly.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 mandu AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/konamgil/mandu/agents-md"><img src="https://agentmods.dev/badge/instructions/konamgil/mandu/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 721 This file is loaded in full into every session.
When invoked 721 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.00721 $0.00721
Opus 5.5 $0.00288 $0.00288
Sonnet 5.5 $0.00144 $0.00144
Haiku 4.5 $0.00072 $0.00072

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

Security

Grade A, and why

mandu 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 2mo 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

AGENTS.md · 93 lines

How it starts

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

Mandu Project Guide

Overview

Mandu는 Bun 기반의 모던 풀스택 프레임워크입니다.

Package Manager

  • Bun 사용 (bun install, bun run, bun test)
  • pnpm/npm 아님

Project Structure

packages/
├── core/       # @mandujs/core - 핵심 프레임워크
├── cli/        # @mandujs/cli - CLI 도구
└── mcp/        # @mandujs/mcp - MCP 서버
demo/           # 데모 앱들

Agent-Native Workflow

Mandu는 Agent-Native Fullstack Framework다. 에이전트는 파일을 바로 고치기 전에 설치된 Mandu MCP와 Mandu skills를 먼저 고려해야 한다.

작업 전:

  1. 작업 도메인을 분류한다: route, API, contract, slot, island, guard, debug, deploy, release, docs.
  2. 관련 Mandu skill이 있으면 사용한다.
  3. 관련 Mandu MCP tool이 있으면 source 직접 편집보다 우선한다.
  4. MCP/skill이 없거나 접근 불가하면 그 사실을 말하고 CLI/source fallback을 쓴다.

도구 선택 기준:

작업 우선 경로
route/page/API 생성 MCP route/scaffold tools 또는 mandu-fs-routes, mandu-create-api skill
contract 변경 contract MCP tools, contract validation
slot/filling 변경 mandu-slot skill, slot MCP tools
architecture/import 문제 Guard MCP tools, mandu-guard-guide skill
island/hydration 문제 mandu-hydration skill, hydration/build checks
오류 조사 mandu-debug skill, mandu_doctor/targeted tests
배포/릴리즈 release checklist, changeset, check:publish

상세 프로토콜: docs/guides/07_agent_workflow.md

License

  • MPL-2.0 (Mozilla Public License 2.0) 전체 적용
  • 수정한 파일은 공개 필수, import해서 만든 앱은 자유

배포 (Release)

이 프로젝트는 Changesets를 사용합니다.

변경사항 기록

bun changeset
# → 변경된 패키지 선택
# → major/minor/patch 선택
# → 변경 내용 설명

버전 업데이트 & 배포

bun run version   # 버전 업데이트 + CHANGELOG 생성
bun run publish   # npm 배포
# 또는
bun run release   # 위 두 명령을 한번에

주의사항

  • workspace:* 의존성은 bun run version 시 실제 버전으로 자동 변환됨
  • demo/* 패키지는 배포 대상에서 제외됨 (.changeset/config.json)

Git

  • 커밋 메시지에 Co-Authored-By 라인을 포함하지 마라.

Scripts

명령어 설명
bun test 테스트 실행
bun run mandu CLI 실행
bun changeset 변경사항 기록
bun run version 버전 업데이트
bun run publish npm 배포
bun run release version + publish

Read the full file on GitHub · 93 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. 2mo ago First seen · 93 lines · 721 tokens per session scan A fadb2a228922

Subscribe to this mod's changes

mandu AGENTS.md is an instructions file published in the GitHub repository konamgil/mandu (47 stars, last pushed 2mo ago), licensed MPL-2.0. It adds 721 tokens to every session, about $0.0029 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,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,461 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,750 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