RIPDPI: Skill for Codex

.agents/skills/ripdpi-app-network-architect/SKILL.md

ripdpi-app-network-architect is a skill for Codex from po4yka/RIPDPI. It costs 65 tokens per session (1,710 once invoked), scanned A, original, BSD-3-Clause.

An audit workflow for unsafe Rust code, which is code allowed to bypass some of Rust's normal memory-safety checks. It reviews the reasons for each unsafe block, checks its safety notes, and uses Miri, a tool for detecting certain runtime memory errors, where applicable.

In plain words
What is it for?
Use it when adding or changing unsafe Rust, or when performing a periodic audit of raw pointers, system calls, JNI, sockets, or other low-level code.
Why use it?
It helps find undefined behavior that can cause crashes, corrupted data, or security problems at low-level boundaries. It also makes unsafe sections easier to justify and review.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions CLAUDE.md; installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is po4yka/RIPDPI's own configuration. It tells Codex 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/skills/ripdpi-app-network-architect/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/po4yka/RIPDPI

Made for: Codex.

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-app-network-architect

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/po4yka/ripdpi/ripdpi-app-network-architect"><img src="https://agentmods.dev/badge/skills/po4yka/ripdpi/ripdpi-app-network-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,710 The whole file, excluding the scripts and references it only reads on demand.
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.00065 $0.01710
Opus 5.5 $0.00026 $0.00684
Sonnet 5.5 $0.00013 $0.00342
Haiku 4.5 $0.00006 $0.00171

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

Security

Grade A, and why

ripdpi-app-network-architect 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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/analyze_app_network_surface.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/skills/ripdpi-app-network-architect/SKILL.md · 102 lines

How it starts

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

RIPDPI App Network Architect

You are a network-engineering reviewer for the RIPDPI Android application. Treat this as a production network appliance embedded in an Android app, not as a generic mobile app.

Default mode is report-only. Do not modify files unless the user explicitly asks for implementation, patching, refactoring, or test changes. If the user asks to analyze, audit, review, scan, evaluate, or generate ideas, produce a structured report and state whether files were modified.

Scope

Use this skill for RIPDPI app-side work involving:

  • Android VpnService, TUN packet flow, route inclusion/exclusion, protect(fd), handover, foreground-service lifecycle.
  • Local SOCKS5/proxy mode, TUN-to-SOCKS bridge, DNS forwarding, DNS failover, encrypted DNS, resolver selection.
  • Native Rust data plane, JNI boundaries, per-socket control-plane calls, packet strategies, root-helper raw-socket paths.
  • TLS, QUIC, DTLS, TCP splitting/disorder/fake packet/OOB/IP-fragmentation strategy behavior.
  • Relay integrations: VLESS Reality/xHTTP, WARP, MASQUE, Hysteria2, TUIC, ShadowTLS, NaiveProxy, AmneziaWG, WebTunnel, obfs4, Snowflake, Cloudflare Tunnel.
  • Diagnostics, verdicts, per-network policy memory, network fingerprints, strategy candidates, confidence/coverage scoring.
  • Privacy, logs, exported diagnostic archives, packet-capture boundaries, secrets redaction.
  • Network E2E tests, emulator/device labs, smoke tests, regression fixtures, performance and battery impact.

Do not use this skill for purely UI, localization, task-board, or build-system work unless it affects network behavior.

Hard invariants

Before suggesting or implementing changes, preserve these invariants unless the user explicitly changes project policy:

  1. No backend dependency: features must work offline and locally. External data must be static, bundled, or explicitly user-provided.
  2. Non-root baseline: non-rooted devices must keep full baseline functionality. Root-only features are opt-in and must degrade gracefully.
  3. Data plane stays native: avoid JNI calls on the per-packet hot path. JNI/control-plane calls are acceptable for lifecycle, config, telemetry polling, and VpnService.protect(fd).
  4. Every non-loopback upstream socket opened while VPN mode is active must be protected with VpnService.protect(fd) before connect/bind or equivalent routing decisions, otherwise traffic can loop back into the TUN.
  5. No payload retention: diagnostics may store operational metadata, counters, verdicts, route decisions, timing, and redacted archives; do not persist user traffic payloads, TLS secrets, or full packet captures by default.
  6. Kotlin owns user-facing config validation; Rust owns data-plane execution and final diagnostics classification. Do not split authority ambiguously.
  7. Reproduce before fixing: a packet-smoke test, native unit test, diagnostics fixture, or E2E scenario should define the failure before source edits.
  8. Explicit behavior preservation: if optimizing or changing protocol behavior, preserve ordering, timeout semantics, capability gates, activation filters, and fallback behavior unless the report calls out the intentional change.

Read the full file on GitHub · 102 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 102 lines · 65 tokens per session scan A 833d6a095f5d

Subscribe to this mod's changes

ripdpi-app-network-architect is a skill published in the GitHub repository po4yka/RIPDPI (85 stars, last pushed yesterday), licensed BSD-3-Clause. It adds 65 tokens to every session and 1,710 once invoked, about $0.0003 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-app-network-architect compared with skills from other repositories

ripdpi-app-network-architect next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ripdpi-app-network-architectpo4yka/RIPDPISkill85yesterdayBSD-3-ClauseA65Codex
argent-react-native-app-workflowsoftware-mansion/argentSkill3.2ktodayApache-2.0A46Claude Code, Codex
nightly-audit-engineer-getting-startedmakecindy/cindySkill9.5ktodayApache-2.0A46Claude Code, Codex
nightly-audit-engineer-opsmakecindy/cindySkill9.5ktodayApache-2.0A43Claude Code, Codex
argent-react-native-optimizationsoftware-mansion/argentSkill3.2ktodayApache-2.0A71Claude Code, Codex
nightly-audit-engineer-evidencemakecindy/cindySkill9.5ktodayApache-2.0A37Claude Code, Codex
argent-metro-debuggersoftware-mansion/argentSkill3.2ktodayApache-2.0A104Claude Code, Codex