Token导航 LogoToken导航

Agent Skill · 开发

expo-horizon(世博地平线)

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

expo-horizon 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描有未通过项,按安装量在开发类的 21,746 个 Skill 里排第 11,463。

总安装 1,755周安装 71GitHub Stars 151下载 551核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:expo-horizon(世博地平线)
来源仓库:https://github.com/software-mansion-labs/skills
仓库路径:skills/expo-horizon
安装命令:
npx skills add https://github.com/software-mansion-labs/skills --skill expo-horizon
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/software-mansion-labs/skills --skill expo-horizon

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

指导 Meta Quest 头显设备对 Expo 应用的兼容性适配改造。利用 expo-horizon 工具链添加 VR 支持而不破坏原有代码结构。覆盖从空白项目到已有工程的全场景迁移路径决策树说明。要求开发者查阅官方文档获取最新安装步骤与特性矩阵详情。

适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/expo-horizon

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

expo-horizon 怎么安装?

在终端执行 npx skills add https://github.com/software-mansion-labs/skills --skill expo-horizon。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

expo-horizon 支持哪些 AI 工具?

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

expo-horizon 需要什么权限?

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

expo-horizon 是免费的吗?

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

expo-horizon 用的人多吗?

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

expo-horizon 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

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

不太适合

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

开发类 Skill 对比

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

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
expo-horizon

世博地平线 · 本页

1,755151需要联网未明确未通过

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

SKILL.md 原文

Expo Horizon: Migrating Expo SDK to Meta Quest

Software Mansion's production guide for adding Meta Quest support to Expo apps using the expo-horizon packages.

This skill does not bundle a copy of the docs. For any task below, always webfetch the linked official README or Meta documentation page to get up-to-date installation steps, plugin options, API surface, and feature matrices. This skill only captures the decision tree, critical rules, and non-obvious gotchas that agents routinely miss.

Decision Tree

What do you need to do?
│
├── Starting from scratch or adding Quest support to an existing Expo app?
│   └── Follow the "Setup Workflow" below (do NOT auto-install location or
│       notifications packages) and webfetch: expo-horizon-core README
│       ├── Install expo-horizon-core
│       ├── Configure the config plugin (horizonAppId, panel size, supportedDevices)
│       ├── Add quest/mobile build scripts
│       ├── Add runtime device detection (isHorizonDevice, isHorizonBuild)
│       └── Detect expo-location / expo-notifications, then ASK before migrating
│
├── Need location services on Quest?
│   └── Webfetch: expo-horizon-location README
│       ├── Replace expo-location with expo-horizon-location
│       ├── Review the feature support matrix
│       └── Guard unsupported calls (heading, geocoding, geofencing, background)
│
├── Need push notifications on Quest?
│   └── Webfetch: expo-horizon-notifications README
│       ├── Replace expo-notifications with expo-horizon-notifications
│       ├── Configure horizonAppId in expo-horizon-core
│       ├── Use getDevicePushTokenAsync (Expo Push Service is not supported)
│       └── Skip badge counts (not supported on Quest)
│
└── Need to build, run, or publish for Quest?
    └── Webfetch: expo-horizon-core README (build variants) + Meta docs below
        ├── Build variants: questDebug, questRelease, mobileDebug, mobileRelease
        ├── Meta Quest Developer Hub (device management, sideloading)
        └── Meta Horizon Store manifest requirements

Setup Workflow (adding Quest support to an existing Expo app)

Follow these steps in order when the user asks to add Meta Quest support. Do not combine steps 2 and 3 into a single install command — the sibling packages require explicit user confirmation.

  1. Install and configure expo-horizon-core.

