nippo: Instructions file for Codex

AGENTS.md

nippo AGENTS.md is an instructions file for Codex, OpenCode from nwiizo/nippo. It costs 423 tokens per session, scanned A, original, MIT.

Repository instructions for nippo, a tool that collects Claude Code and Codex work history and creates daily reports or reflections.

In plain words
What is it for?
Use them when developing the Rust collector, adding data sources or modes, parsing session history, or updating reports and documentation.
Why use it?
They identify the correct files, commands, data sources, and Rust rules, reducing the risk of changing the wrong part of the project.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions Claude Code; mentions Codex.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/nwiizo/nippo/agents-md"><img src="https://agentmods.dev/badge/instructions/nwiizo/nippo/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 423 This file is loaded in full into every session.
When invoked 423 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.00423 $0.00423
Opus 5.5 $0.00169 $0.00169
Sonnet 5.5 $0.00085 $0.00085
Haiku 4.5 $0.00042 $0.00042

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

Security

Grade A, and why

nippo 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 7d 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.

AGENTS.md · 40 lines

What it actually says

nippo

Claude Code / Codex の作業履歴から日報・リフレクションを生成するリポジトリ。 Rust バイナリがデータ収集を担当し、Claude Code と Codex の skill がレポート生成を担当する。

Read First

  • README.md
  • docs/data-sources.md
  • docs/templates/

Development

cargo fmt --all
cargo clippy -p nippo -- -D warnings
cargo test -p nippo
  • Rust edition 2024、Rust 1.89+ 前提
  • .unwrap() は避け、anyhow::Result と ? を使う

Change Map

  • crates/collector/src/main.rs: CLI、source 選択、auto 判定
  • crates/collector/src/filter.rs: 日付・期間フィルタ
  • crates/collector/src/output.rs: JSON / summary 出力、decision 抽出
  • crates/collector/src/session.rs: source 共通のセッション表現
  • crates/collector/src/sources/claude_code.rs: Claude Code パーサ
  • crates/collector/src/sources/codex.rs: Codex 履歴パーサ
  • .claude/skills/nippo/SKILL.md: Claude Code 用 skill
  • .agents/skills/nippo/SKILL.md: Codex 用 skill

Rules

  • データ収集は Rust バイナリのみ。Python スクリプトを追加しない
  • reports/ はコマンドを実行した cwd に出力する
  • 新しいモードや source を追加したら README.md、docs/data-sources.md、関連 skill を更新する
  • Codex の logs_2.sqlite は診断ログ。日報の主データソースにしない
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. 7d ago Changed 68135d7abe51
  2. 2mo ago First seen · 40 lines · 423 tokens per session scan A 92f30718786f

Subscribe to this mod's changes

nippo AGENTS.md is an instructions file published in the GitHub repository nwiizo/nippo (212 stars, last pushed 8d ago), licensed MIT. It adds 423 tokens to every session, about $0.0017 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

nippo AGENTS.md compared with instructions from other repositories

nippo AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nippo AGENTS.mdnwiizo/nippoInstructions file2128d agoMITA423Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file275k2d agoMITA4,313Codex, OpenCode