Borrowing it
Nothing to install: this file belongs to omarshahine/HomeClaw. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/omarshahine/HomeClaw/main/.claude/skills/app-resizability/SKILL.mdgit clone --depth 1 https://github.com/omarshahine/HomeClawWrote 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.
[](https://agentmods.dev/skills/omarshahine/homeclaw/app-resizability)<a href="https://agentmods.dev/skills/omarshahine/homeclaw/app-resizability"><img src="https://agentmods.dev/badge/skills/omarshahine/homeclaw/app-resizability/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.
<a href="https://agentmods.dev/skills/omarshahine/homeclaw/app-resizability"><img src="https://agentmods.dev/badge/skills/omarshahine/homeclaw/app-resizability.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.04054 |
| Opus 5.5 | $0.00000 | $0.01622 |
| Sonnet 5.5 | $0.00000 | $0.00811 |
| Haiku 4.5 | $0.00000 | $0.00405 |
Grade A, and why
app-resizability 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 2mo 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.
Copies of this mod
2 near-identical copies found in the catalogue:
- app-resizability — 100% identical, 4 lines differ
- app-resizability — 100% identical, 4 lines differ
How it starts
The opening of the file, as written. The whole thing — 160 lines — stays where its author put it; the contents beside it link to each section on GitHub.
App Resizability Skill
When to Use
Use this skill whenever the request is about any of the following, whether or not it names an API:
- Getting an app ready for, or optimizing it for, the foldable iPhone Duo.
- An app that must adapt when its window changes size while it runs.
- Split-screen multitasking, Stage Manager, or a resizable scene.
- Any deprecated API named in the Scope section below.
The request does not have to be technical. "Get my app ready for the iPhone Duo", "optimize this app for the foldable iPhone", and "make this app resize properly" all activate this skill. iPhone Duo is the foldable iPhone, so treat questions about iPhone Duo or the foldable iPhone as the same request. Treat a request about the foldable iPhone Duo as a request for every task in the Task Registry, because a screen that changes size exposes all of them at once.
Purpose
Modernize UIKit apps to behave correctly on modern iOS by:
- Eliminating references to legacy shared-state APIs
- Migrating from application lifecycle to scene lifecycle
- Supporting dynamic scene sizing and multi-window environments
Scope
This skill performs specific, targeted modernizations in both Swift and Objective-C codebases:
- Replace legacy shared-state APIs with context-appropriate modern APIs
- Migrate to scene-based lifecycle
- Update apps to support a resizable user interface by removing usage of:
- main screen (
UIScreen.mainScreen,UIScreen.main) - interface orientation (
interfaceOrientation) - user interface idiom (
userInterfaceIdiom,UI_USER_INTERFACE_IDIOM()) - assumptions of symmetric safe areas (
safeAreaLayoutGuide,safeAreaInsets) - application lifecycle in place of scene lifecycle (
UIApplicationDelegate)
- main screen (
Core Principles
- Closest to consumer — Prefer information nearest the point of use (e.g., view's trait collection over window's).
- Always apply a replacement when the target API is present. A TODO alone is a failure. An empty diff for a file containing the target API is also a failure. If the file contains the target deprecated API and a concrete replacement is feasible under any pattern in the active task's reference file, apply it. Only skip when the target API appears exclusively inside dead code (
#if 0/#endif). When uncertain between two valid replacements, pick the one that best fits the user's request rather than producing an empty diff. Never silently skip a file: if you are unwilling to apply a change, talk to the user about possible options — never produce no output for it. Do not get stuck weighing edge cases on simple files; when the substitution is obvious, apply it and move on. - TODOs must be actionable. State why the change is needed, what the replacement would look like, and any lifecycle or threading concerns. Place the TODO on its own line above the unchanged code, never inline. A vague TODO ("fix this later") is worse than none, because it consumes review attention and informs nobody.
What ships with it
5 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.
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.
- 2mo ago First seen · 160 lines · 0 tokens per session scan A 776741d66162
app-resizability is a skill published in the GitHub repository omarshahine/HomeClaw (202 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 4,054 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-09-22.
app-resizability compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| app-resizabilityomarshahine/HomeClaw | Skill | 202 | today | MIT | A | 0 | Claude Code |
| swift-expertpersonamanagmentlayer/pcl | Skill | 46 | 1mo ago | Apache-2.0 | A | 76 | Claude Code |
| swift-focusengine-promhaviv/Swift-FocusEngine-Agent-Skill | Skill | 22 | 3mo ago | MIT | A | 74 | Claude Code, Codex |
| swift-coding-standardswilliamzujkowski/standards | Skill | 22 | 3mo ago | MIT | A | 23 | Claude Code, Codex |
| swiftmiles990/claude-software-skills | Skill | 26 | 10mo ago | MIT | A | 11 | Claude Code, Codex |
| swift_expertApexIQ/skillsmith | Skill | 5 | 8mo ago | MIT | A | 20 | Claude Code, Codex |
| moai-lang-swiftmosif16/codex-Skills | Skill | 18 | 1y ago | none | A | 51 | Claude Code |