Token导航 LogoToken导航

Agent Skill · 研究检索

display-ai-glasses-with-jetpack-compose-glimmer(显示带有喷气背包的 AI 眼镜组成微光)

display-ai-glasses-with-jetpack-compose-glimmer 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

display-ai-glasses-with-jetpack-compose-glimmer 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,674 个 Skill 里排第 55,679。

总安装 470周安装 19GitHub Stars 4,507下载 147核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:display-ai-glasses-with-jetpack-compose-glimmer(显示带有喷气背包的 AI 眼镜组成微光)
来源仓库:https://github.com/android/skills
仓库路径:skills/display-ai-glasses-with-jetpack-compose-glimmer
安装命令:
npx skills add https://github.com/android/skills --skill display-ai-glasses-with-jetpack-compose-glimmer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/android/skills --skill display-ai-glasses-with-jetpack-compose-glimmer

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

display-ai-glasses-with-jetpack-compose-glimmer 提供面向 Android XR 设备的透明显示界面开发套件。基于 Jetpack Compose 构建,优化全天佩戴舒适度与视觉融合体验。包含投影 Activity 生命周期管理与音频-视觉同步控制组件。

适用于 AR 导航、实时翻译等需要虚实结合呈现的应用形态开发。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/display-ai-glasses-with-jetpack-compose-glimmer

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/android/skills --skill display-ai-glasses-with…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

display-ai-glasses-with-jetpack-compose-glimmer 怎么安装?

在终端执行 npx skills add https://github.com/android/skills --skill display-ai-glasses-with-jetpack-c…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

display-ai-glasses-with-jetpack-compose-glimmer 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

display-ai-glasses-with-jetpack-compose-glimmer 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

display-ai-glasses-with-jetpack-compose-glimmer 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

display-ai-glasses-with-jetpack-compose-glimmer 用的人多吗?

公开数据是累计安装 470 次,近一周安装 19 次,下载 147 次,GitHub 4,507 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

display-ai-glasses-with-jetpack-compose-glimmer 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 来源仓库有 4,507 星,维护活跃度相对可查。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
display-ai-glasses-with-jetpack-compose-glimmer

显示带有喷气背包的 AI 眼镜组成微光 · 本页

4704,507需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Glossary

