RIPDPI: Instructions file for Codex

AGENTS.md

RIPDPI AGENTS.md is an instructions file for Codex, OpenCode from po4yka/RIPDPI. It costs 4,402 tokens per session, scanned A, original, BSD-3-Clause.

Repository instructions for an offline-first Android network diagnostics app, including its architecture, product principles, source of truth, and setup guidance. Offline-first means the core experience is designed to work without constant internet access.

In plain words
What is it for?
Use it when working in the RIPDPI repository, especially across its Compose interface, Android services, Rust networking code, and JNI connections.
Why use it?
It gives coding agents and developers the project context needed to make changes that fit existing behaviour and boundaries.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/po4yka/ripdpi/agents-md"><img src="https://agentmods.dev/badge/instructions/po4yka/ripdpi/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,402 This file is loaded in full into every session.
When invoked 4,402 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.04402 $0.04402
Opus 5.5 $0.01761 $0.01761
Sonnet 5.5 $0.00880 $0.00880
Haiku 4.5 $0.00440 $0.00440

Measured yesterday against content hash 19e2fea4698c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

RIPDPI 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 yesterday.

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 · 188 lines

How it starts

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

AGENTS.md -- RIPDPI

Project

RIPDPI is an offline-first Android network-path diagnostics and performance toolkit. Jetpack Compose provides the UI, Android services own VPN/proxy lifecycles, and repository-owned Rust modules implement the native data plane, diagnostics, relays, tunnels, and JNI adapters.

Product principle

The standard is Linear's website or Apple Notes: a simple purpose, a simple architecture, a simple design, and a simple implementation.

Three people open every screen and every module: the user (UX), the developer who reads the code (DX), and the agent that edits it next (AX). A change must serve all three. A change that helps one by taking from another is not finished. "Simple" never means "broken": existing behavior, contracts, and gates stay intact.

  • UX: cut taglines, helper text, and secondary labels. Remove any label that only explains the layout. If a screen needs a caption to make sense, the screen is broken: fix the layout, then delete the caption. Text that carries content, state, errors, consequences, or required disclosures stays; DESIGN.md defines the boundary.
  • DX: one name and one owner for each concept, no layer that only forwards calls, and code that a new reader can follow without a guide.
  • AX: one source of truth for each fact, so an agent finds it with one search and does not edit a copy that disagrees.
  • Removing UI text is a full change: delete the string from every locale in the same commit, keep the element's accessible name, and expect Roborazzi baseline changes, which need approval under golden-bless-discipline.md.

Source of truth

  • At task start and when you switch checkouts, run just checkout-doctor to discover the actual checkout root, branch, Git directories, worktree problems, and Rust-skill submodule state. Use its current paths instead of remembered checkout names. It is read-only; exit 1 means inspect the reported issue before proceeding. For a Git directory without a justfile, invoke scripts/checkout_doctor.py from an available checkout with the directory as its argument (--json lists every worktree).
  • To locate guidance for a build, runtime, contract, UI, testing, release, or harness task, use the task-based documentation index.
  • For cross-module or architecture work, start at docs/architecture/ARCHITECTURE.md and follow its links (NATIVE_RUST.md, JNI_CONTRACT.md, CONFIG_CONTRACTS.md, DIAGNOSTICS_ARCHITECTURE.md, FEATURE_EXTENSION_GUIDE.md) as the change requires.
  • Derive protocol and relay claims from current Kotlin/Rust registries, schemas, tests, and crate existence. Old plans, README prose, and rollout notes are not authoritative when code disagrees.
  • Native build properties come from gradle.properties; dependency versions come from gradle/libs.versions.toml; Rust membership and dependencies come from native/rust/Cargo.toml and cargo metadata --locked.
  • Generated artifacts and reports are regenerated through their owning task or script, never hand-edited.

Read the full file on GitHub · 188 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. yesterday First seen · 188 lines · 4,402 tokens per session scan A 19e2fea4698c

Subscribe to this mod's changes

RIPDPI AGENTS.md is an instructions file published in the GitHub repository po4yka/RIPDPI (85 stars, last pushed yesterday), licensed BSD-3-Clause. It adds 4,402 tokens to every session, about $0.0176 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-11-07.

Related

RIPDPI AGENTS.md compared with instructions from other repositories

RIPDPI AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
RIPDPI AGENTS.mdpo4yka/RIPDPIInstructions file85yesterdayBSD-3-ClauseA4,402Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot