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 ArisGuimera/MobiAI-Core --skill glance-canonical-layoutsgit clone --depth 1 https://github.com/ArisGuimera/MobiAI-CoreWrote 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/arisguimera/mobiai-core/glance-canonical-layouts)<a href="https://agentmods.dev/skills/arisguimera/mobiai-core/glance-canonical-layouts"><img src="https://agentmods.dev/badge/skills/arisguimera/mobiai-core/glance-canonical-layouts/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/arisguimera/mobiai-core/glance-canonical-layouts"><img src="https://agentmods.dev/badge/skills/arisguimera/mobiai-core/glance-canonical-layouts.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.00056 | $0.05749 |
| Opus 5.5 | $0.00022 | $0.02300 |
| Sonnet 5.5 | $0.00011 | $0.01150 |
| Haiku 4.5 | $0.00006 | $0.00575 |
Grade A, and why
glance-canonical-layouts 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.
This is a copy
100% identical to glance-canonical-layouts — 0 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 — 246 lines — stays where its author put it; the contents beside it link to each section on GitHub.
To implement a widget Canonical Layout that follows the recommended design patterns:
- The project MUST use Jetpack Glance.
- You MUST locate the requested layout from the list under Canonical Layout Reference Files.
- Copy the layout reference files into your project's target app module (e.g.,
src/main/java/andsrc/main/res/) in one step to implement the exact design and reduce the number of tool calls. - You MUST set override val
sizeMode: SizeMode = SizeMode.Exactin the widget provider class. - Validate that your project compiles, updating sample package declarations, import paths, and class names to match the target app's package name.
- Clean your project's widget code, removing unused classes (for example, unused buttons).
- You MUST register the widget receiver in
AndroidManifest.xmlinside<application>after<activity>, ensuringandroid:resource="@xml/..."matches the filename of the copied Widget Info XML. Otherwise, the widget won't appear in the widget picker:
<receiver android:name=".glance.MyReceiver"
android:exported="true">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data
android:name="android.appwidget.provider"
android:resource="@xml/my_app_widget_info" />
</receiver>
Dependencies
Add Jetpack Glance dependencies to the app module's build.gradle.kts
(dependencies block):
androidx.glance:glance-appwidget:1.2.0or higherandroidx.glance:glance-material3:1.2.0or higherandroidx.glance:glance-appwidget-preview:1.2.0or higherandroidx.glance:glance-preview:1.2.0or higher
Use version 1.3.0-alpha02 or higher with compileSdk = 37 and Android Gradle
Plugin (AGP) 9.1.0 or higher (for example, agp = "9.1.0" in
gradle/libs.versions.toml) when implementing Snap Scrolling.
If copying sample data repositories that load bitmaps with Coil (such as
FakeImageGridDataRepository.kt, FakeImageTextListDataRepository.kt, or
FakeTextWithImageRepository.kt), also add an image loading library dependency
such as io.coil-kt:coil (e.g., implementation("io.coil-kt:coil:2.7.0")) if
one doesn't already exist.
What ships with it
60 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.
- references/ActionDemonstrationActivity.kt 1.6 KB
- references/CanonicalLayoutActivity.kt 14 KB
- references/collections/ActionListAppWidget.kt 3.3 KB
- references/collections/CheckListAppWidget.kt 3.5 KB
- references/collections/data/FakeActionListDataRepository.kt 4.5 KB
- references/collections/data/FakeCheckListDataRepository.kt 3.8 KB
- references/collections/data/FakeImageGridDataRepository.kt 8.2 KB
- references/collections/data/FakeImageTextListDataRepository.kt 7.2 KB
- references/collections/ImageGridAppWidget.kt 3.3 KB
- references/collections/ImageTextListAppWidget.kt 3.4 KB
- references/collections/layout/ActionListLayout.kt 20 KB
- references/collections/layout/CheckListLayout.kt 17 KB
- references/collections/layout/EmptyListContent.kt 900 B
- references/collections/layout/ImageGridLayout.kt 13 KB
- references/collections/layout/ImageTextListLayout.kt 17 KB
- references/collections/layout/ListItem.kt 3.1 KB
- references/collections/layout/NoDataContent.kt 2.7 KB
- references/collections/layout/RoundedScrollingLazyColumn.kt 2.8 KB
- references/collections/layout/RoundedScrollingLazyVerticalGrid.kt 4.3 KB
- references/collections/layout/VerticalListItem.kt 3.4 KB
- references/CollectionsKtx.kt 1.3 KB
- references/res/drawable/four_side_cookie_background.xml 1.4 KB
- references/res/drawable/sample_ac_icon.xml 1.4 KB
- references/res/drawable/sample_add_icon.xml 315 B
- references/res/drawable/sample_app_logo.xml 1.1 KB
- references/res/drawable/sample_arrow_right_icon.xml 365 B
- references/res/drawable/sample_bulb_icon.xml 651 B
- references/res/drawable/sample_camera_icon.xml 1.2 KB
- references/res/drawable/sample_checked_circle_icon.xml 402 B
- references/res/drawable/sample_circle_icon.xml 415 B
- references/res/drawable/sample_delete_icon.xml 389 B
- references/res/drawable/sample_door_icon.xml 810 B
- references/res/drawable/sample_edit_icon.xml 520 B
- references/res/drawable/sample_file_upload_icon.xml 1.0 KB
- references/res/drawable/sample_grid_icon.xml 968 B
- references/res/drawable/sample_heart_icon.xml 1.1 KB
- references/res/drawable/sample_home_icon.xml 517 B
- references/res/drawable/sample_image_icon.xml 846 B
- references/res/drawable/sample_info_icon.xml 449 B
- references/res/drawable/sample_mic_icon.xml 1.3 KB
- references/res/drawable/sample_no_data_icon.xml 546 B
- references/res/drawable/sample_pin_icon.xml 488 B
- references/res/drawable/sample_power_settings_icon.xml 499 B
- references/res/drawable/sample_refresh_icon.xml 490 B
- references/res/drawable/sample_scrim_gradient.xml 1.4 KB
- references/res/drawable/sample_search_icon.xml 1.2 KB
- references/res/drawable/sample_share_icon.xml 711 B
- references/res/drawable/sample_snooze_icon.xml 569 B
- references/res/drawable/sample_text_icon.xml 491 B
- references/res/drawable/sample_thermostat_icon.xml 937 B
- references/res/drawable/sample_videocam_icon.xml 1.0 KB
- references/res/values/dimens.xml 8.4 KB
- references/res/values/strings.xml 5.8 KB
- references/res/xml/sample_action_list_widget_info.xml 1.7 KB
- references/res/xml/sample_check_list_widget_info.xml 1.8 KB
- references/res/xml/sample_expressive_toolbar_widget_info.xml 1.6 KB
- references/res/xml/sample_full_bleed_image_widget_info.xml 1.4 KB
- references/res/xml/sample_image_grid_widget_info.xml 1.7 KB
- references/res/xml/sample_image_text_list_widget_info.xml 1.8 KB
- references/res/xml/sample_long_text_widget_info.xml 1.5 KB
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.
- yesterday First seen · 246 lines · 56 tokens per session scan A 06d5326f8878
glance-canonical-layouts is a skill published in the GitHub repository ArisGuimera/MobiAI-Core (489 stars, last pushed yesterday), licensed MIT. It adds 56 tokens to every session and 5,749 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to glance-canonical-layouts, differing in 0 lines, and is treated as a copy.
Other skills, from other repositories
glance-canonical-layouts
Use this skill to create home screen widgets using Jetpack Glance Canonical Layouts from the Android Platform Samples project, or when asked to implement standard widget layout patterns (including Check List, Image Grid, Snap Scrolling, and Standard Toolbar).
display-glasses-with-jetpack-compose-glimmer
Provides guidelines for developing projected Android XR apps for display glasses using the Jetpack Compose Glimmer UI toolkit. Covers Glimmer design principles, workflows, and interaction models for the glasses form factor. Use this skill to build an Android XR Augmented Experience app with Jetpack Compose Glimmer.…
expo-design-system
Build and maintain a design system inside an Expo app - a reusable theme of design tokens (color, spacing, typography, radius, shadow, motion), reusable component structure with variant/size/state prop conventions, and rules for when to extract a repeated view into a shared component. Use when creating or organizing…
flutter-build-responsive-layout
Use LayoutBuilder, MediaQuery, or Expanded/Flexible to create a layout that adapts to different screen sizes. Use when you need the UI to look good on both mobile and tablet/desktop form factors.
axiom-audit-liquid-glass
Use when the user mentions Liquid Glass review, iOS 26 UI updates, toolbar improvements, or visual effect migration.
omh-apple-design
This is an OMH apple-design workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).