edge_to_edge

edge_to_edge is a cursor rule for Cursor from baijum/ukulele-companion. It costs 0 tokens per session (1,300 once invoked), scanned A, original, MIT.

Project rules documenting known Android edge-to-edge display warnings and the actions already taken. Edge-to-edge lets an app’s content extend into the areas near system bars, such as the status and navigation bars.

In plain words
What is it for?
Use them when upgrading Material Components, reviewing Play Store warnings, or checking whether Android screens and controls are correctly positioned around system bars.
Why use it?
They prevent developers from repeating an investigation or making unnecessary app-code changes when the warnings come from a dependency instead.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use them when upgrading Material Components, reviewing Play Store warnings, or checking whether Android screens and controls are correctly positioned around system bars.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/baijum/ukulele-companion/edge_to_edge
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.

Clone the repo
git clone --depth 1 https://github.com/baijum/ukulele-companion

Made for: Cursor.

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/rules/baijum/ukulele-companion/edge_to_edge/github.svg)](https://agentmods.dev/rules/baijum/ukulele-companion/edge_to_edge)
Your own site
<a href="https://agentmods.dev/rules/baijum/ukulele-companion/edge_to_edge"><img src="https://agentmods.dev/badge/rules/baijum/ukulele-companion/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/rules/baijum/ukulele-companion/edge_to_edge"><img src="https://agentmods.dev/badge/rules/baijum/ukulele-companion/edge_to_edge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 1,300 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.00000 $0.01300
Opus 5 $0.00000 $0.00650
Sonnet 5 $0.00000 $0.00260
Haiku 4.5 $0.00000 $0.00130

Measured 6d ago against content hash 983cc3ef3d47, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 6d 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.

.cursor/rules/edge_to_edge.mdc · 84 lines

How it starts

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

Edge-to-Edge Play Store Warnings (Expected — No Action)

Google Play Console shows two "recommended actions" on every production release. They were first analyzed in March 2026 and re-analyzed in September 2026 against the shipped 9.13.0 release (versionCode 110). Both are expected and require no app change. Do not spend a session re-investigating them unless something in the "Re-check when" section below has changed.

Warning 1: "Edge-to-edge may not display for all users"

  • Status: Already handled by app code.
  • MainActivity.onCreate() calls enableEdgeToEdge() before setContent.
  • FretboardScreen and OnboardingScreen use Material 3 Scaffold with innerPadding, which accounts for system bar insets; the onboarding bottom bar applies navigationBarsPadding().
  • targetSdk is 36, and no theme or manifest uses windowOptOutEdgeToEdgeEnforcement, statusBarColor, navigationBarColor or windowLayoutInDisplayCutoutMode.
  • This banner is the generic companion to Warning 2 and fires together with it.

Warning 2: "Your app uses deprecated APIs or parameters for edge-to-edge"

  • Deprecated APIs flagged: setStatusBarColor, setNavigationBarColor, setDecorFitsSystemWindows, layoutInDisplayCutoutMode, and the status/navigation bar contrast-enforced setters.

  • Root cause (verified September 2026): every caller is inside AndroidX, none is app code. Verified by disassembling the release APK (dexdump from build-tools) and mapping the obfuscated class names through app/build/outputs/mapping/release/mapping.txt:

    Deprecated API Caller in the shipped APK
    Window.setStatusBarColor / setNavigationBarColor androidx.activity.EdgeToEdgeApi26, EdgeToEdgeApi29, EdgeToEdgeApi35
    Window.setDecorFitsSystemWindows R8-outlined API stub for androidx.core.view.WindowCompat
    WindowManager.LayoutParams.layoutInDisplayCutoutMode R8-outlined API stub for AndroidX Core
    setStatusBarContrastEnforced / setNavigationBarContrastEnforced R8-outlined API stub for AndroidX Compose UI

Read the full file on GitHub · 84 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. 6d ago Changed · +50 lines 983cc3ef3d47
  2. 10d ago First seen · 34 lines · 0 tokens per session scan A 14c77e6d653f

Subscribe to this mod's changes

edge_to_edge is a cursor rule published in the GitHub repository baijum/ukulele-companion (14 stars, last pushed 6d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,300 tokens. 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.