- Run npx expo install expo-horizon-core. - Ask the user for the config plugin values before writing them. Present all options in a single prompt so the user can paste custom values or accept defaults in one pass. Show each option on its own line with its default in brackets, e.g.: I'll add the expo-horizon-core config plugin to app.json. Please confirm or override each value (press Enter / reply "default" to accept the bracketed default): supportedDevices [quest2|quest3|quest3s] — pipe-separated Quest devices your app supports (required for Meta Horizon Store submission). horizonAppId [empty] — Meta Horizon application ID. Leave empty unless you plan to use push notifications; required by expo-horizon-notifications to issue device push tokens. defaultWidth [1024dp] — Default panel width. Leave blank to omit. defaultHeight [640dp] — Default panel height. Leave blank to omit. If you set width/height, make sure your Expo orientation matches (use "landscape" for wide panels). disableVrHeadtracking [false] — Set true to omit the android.hardware.vr.headtracking manifest entry. allowBackup [false] — Meta recommends false for sensitive data; set true only if you need Android backup in the Quest build. - Only write the plugin config after the user replies. Omit any option the user left blank so the package's own default applies (don't write empty strings for horizonAppId, defaultWidth, or defaultHeight). - Add quest / mobile build scripts to package.json. - Run npx expo prebuild --clean. - Webfetch the expo-horizon-core README for current option names and defaults before asking — the defaults above can change between releases.

  1. Detect existing location / notification packages. Do NOT install the horizon equivalents yet.

- Read the project's package.json. - Check dependencies and devDependencies for expo-location and expo-notifications. - If neither is present, skip the rest of this workflow — the user has no migration to do.

  1. For each detected package, ask the user before migrating.

- If expo-location is found, ask: "I found expo-location in your project. Do you want me to replace it with expo-horizon-location so location works on Meta Quest? (Quest has no GPS, heading, geocoding, or geofencing — unsupported calls will need to be guarded with ExpoHorizon.isHorizonDevice.)" - If expo-notifications is found, ask: "I found expo-notifications in your project. Do you want me to replace it with expo-horizon-notifications so push notifications work on Meta Quest? This requires a horizonAppId in the core config plugin, uses Meta's push service (not the Expo Push Service), and does not support badge counts or getExpoPushTokenAsync." - Present the questions together if both packages are present. - Wait for an explicit answer before running any install or edit for these packages.

  1. Only after the user confirms, perform the migration for the approved package(s):

- Install the horizon equivalent (npx expo install expo-horizon-location or expo-horizon-notifications). - Uninstall the original (npm uninstall expo-location or expo-notifications). - Update all import statements to the horizon package name. - For notifications: ensure horizonAppId is set in the expo-horizon-core plugin config and add expo-horizon-notifications to the plugins array. - Run npx expo prebuild --clean again. - Webfetch the relevant README (location or notifications) for the full feature support matrix and guard unsupported calls behind ExpoHorizon.isHorizonDevice.

  1. If the user declines a migration, leave the original package untouched and note in the summary that feature X (location / notifications) will not work on the quest build until migrated.

Critical Rules

  • Always install expo-horizon-core first. It is required by all other expo-horizon packages and sets up the quest/mobile build flavors that other packages depend on.
  • Never auto-install expo-horizon-location or expo-horizon-notifications. When adding Quest support, detect existing expo-location / expo-notifications dependencies in package.json and ask the user whether to migrate each one. Install and configure only the packages the user explicitly approves. See the Setup Workflow above.
  • Use quest build variants only on Meta Quest devices. Running questDebug or questRelease builds on standard Android phones is unsupported and will behave unexpectedly.
  • Set supportedDevices in the config plugin. This is required for Meta Horizon Store submission. Use pipe-separated values: "quest2|quest3|quest3s".
  • Run npx expo prebuild --clean after any plugin config change. The config plugin modifies native project files at prebuild time. Stale native projects will not reflect your changes.
  • Replace imports, not just packages. When migrating from expo-location or expo-notifications, update all import statements to use the new package names (expo-horizon-location, expo-horizon-notifications).
  • Quest has no GPS, magnetic sensors, or Geocoder. Features like heading, geocoding, reverse geocoding, and geofencing are unavailable on Quest. Guard these calls with ExpoHorizon.isHorizonDevice or ExpoHorizon.isHorizonBuild.
  • Push notifications require horizonAppId. Without it, getDevicePushTokenAsync will not return a valid token on Quest devices. Use getDevicePushTokenAsync (not getExpoPushTokenAsync) on Quest; send the returned {type: 'horizon', data} token to your backend and deliver via Meta's push service.
  • isHorizonDevice vs isHorizonBuild. Use isHorizonDevice for runtime hardware checks (physical Quest detection). Use isHorizonBuild for build-time feature gating (which native code was compiled in).
  • Expo Go is not supported. You must use custom development builds via npx expo prebuild.

Official References

Always webfetch the raw markdown (raw.githubusercontent.com/...) if the HTML view does not render the source; the raw URL is the source of truth.

TopicOfficial source
Repo overview and package listexpo-horizon README
Install, config plugin options, runtime API, native module accessexpo-horizon-core README
Location migration, limitations, feature support matrixexpo-horizon-location README
Push notifications migration, token types, feature support matrixexpo-horizon-notifications README
Example app wiring for all three packagesexpo-horizon example README
Panel sizing guidelines (dp values, orientation, letterboxing)Meta Panel Sizing
Meta Horizon Store manifest checklist for publishingPublish Mobile Manifest
Device management, casting, sideloading, ADBMeta Quest Developer Hub
Server-side push delivery via Meta's push serviceHorizon OS push notifications

平台分布

Codex

35.1%
按下载量换算193

Claude

31.24%
按下载量换算172

Cursor

19.04%
按下载量换算105

Gemini CLI

8.38%
按下载量换算46

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

需要联网

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

安装前确认

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

继续浏览同类 Skills