cc-rpi AGENTS.md

cc-rpi AGENTS.md is an instructions file for Codex, OpenCode from juan294/cc-rpi. It costs 1,023 tokens per session, scanned A, original, MIT.

A repository instruction file that tells Codex how to follow the cc-rpi project’s commands, rules, skills, and Claude Code compatibility setup.

In plain words
What is it for?
Working on the cc-rpi repository, translating Claude Code workflows for Codex, and locating the authoritative project instructions.
Why use it?
It gives the agent the project’s working method in one place, reducing the chance that it uses the wrong command, rule, or source file.

Instructions file for CodexOpenCode

Install

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.

agentmods
npx agentmods add instructions/juan294/cc-rpi/agents-md
Clone the repo
git clone --depth 1 https://github.com/juan294/cc-rpi

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 cc-rpi AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/juan294/cc-rpi/agents-md.svg)](https://agentmods.dev/instructions/juan294/cc-rpi/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/juan294/cc-rpi/agents-md"><img src="https://agentmods.dev/badge/instructions/juan294/cc-rpi/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,023 This file is loaded in full into every session.
When invoked 1,023 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.01023 $0.01023
Opus 5 $0.00511 $0.00511
Sonnet 5 $0.00205 $0.00205
Haiku 4.5 $0.00102 $0.00102

Measured 5d ago against content hash 9762e8ac19df, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cc-rpi 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 5d 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 · 86 lines

How it starts

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

Project: cc-rpi

Codex Compatibility

This repository is the cc-rpi blueprint. It is authored for Claude Code, but this AGENTS.md file makes the same methodology operable in Codex.

Source of truth for this repo:

  • CLAUDE.md -- repo overview, workflow, commands, git conventions
  • .claude/commands/*.md -- active project-level workflow commands
  • templates/commands/*.md -- canonical exported command templates
  • .claude/rules/*.md -- repo-local rules
  • templates/rules/*.md -- canonical exported rule templates
  • .claude/skills/*/SKILL.md and templates/skills/*/SKILL.md -- skill content
  • .codex/skills/*/SKILL.md -- Codex-only skills that intentionally stay outside .claude/skills/

Command Dispatch

When the user invokes a slash-style command:

  • Use .claude/commands/<name>.md when it exists in this repo
  • For blueprint-lifecycle commands that only exist in templates (/bootstrap, /adopt, /update, /detach), use the matching file in templates/commands/
  • Read the command file completely before acting
  • Follow it as the workflow spec, translating Claude-specific mechanics to Codex equivalents when needed

Claude-to-Codex Translation

  • /simplify -- prefer codex-simplify when available; otherwise run a dedicated post-implementation quality pass for reuse, cleanliness, and efficiency
  • /batch -- use parallel agents and isolated worktrees for [batch-eligible] work
  • /worktree or EnterWorktree -- implement in an isolated worktree
  • Task / Explore agents -- use Codex subagents or equivalent parallel exploration with the same role split
  • AskUserQuestion -- ask the user directly only when the repo cannot answer safely
  • /clear and /compact -- treat as context-management guidance

Rules and Skills

  • Always follow CLAUDE.md
  • Always read .claude/rules/rpi-details.md
  • Read .claude/rules/git-recipes.md for git-heavy tasks
  • Read .claude/rules/contributing.md when changing docs, templates, or patterns
  • Run scripts/install.sh after pulling cc-rpi to refresh the user-level commands, or scripts/install.sh --check to see whether they have drifted
  • Load .claude/skills/drawio/SKILL.md when diagram work is requested
  • Load .codex/skills/codex-simplify/SKILL.md when a Codex session needs a /simplify-style cleanup pass

Read the full file on GitHub · 86 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. 5d ago First seen · 86 lines · 1,023 tokens per session scan A 9762e8ac19df

Subscribe to this mod's changes

cc-rpi AGENTS.md is an instructions file published in the GitHub repository juan294/cc-rpi (5 stars, last pushed 4d ago), licensed MIT. It adds 1,023 tokens to every session, about $0.0051 per session on Opus 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.