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.
npx skills add sutchan/Agent-Skills-Hub --skill flutter-build-responsive-layoutgit clone --depth 1 https://github.com/sutchan/Agent-Skills-HubWrote 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/sutchan/agent-skills-hub/flutter-build-responsive-layout)<a href="https://agentmods.dev/skills/sutchan/agent-skills-hub/flutter-build-responsive-layout"><img src="https://agentmods.dev/badge/skills/sutchan/agent-skills-hub/flutter-build-responsive-layout/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/sutchan/agent-skills-hub/flutter-build-responsive-layout"><img src="https://agentmods.dev/badge/skills/sutchan/agent-skills-hub/flutter-build-responsive-layout.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.00025 | $0.01506 |
| Opus 5.5 | $0.00010 | $0.00602 |
| Sonnet 5.5 | $0.00005 | $0.00301 |
| Haiku 4.5 | $0.00003 | $0.00151 |
Grade A, and why
flutter-build-responsive-layout 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 1mo 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.
This is a copy
97% identical to flutter-build-responsive-layout — 11 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 143 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Implementing Adaptive Layouts
Contents
- Space Measurement Guidelines
- Widget Sizing and Constraints
- Device and Orientation Behaviors
- Workflow: Constructing an Adaptive Layout
- Workflow: Optimizing for Large Screens
- Examples
Space Measurement Guidelines
Determine the available space accurately to ensure layouts adapt to the app window, not just the physical device.
- Use
MediaQuery.sizeOf(context)to get the size of the entire app window. - Use
LayoutBuilderto make layout decisions based on the parent widget's allocated space. Evaluateconstraints.maxWidthto determine the appropriate widget tree to return. - Do not use
MediaQuery.orientationOforOrientationBuildernear the top of the widget tree to switch layouts. Device orientation does not accurately reflect the available app window space. - Do not check for hardware types (e.g., "phone" vs. "tablet"). Flutter apps run in resizable windows, multi-window modes, and picture-in-picture. Base all layout decisions strictly on available window space.
Widget Sizing and Constraints
Understand and apply Flutter's core layout rule: Constraints go down. Sizes go up. Parent sets position.
- Distribute Space: Use
ExpandedandFlexiblewithinRow,Column, orFlexwidgets.- Use
Expandedto force a child to fill all remaining available space (equivalent toFlexiblewithfit: FlexFit.tightand aflexfactor of 1.0). - Use
Flexibleto allow a child to size itself up to a specific limit while still expanding/contracting. Use theflexfactor to define the ratio of space consumption among siblings.
- Use
- Constrain Width: Prevent widgets from consuming all horizontal space on large screens. Wrap widgets like
GridVieworListViewin aConstrainedBoxorContainerand define amaxWidthin theBoxConstraints. - Lazy Rendering: Always use
ListView.builderorGridView.builderwhen rendering lists with an unknown or large number of items.
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.
- 1mo ago Changed · +1 lines 5f4fb710058c
- 1mo ago Changed · +2 lines · -26 tokens per session f9ae6e91ff17
- 2mo ago Changed · -4 lines · +26 tokens per session c7a5d18071c6
- 2mo ago First seen · 144 lines · 25 tokens per session scan A f67db233cbcc
flutter-build-responsive-layout is a skill published in the GitHub repository sutchan/Agent-Skills-Hub (3 stars, last pushed 6d ago), licensed MIT. It adds 25 tokens to every session and 1,506 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 97% identical to flutter-build-responsive-layout, differing in 11 lines, and is treated as a copy.
flutter-build-responsive-layout compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| flutter-build-responsive-layoutsutchan/Agent-Skills-Hub | Skill | 3 | 6d ago | MIT | A | 25 | Claude Code, Codex |
| animated-sketch-diagramiflytek/iFly-Skills | Skill | 217 | 5d ago | Apache-2.0 | A | 182 | Claude Code, Codex |
| safe-area-handlingCap-go/capgo-skills | Skill | 79 | 19d ago | MIT | A | 248 | Claude Code |
| capacitor-ios-resizabilityCap-go/capgo-skills | Skill | 79 | 19d ago | MIT | A | 235 | Claude Code |
| tailwind-capacitorCap-go/capgo-skills | Skill | 79 | 19d ago | MIT | A | 248 | Claude Code |
| compose-multiplatform-patternsshennawardana23/skillme | Skill | 4 | 1mo ago | Apache-2.0 | A | 95 | Claude Code |
| frontend-ui-engineeringshennawardana23/skillme | Skill | 4 | 1mo ago | Apache-2.0 | A | 86 | Claude Code |