TermDefinition
AI GlassesAll-day wear, hands-free devices that provide access to information. Some have a display and some are audio-only. Equipped with speakers, a camera, and a microphone.
Display AI GlassesAI Glasses with the addition of a small, private display for glanceable visuals that harmonize with audio output.
Jetpack Compose GlimmerA Compose UI toolkit for building augmented Android XR experiences, optimized for Display AI Glasses. It provides components, theming, and behaviors for transparent displays.
Projected ActivityAn Android Activity that runs on a host device (phone) but its UI and interactions are projected to a connected AI glasses device.
Projected DeviceAn XR device connected to an Android-powered device (host). Host projects the application content to the Projected device and let users interact with it.
GlimmerThemeThe root provider for styling tokens, including GlimmerColors, GlimmerTypography, and GlimmerShapes.
Additive DisplayA display technology where black (#000000) is rendered as 100% transparent. UI is built by adding light to the environment. Display AI Glasses have an additive display.
Augmented ExperiencesAndroid XR experiences that enhance a user's focus and presence in the real world. They are lightweight and additive, helping users while they are on-the-go
Visual AngleA unit of measurement for perceived size in XR. The minimum readable text size is 0.6 degrees (approx. 18sp at 1 m).

Prerequisites

  • Mobile project should target minSDK 37 or higher. If the target SDK is lower than 37, increase the SDK to 37. AI Glasses should target API 36 or higher.

Core Constraints

  • Don't: Use MaterialTheme or Material Components.
  • Do: Use GlimmerTheme and Jetpack Compose Glimmer Components.

Limitations

  • Specific hardware device models or their unique capabilities are not detailed.
  • Elevation: Standard Material 3 shadow or elevation modifiers are not supported. You must use ShadowScope or Depth tokens from Jetpack Compose Glimmer.
  • Minimum Size: The absolute minimum size for readable text is 18sp (0.6°). Anything smaller will fail legibility checks.
  • Text Weight: Avoid "Thin" or "Hairline" weights; they cause shimmering and aliasing on additive AR lenses.

1. Set up dependencies

  • Setup Projected Activity: First you need to create a new projected activity for your AI glasses app. If the project doesn't already have one, see Create your first activity for AI glasses. Use references/projectedcontext-source.md to launch the Glasses Projected activity on the Projected Device.
  • Mobile App Integration: If the project contains an existing mobile app, you must create a new Glasses Activity dedicated to rendering Glimmer UI. For detailed configuration, heavily reference Create your first activity for AI glasses. If there isn't already a method to launch the Glasses Activity, add a button to the existing mobile app UI labeled "Launch on Glasses" that uses ProjectedContext to launch the Glasses Activity on the glasses. Always keep this button in a highly visible location, such as an overlay Floating Action Button (FAB) or the top navigation bar, to ensure users discover the projection capability. If the glasses aren't connected, disable the button. Don't launch the Glasses Activity on the phone, only on the AI Glasses. If it makes sense to automatically launch the Glasses Activity without an explicit launch button, then do so.
  • UI Library: Identify if the project has the androidx.xr.glimmer:glimmer library, if not it must be added to the project. See Declaring Jetpack Compose Glimmer Dependencies to fetch the latest dependency version.
  • Theming: All Glimmer components must be wrapped within the GlimmerTheme composable to ensure correct token resolution.
  • Mandatory black background: AI Glasses use additive displays. Any non-black color in the background blocks the real world. You must always set a pure black background (Modifier.background(Color.Black)) on the root container of your Projected Activity.
  • Font: The default font is Google Sans Flex. Use androidx.xr.glimmer.googlefonts library with the default type styles unless otherwise specified. Use createGoogleSansFlexTypography to create a Typography instance with the Google Sans Flex configuration. Provide this Typography instance as normal through GlimmerTheme. Use references/glimmersansflextypography-source.md for configuration.
  • Hardware Capabilities: Different types of AI glasses have different capabilities. To check for these at runtime, see the Check device capabilities at runtime for AI glasses.
  • Hardware Permissions: To request hardware permissions like the microphone and camera, see the Request hardware permissions for AI glasses.
  • Hardware Access: To use the glasses camera, sensors, or access the phone's hardware, see the Use a projected context to access AI glasses hardware.

2. Minimize and translate the UI

  • For Display AI Glasses, build UI using components from the Jetpack Compose Glimmer framework.
  • Use depth to communicate element priority and hierarchy.
  • Design from the bottom up, trying to minimize how much of the real world you cover. Always bottom align UI to the glasses display.
  • One Thing at a Time: Prioritize the user's awareness of the real world. Show only one primary piece of information at a time (for example, using a Stack) to minimize obstruction of the user's field of view. Avoid multiple simultaneous cards.
  • Color Contrast: Ensure at least a 70% tone difference between foreground and background using the HCT color space. For calculation metrics, use references/material-hct-source.md.

3. Map input controls

  • Map app interactions, such as tap and swipe, to the available hardware controls on the glasses, such as the touchpad.
  • Inputs are more 1-dimensional; users typically make one control input at a time.
  • Avoid nesting scrolling controls.
  • Jetpack Compose Glimmer components are designed to work with standard input methods, such as a tap or swipe on the AI glasses' touchpad.
  • Use System Back to dismiss temporary states or detailed views.
  • To add input, focus, tap, swipe to your Glasses UI, follow Focus in Jetpack Compose Glimmer.

- For a detailed breakdown of hardware inputs, see Hardware Controls for Display AI Glasses

4. Build with Jetpack Compose Glimmer

Jetpack Compose Glimmer is the UI toolkit for building augmented experiences on Display AI Glasses.

Key Features

  • Glimmer Theming: A simplified glasses-specific theme for optimal visibility.
  • Pre-compatible Input: Supports tap and swipe by default.
  • Pre-built Components: Provides optimized composables like Card, ListItem, Button, etc.

Focus Management in Glimmer

  • Jetpack Compose Glimmer uses a one-dimensional focus search.
  • Focus movement is continuous for scrollable containers and discrete for elements like a row of buttons.
  • To enable the system to automatically set initial focus, you must set the isInitialFocusOnFocusableAvailable flag to true in your activity's onCreate method. For more information on how to implement, see Focus in Jetpack Compose Glimmer.

Implementing Glimmer Styles

Glimmer styles are accessed through the GlimmerTheme object. Use references/glimmertheme-source.md for reference.

CategoryTokenValue / Role
Colorprimary#9BBFFF (Focal color)
Colorsecondary#4C88E9 (Focal color)
Colorsurface#262626 (Transparent base - renders as transparent)
Coloroutline#606460 (3.dp border color)
ShapeStandardRoundedCornerShape(36.dp)
ShapeSmallRoundedCornerShape(12.dp)
Typography Scale (Google Sans Flex)

Strict default: When creating Glimmer UI you must use Google Sans Flex unless a custom brand typeface is explicitly specified. Variable Font Settings: As Google Sans Flex is a variable font, you must configure the following axes:

  • Roundness (ROND): Always set to 100f for the signature rounded appearance.
  • Width (wdth): Set to 100f.
  • Optical Size (opsz): Set to 9f.
  • Weight (wght): Use specific values for different roles (Title: 725f, Body: 520f, Caption: 650f).
Style NameSize / Line-HeightWeight AxisWidthRoundnessOptical size
Title Large30.sp / 36.sp7251001009
Title Medium24.sp / 32.sp7251001009
Title Small20.sp / 28.sp7251001009
Body Large30.sp / 36.sp5201001009
Body Medium24.sp / 32.sp5201001009
Body Small20.sp / 28.sp5201001009
Caption18.sp / 28.sp6501001009
Depth Levels

Simulate depth on AI glasses using shadows to establish a sense of hierarchy through varying levels of emphasis. The Jetpack Compose Glimmer controls use DepthEffect with 5 preset DepthEffectLevels. Use references/deptheffect-source.md and references/deptheffectlevels-source.md for reference.

Some examples:

LevelUsage
level1Standard rest state for cards and persistent background UI.
level2Standard focus/pressed state for buttons and interactive cards.
ExtraSmall4.dp

Implementing Jetpack Compose Glimmer Components

Cards

Cards are a fundamental surface-based container in Glimmer used to group related content, such as text, images, icons and actions into a single focal point. They establish a clear depth plane (Z-axis) in the Glasses environment, providing a stable background for text, images, and icons. Never embed a card within a List Item.

Core Implementation Logic
  • Surface Hierarchy: Cards are designed to sit on a base surface or within a list. They provide an automatic visual feedback when focused if an onClick lambda is provided.
  • Interactivity:

- IF the entire Card serves as a single trigger (e.g., a media item or a setting): THEN provide an onClick lambda to enable focus effects. - ELSE: Leave onClick as null if the Card contains multiple internal interactive elements (like separate buttons or switches) to avoid focus contention.

Technical Documentation Links

If you are creating a Glimmer Card component, read the:

Buttons

Buttons are the primary triggers for discrete actions in Glimmer. They are specifically optimized for the AI Glasses focus model, where a focus highlight is added when focus is moved to the button using the touchpad or other methods.

Core Implementation Logic
  • There are two types of buttons to choose from in Glimmer:

- Standard buttons (Required text label with optional leading or trailing icons). Use this when there is more space in the UI, or when the meaning of the button isn't clear without text. - Icon buttons (icon only). Only use icon buttons when the icon is clearly understandable.

  • Both icon and standard buttons have default and toggle variants:

- Default (use for single actions like "buy" or "navigate") - Toggle (use for things with selected states like mute buttons)

Technical Documentation Links

If you are creating a Glimmer Button component, read the:

Title Chips

Chips are a pill-shaped, specialized labeling component designed to sit above a Card or a group of content to provide a title. Use title chips to display concise information like a short title, a name, or a status.

Guidelines and usage
  • Spatial Spacing: When using a standalone TitleChip above content, you must use TitleChipDefaults.AssociatedContentSpacing (8.dp) to maintain the visual hierarchy.
  • Interactivity: Title chips are purely for informational purposes, they cannot be targeted or activated for navigation.
  • Layout Always center text in a title chip. Never let the title chip go to two lines, and truncate extra words. Keep the label to three words or less.
Technical Documentation Links

If you are creating a Glimmer Title Chip component, read the:

Icons

Icons are visual symbols used to represent concepts, actions, or status in a concise way. In Glimmer, icons and icon buttons are optimized for the XR environment, providing clear visibility on additive displays and gaze-responsive feedback for interactive elements.

Guidelines and usage
  • Sizing: Use predefined IconSizes (e.g., Standard, Large) to ensure icons remain legible and meet the minimum touch target requirements for the XR environment.
  • Interactivity:

- If an icon serves as a trigger: Then you must use an IconButton to provide the automatic visual feedback and required tap-target padding. - ELSE: Use a standalone Icon for non-interactive indicators or status symbols.

  • Contrast: NEVER use pure black (#000000) for icon tints; always use themed colors or standard Glimmer content colors to ensure the icon is visible against dark or real-world backgrounds.
  • Icon Library The default icon library is Material Symbols with 600 weight, Rounded, Unfilled, unless otherwise specified.
Technical Documentation Links

If you are creating a Glimmer Icon component, read the:

Lists

Lists are containers that allow you to navigate between and see multiple items on glasses. If your use case works with only seeing one item in the list at a time, use a Glimmer Stack. Use lists with a Title Chip when the list items are similar in type. Also use a Glimmer Stack if the items are of different types.

Guidelines and usage
  • ListItem Slots: Use the ListItem composable for rows. It provides predefined slots. Use references/listitem-source.md for reference.
  • Visual Consistency: When building lists of similar items, always use a consistent background color (typically GlimmerTheme.colors.surface) and corner radius (standard 36.dp) for every item. Don't vary these unless you are visually grouping different *types* of content.
  • Integrated Title Chips: Glimmer Lists support integrated title chips. IF you need a section header within a list: THEN enable the integrated title chip rather than adding a standalone TitleChip to maintain spatial consistency.
  • Vertical Arrangement: ALWAYS use verticalArrangement = Arrangement.spacedBy(20.dp) for VerticalList to ensure visual separation between items on the glasses display.
  • Be sure to use the default 20 dp spacing between list items unless otherwise specified.
Technical Documentation Links

If you are creating a Glimmer List component, read the:

Stacks

A stack is a collapsed list that only displays one piece of content at a time, in a stacked visual, such as a card. If it is useful to show more than one item at a time, use the Glimmer List control. Don't use a title chip with a stack. If the items are of different types use a stack to show them. If the items are of the same type, use a list.

Guidelines and usage

Layout tips

  • Stacks accept variable height items.
  • Align your stack control with the bottom of the display.
  • The stack control must be 66 dp taller than the tallest item in the stack, allowing room for the scrim and minimizing movement when navigating between items.
  • Clipping and Layering: To ensure that items behind the top item are correctly clipped and hidden, you must apply the .itemDecoration(CardDefaults.shape) modifier to the Card (or relevant container) inside every item block.
  • Depth Shadows: To maintain spatial separation and element priority, utilize Glimmer's ShadowScope, DepthEffect, or prescribed DepthEffectLevels for depth plane scaling.
Technical Documentation Links

If you are creating a Glimmer Stack component, read the:

Text

In Jetpack Compose Glimmer, the Text component builds off the Compose text component, and lets you set various text properties. Be sure to choose a style from the GlimmerTheme for your text. Modify the theme for your application if you want custom typography.

Surface

Surface is a fundamental building block in Glimmer. Use references/surface-source.md for reference.

A surface represents a distinct visual area or 'physical' boundary for components such as buttons and cards. Use it if you need to build a custom component.

5. Integrate with system UI

平台分布

Codex

37.45%
按下载量换算55

Claude

30.08%
按下载量换算44

Cursor

19.32%
按下载量换算28

Gemini CLI

10.53%
按下载量换算15

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills