cappuccino: Instructions file for Codex

AGENTS.md

cappuccino AGENTS.md is an instructions file for Codex, OpenCode from meteosimaji/cappuccino. It costs 31,195 tokens per session, scanned A, original, MIT.

A Japanese-language guide for creating autonomous AI coding agents with OpenAI Codex. It describes Codex’s code editing, command-running, testing, code-analysis, and software-development uses, along with stated limitations.

In plain words
What is it for?
Defining an agent’s requirements, planning its instruction file, and considering tasks such as bug fixes, refactoring, test creation, code review, and command execution.
Why use it?
It gives an agent-building project a shared description of what Codex can do and what should be checked, such as generated-code accuracy and possible lack of internet access.

Instructions file for CodexOpenCode

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

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

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/ubuntu/cappuccino_workspace/.

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/meteosimaji/cappuccino/agents-md"><img src="https://agentmods.dev/badge/instructions/meteosimaji/cappuccino/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31,195 This file is loaded in full into every session.
When invoked 31,195 The same file — it is already loaded in full.
Security scan A 2 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.31195 $0.31195
Opus 5 $0.15598 $0.15598
Sonnet 5 $0.06239 $0.06239
Haiku 4.5 $0.03120 $0.03120

Measured 8d ago against content hash 66e4823ef748, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

cappuccino AGENTS.md scanned grade A with 2 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 8d 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.

response = requests.get('https://www.example.com')

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

result = subprocess.run(['ls', '-l'], capture_output=True, text=True, check=True)
AGENTS.md · 1,847 lines

How it starts

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

Codexへの指示書:自律型AIエージェントの作成

1. Codexの能力と要件の理解

このセクションでは、OpenAI Codexの主要な能力と、エージェント作成における考慮事項をまとめます。Codexは、自然言語をコードに変換し、ソフトウェア開発タスクを自動化するために設計された強力なAIコーディングエージェントです。

1.1. Codexの主要な能力

Codexは、以下の広範な機能を提供します。

  • コードの生成と編集: 自然言語のプロンプトから、機能するコードを生成し、既存のファイルを編集する能力を持ちます。これは、ユーザーの要求を直接コードに落とし込む上で不可欠な機能です。
  • コマンド実行とテスト: テストハーネス、リンター、型チェッカーなどのコマンドを実行できます。これにより、生成されたコードの品質検証や、開発ワークフローの自動化が可能です。
  • コードベースの理解と分析: コードを分析し、プルリクエストのレビュー、コミットメッセージの作成、差分の要約、さらには安全な変更の提案や実行を行うことができます。これは、既存のプロジェクトに統合されるエージェントにとって重要です。
  • ソフトウェア開発タスクの自動化: バグ修正、リファクタリング、テスト生成など、反復的または複雑な開発タスクを自動化する能力があります。
  • 多言語サポート: Pythonが最も得意な言語ですが、Go、JavaScript、Perl、PHP、Ruby、Shell、Swift、TypeScriptなど、12以上のプログラミング言語に対応しています。これにより、多様な開発環境でのエージェント作成が可能です。
  • クラウドおよびローカルエージェントとしての機能: 強力なクラウドベースのエージェントとして機能するだけでなく、ローカルのコーディングエージェントとしてタスクを委任することもできます。

1.2. Codexの制限事項と考慮事項

Codexは強力ですが、いくつかの制限事項と考慮すべき点があります。

  • インターネットアクセス: タスク実行中にインターネットアクセスが無効になる場合があります。これは、外部APIへのアクセスやリアルタイムデータの取得が必要なエージェントの場合、設計上の重要な考慮事項となります。
  • 正確性の問題: Codexは解決策を生成できますが、常に正確または最適なコードを生成するとは限りません。生成されたコードの検証とテストは、エージェントの信頼性を確保するために不可欠です。
  • フロントエンド作業の制限: 画像入力が必要なフロントエンド作業は処理できません。これは、視覚的なUI要素を操作するエージェントの設計に影響を与える可能性があります。
  • タスク途中でのガイダンスの欠如: タスクの途中で追加のガイダンスを提供することができません。エージェントの指示書は、可能な限り詳細かつ明確である必要があります。
  • レイテンシ: AIエージェントの性質上、処理にレイテンシが発生する可能性があります。リアルタイム性が求められるアプリケーションでは、この点を考慮した設計が必要です。
  • 利用制限: 利用プランによっては、使用量に制限がある場合があります。大規模なエージェントや頻繁に実行されるエージェントを作成する場合、この制限を考慮する必要があります。

これらの能力と制限を理解した上で、Codexに作成させるエージェントの要件を定義し、詳細な指示書を設計していきます。特に、インターネットアクセスの制限は、外部ツールとの連携方法に大きな影響を与えるため、注意が必要です。

2. エージェントの要件定義と指示書構造の設計

このセクションでは、Codexに作成を依頼するエージェントの具体的な要件を定義し、その実装をガイドするための指示書の全体構造を設計します。

2.1. エージェントの目的とコア機能

Codexに作成させるエージェントは、ユーザーの多様な要求に応えることができる「汎用AIアシスタント」を目指します。これは、現在のManusの能力を包含し、さらに拡張性を持つように設計されるべきです。主な目的とコア機能は以下の通りです。

目的: ユーザーの自然言語による指示を理解し、適切なツールを自律的に選択・実行することで、複雑なタスクを効率的に解決する。

コア機能:

  1. タスク理解と計画: ユーザーの意図を正確に解釈し、タスクを達成するための多段階の計画を立案する能力。
  2. ツール利用: シェルコマンド実行、ファイル操作、ウェブブラウジング、情報検索、メディア生成など、多様な外部ツールを適切に呼び出し、その結果を解釈する能力。
  3. 自己修正と学習: 実行中に発生したエラーや予期せぬ結果から学習し、計画や行動を自己修正する能力。
  4. ユーザーとの対話: タスクの進捗状況を報告し、必要に応じてユーザーに質問を投げかけ、フィードバックを統合する能力。
  5. 永続性と状態管理: タスクの途中で中断されても、状態を保存し、再開できる能力。過去の対話履歴やタスクのコンテキストを維持する。
  6. 拡張性: 将来的に新しいツールや機能を追加しやすいモジュール化されたアーキテクチャ。

Read the full file on GitHub · 1,847 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. 8d ago First seen · 1,847 lines · 31,195 tokens per session scan A 66e4823ef748

Subscribe to this mod's changes

cappuccino AGENTS.md is an instructions file published in the GitHub repository meteosimaji/cappuccino (2 stars, last pushed 1y ago), licensed MIT. It adds 31,195 tokens to every session, about $0.1560 per session on Opus 5. A static security scan graded it A with 2 findings (makes network calls, runs shell commands). 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

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