Logo di Expo Horizon

Expo Horizon

Organizzazione
software-mansion-labs
expo-horizon

Software Mansion's guide for migrating Expo SDK apps to Meta Quest using expo-horizon packages. Use when adding Meta Quest or Meta Horizon OS support to an existing Expo or React Native project. Trigger on: Meta Quest, Horizon OS, Quest 2, Quest 3, Quest 3S, VR app, expo-horizon-core, expo-horizon-location, expo-horizon-notifications, build flavors for Quest, panel sizing, VR headtracking, Horizon App ID, quest build variant, isHorizonDevice, isHorizonBuild, migrate expo-location to Quest, migrate expo-notifications to Quest, Meta Horizon Store publishing, or any task involving running an Expo app on Meta Quest hardware.

Panoramica

Pubblicato dasoftware-mansion-labs
Repositoryskills
Nome della skillexpo-horizon
Stelle
296
Fork
21
File inclusi
Solo istruzioni
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da software-mansion-labs su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Expo Horizon in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/software-mansion-labs/skills/tree/main/skills/expo-horizon
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/software-mansion-labs/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/expo-horizon .claude/skills/expo-horizon
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Expo Horizon in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Expo Horizon non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Expo Horizon non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.
  2. 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.
  3. 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.
  4. 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.
  5. 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

Domande frequenti

Cosa fa la skill IA Expo Horizon?

Software Mansion's guide for migrating Expo SDK apps to Meta Quest using expo-horizon packages. Use when adding Meta Quest or Meta Horizon OS support to an existing Expo or React Native project. Trigger on: Meta Quest, Horizon OS, Quest 2, Quest 3, Quest 3S, VR app, expo-horizon-core, expo-horizon-location, expo-horizon-notifications, build flavors for Quest, panel sizing, VR headtracking, Horizon App ID, quest build variant, isHorizonDevice, isHorizonBuild, migrate expo-location to Quest, migrate expo-notifications to Quest, Meta Horizon Store publishing, or any task involving running an E...

Perché usare Expo Horizon su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Expo Horizon è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Expo Horizon in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/software-mansion-labs/skills/tree/main/skills/expo-horizon. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Expo Horizon?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Expo Horizon?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Expo Horizon: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Expo Horizon è gratuita?

È pubblicata su GitHub da software-mansion-labs. Consulta il repository per i termini di licenza. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