Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add masa-san-jp/Agent-Aiko --skill codexgit clone --depth 1 https://github.com/masa-san-jp/Agent-AikoWrote 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.
[](https://agentmods.dev/skills/masa-san-jp/agent-aiko/codex)<a href="https://agentmods.dev/skills/masa-san-jp/agent-aiko/codex"><img src="https://agentmods.dev/badge/skills/masa-san-jp/agent-aiko/codex/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.
<a href="https://agentmods.dev/skills/masa-san-jp/agent-aiko/codex"><img src="https://agentmods.dev/badge/skills/masa-san-jp/agent-aiko/codex.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00121 | $0.01045 |
| Opus 5.5 | $0.00048 | $0.00418 |
| Sonnet 5.5 | $0.00024 | $0.00209 |
| Haiku 4.5 | $0.00012 | $0.00104 |
Grade A, and why
codex 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 1mo 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.
What it actually says
/codex
Agent-team 共通スキル。codex app-server 経由で ChatGPT サブスクリプションに問い合わせる。実装本体は {{ORG_REPO_PATH}}/Agent-team/tools/codex/。
サブコマンド
| 形 | 用途 |
|---|---|
/codex setup |
初回セットアップ(Codex CLI インストール+ OAuth ログイン) |
/codex ask <prompt> |
1 ターン質問。応答テキストを返す |
/codex status |
認証状態とアカウント情報を表示 |
/codex |
引数なしの場合は status と同等 |
実行手順
setup
bash {{ORG_REPO_PATH}}/Agent-team/tools/codex/setup.sh
冪等。既にログイン済みならスキップ。失敗時は表示メッセージに従う。
ask
{{ORG_REPO_PATH}}/Agent-team/tools/codex/codex-ask "<prompt>"
- ストリーミング出力したい場合:
CODEX_STREAM=1 {{ORG_REPO_PATH}}/Agent-team/tools/codex/codex-ask "<prompt>" - モデル指定:
CODEX_MODEL=<slug> {{ORG_REPO_PATH}}/Agent-team/tools/codex/codex-ask "<prompt>" - デバッグ:
CODEX_DEBUG=1で App Server の stderr を表示 - 失敗時の終了コード:
1=実行時エラー /2=引数不足 /3=未認証(setup を案内)
前提:Codex CLI 0.128.0+ が必要。古い場合は npm update -g @openai/codex。
出力の取り扱い(重要)
- ChatGPT の応答は 「ChatGPT による応答」と明示 したうえでユーザー or 上位エージェントに報告
- Claude 自身の見解と混在させない(出典明示の原則)
- 機密情報・社内データはプロンプトに含めない(OpenAI に送信されるため)
いつ使うか
クイックルーティング判断表
| タスク性質 | 推奨 | 理由 |
|---|---|---|
| 不可逆判断の第二意見 | Codex (/codex ask) |
モデルの多様性で死角を補完 |
| 技術トレンド並列調査 | Codex (/codex ask) |
Claude+ChatGPT 両視点の合成 |
| 定型コード生成・複数言語実装 | Codex (/codex ask) |
仕様→生成→Claude レビューの分業 |
| アーキテクチャ・設計判断 | Claude(自分) | 自己検証ループ、コンテキスト保持 |
| セキュリティ審査・競合状態分析 | Claude(自分) | 深い脆弱性推論は Claude が有利 |
| ドキュメント生成 | Claude(自分) | コンテキスト連続性が必要 |
| 機密データ・社内情報含む | Claude(自分) | Codex 絶対不可(OpenAI に送信) |
判断基準の詳細は workflow-templates/ の codex_* パターンスキル参照(このパッケージには含まれない、各組織で必要に応じて追加)。
制約
- 機密情報送信禁止:社内固有名詞・人名・契約情報・案件名はプロンプトに含めない
- 出典明示:ChatGPT 応答は必ず「ChatGPT による応答」と明示
- 混在禁止:Claude の見解と ChatGPT の応答を混ぜない
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.
- 1mo ago First seen · 69 lines · 121 tokens per session scan A e9b1e7ef5881
codex is a skill published in the GitHub repository masa-san-jp/Agent-Aiko (3 stars, last pushed 11d ago), licensed MIT. It adds 121 tokens to every session and 1,045 once invoked, about $0.0005 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-31.
Other skills, from other repositories
compact-enum-mappings
Define compact enum representations for structured payloads when both producer and consumer share the same documented mapping.
typescript-engineering
Discovery wrapper for the canonical TypeScript engineering skill.
create-pr
Creates a GitHub PR with a Linear-ticket-prefixed title and a decision-led, narrative description for Prisma 8. Use when the user wants to create a pull request, open a PR, or submit changes for review.
schema-exploration
Lists tables, describes columns and data types, identifies foreign key relationships, and maps entity relationships in a database. Use when the user asks about database schema, table structure, column types, what tables exist, ERD, foreign keys, or how entities relate.
analyze-market
Perform a market analysis for a product category or segment. Trigger on: market analysis, market size, TAM SAM SOM, market opportunity, industry analysis.
openai-whisper-api
Transcribe audio via OpenAI Audio Transcriptions API (Whisper).