RIPDPI: Skill for Claude Code

.agents/skills/edge-to-edge/SKILL.md

edge-to-edge is a skill for Claude Code, Codex from po4yka/RIPDPI. It costs 52 tokens per session (1,649 once invoked), scanned A, original, BSD-3-Clause.

A guide for Android edge-to-edge layouts, where app content can extend behind the status and navigation bars. It explains where to enable this mode and how Compose screens should handle system insets, the space reserved for those bars.

In plain words
What is it for?
Use it when reviewing Compose screens, scaffolds, sheets, system-bar handling, or the activity's edge-to-edge setup.
Why use it?
It prevents buttons and other content from being covered or clipped by Android system bars. It also avoids enabling the window behavior in multiple places.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is po4yka/RIPDPI's own configuration. It tells Claude Code and 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/edge-to-edge/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/po4yka/RIPDPI

Made for: Claude Code, 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 edge-to-edge

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/po4yka/ripdpi/edge-to-edge"><img src="https://agentmods.dev/badge/skills/po4yka/ripdpi/edge-to-edge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,649 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.00052 $0.01649
Opus 5.5 $0.00021 $0.00660
Sonnet 5.5 $0.00010 $0.00330
Haiku 4.5 $0.00005 $0.00165

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

Security

Grade A, and why

edge-to-edge 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/skills/edge-to-edge/SKILL.md · 91 lines

How it starts

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

Edge-to-Edge on RIPDPI

Read ripdpi.targetSdk and ripdpi.compileSdk from gradle.properties before auditing. When the live target is API 35 or newer, Android 15+ enforces edge-to-edge regardless of theme flags — any screen that wraps content without inset handling will clip under the status or navigation bars.

The single entry point

app/src/main/kotlin/com/poyka/ripdpi/activities/MainActivity.kt is the only call site; locate onCreate by symbol rather than retaining a line-number snapshot:

override fun onCreate(savedInstanceState: Bundle?) {
    val splashScreen = installSplashScreen()
    enableEdgeToEdge()
    super.onCreate(savedInstanceState)
    ...
}

Rule: installSplashScreen() must run before enableEdgeToEdge(), and both must run before super.onCreate(...). Read the active splashscreen version from gradle/libs.versions.toml; the splash overlay lifecycle must attach before the activity window switches to edge-to-edge mode.

Do not call enableEdgeToEdge() from a second activity, a Compose entry, or a @Composable effect. The activity owns the window.

Choosing the right inset source in Compose

For any composable that touches a screen edge, you must pick one inset source:

Inset When to use Notes
WindowInsets.safeDrawing Default for most content surfaces. Union of system bars + display cutout + IME. What you want unless you have a specific reason otherwise.
WindowInsets.systemBars Only the status + navigation bars. Use when you explicitly want to draw under a display cutout. Rare in RIPDPI; status bar is the common case.
WindowInsets.navigationBars Bottom nav only. Use for a custom bottom bar that should sit above the system nav gesture area. The app shell bar comes from NavigationSuiteScaffold (RipDpiNavigationSuiteScaffold.kt), which pads its own inset; the content gets the navigation inset exactly once, because RipDpiNavHost.kt applies and consumes the NavHost Scaffold padding.
WindowInsets.statusBars Top system bar only. Rare — prefer safeDrawing so cutouts are handled. Use when you want to draw behind the status bar but respect the nav bar normally.
WindowInsets.ime Keyboard insets. Combine with others via union() for fields that must stay above the keyboard.

Read the full file on GitHub · 91 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 · 91 lines · 52 tokens per session scan A eebb020188d8

Subscribe to this mod's changes

edge-to-edge is a skill published in the GitHub repository po4yka/RIPDPI (85 stars, last pushed yesterday), licensed BSD-3-Clause. It adds 52 tokens to every session and 1,649 once invoked, about $0.0002 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

edge-to-edge compared with skills from other repositories

edge-to-edge next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
edge-to-edgepo4yka/RIPDPISkill85yesterdayBSD-3-ClauseA52Claude Code, Codex
uniwinduni-stack/uniwindSkill1.7kyesterdayMITA130Claude Code, Codex
android-viewsystem-foundationskrutikJain/android-agent-skillsSkill147mo agoMITA30Codex
android-views-xmlalmasumdev/awesome-java-android-agent-skillsSkill16mo agononeA48Claude Code, Codex
argent-react-native-app-workflowsoftware-mansion/argentSkill3.2ktodayApache-2.0A46Claude Code, Codex
analyzing-android-malware-with-apktoolmukul975/Anthropic-Cybersecurity-SkillsSkill36k2mo agoApache-2.0A84Claude Code
compose-multiplatformericrisco/rsc-harnessSkill5293d agoMITA80Claude Code, Codex