check-platform

check-platform is a command for Claude Code from obiwancenobi/klamben. It costs 29 tokens per session (451 once invoked), scanned A, original, Apache-2.0.

A Flutter mobile audit command that checks whether an app adapts appropriately to iOS and Android conventions.

In plain words
What is it for?
Use it before a cross-platform release or after adding a screen to check adaptive widgets, platform-specific navigation, dialog behavior, scroll physics, fonts, and status-bar icons.
Why use it?
It finds places where one platform's controls, navigation, scrolling, typography, dialogs, or system-bar settings may feel wrong on the other.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit Use it before a cross-platform release or after adding a screen to check adaptive widgets, platform-specific navigation, dialog behavior, scroll physics, fonts, and status-bar icons.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/obiwancenobi/klamben/check-platform
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/obiwancenobi/klamben

Made for: Claude Code.

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 check-platform

README.md
[![agentmods](https://agentmods.dev/badge/commands/obiwancenobi/klamben/check-platform/github.svg)](https://agentmods.dev/commands/obiwancenobi/klamben/check-platform)
Your own site
<a href="https://agentmods.dev/commands/obiwancenobi/klamben/check-platform"><img src="https://agentmods.dev/badge/commands/obiwancenobi/klamben/check-platform/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 check-platform

Your own site · 80×15
<a href="https://agentmods.dev/commands/obiwancenobi/klamben/check-platform"><img src="https://agentmods.dev/badge/commands/obiwancenobi/klamben/check-platform.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 451 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.00029 $0.00451
Opus 5.5 $0.00012 $0.00180
Sonnet 5.5 $0.00006 $0.00090
Haiku 4.5 $0.00003 $0.00045

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

Security

Grade A, and why

check-platform 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 3mo 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.

src/commands/check-platform.md · 56 lines

What it actually says

/check-platform

Audit platform adaptation. Mobile apps must feel native on both iOS and Android — this command finds the gaps.

When to use

  • Before a cross-platform release
  • After adding a new screen
  • User asks "does this work on iOS" / "is this Cupertino-ready"

Checks

  1. Check design context: If .klamben.md exists in the project root, read it first. Apply the project's brand, platform targets, accessibility tier, and existing patterns to your work below.
  2. Platform-specific code paths — Platform.isIOS branches using Material widgets (and vice versa)
  3. Missing .adaptive constructors — Switch not Switch.adaptive, Slider not .adaptive
  4. Navigation patterns — MaterialPageRoute on iOS without CupertinoPageRoute fallback
  5. Dialog style — AlertDialog not showAdaptiveDialog
  6. Scroll physics — missing BouncingScrollPhysics on iOS paths
  7. Typography — Roboto on iOS (San Francisco expected)
  8. Status bar — dark icons on light bg without SystemUiOverlayStyle applied

Output format

Platform check for lib/screens/profile.dart

ISSUES
  14:8  Switch used — consider Switch.adaptive
        → Use Switch.adaptive(value: ..., onChanged: ...)

  28:3  AlertDialog used — consider showAdaptiveDialog
        → showAdaptiveDialog(context: ..., builder: ...)

  42:11 BottomNavigationBar on iOS path without CupertinoTabBar
        → Use PlatformTabScaffold or branch on Platform.isIOS

OK
- No Material widgets under Platform.isIOS branches
- Navigator pushes use adaptive route
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. 3mo ago First seen · 56 lines · 29 tokens per session scan A c29c9e79c9eb

Subscribe to this mod's changes

check-platform is a command published in the GitHub repository obiwancenobi/klamben (2 stars, last pushed 7mo ago), licensed Apache-2.0. It adds 29 tokens to every session and 451 once invoked, about $0.0001 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-08-31.

Related

check-platform compared with commands from other repositories

check-platform next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
check-platformobiwancenobi/klambenCommand27mo agoApache-2.0A29Claude Code
speckit.zuraffa.entityarrrrny/zuraffaCommand5yesterdayMITA15Claude Code
speckit.zuraffa.generate-commandsarrrrny/zuraffaCommand5yesterdayMITA20Claude Code
auditofershap/flutter-best-practicesCommand19mo agoMITA12Claude Code
checklistgithub/spec-kitCommand153ktodayMITA13Claude Code
clarifygithub/spec-kitCommand153ktodayMITA27Claude Code
specifygithub/spec-kitCommand153ktodayMITA13Claude Code