Skip to content
Development
Skill

/hz-platform-sdk

Guides integration of the Horizon Platform SDK for Meta VR and Horizon OS Android/Kotlin apps — achievements, IAP, users, leaderboards, presence, notifications, abuse reporting, entitlements, asset files, application lifecycle, consent, device integrity, language packs, user age

From plugin
meta-vr
24936 skills1 MCP

Claude Code

$ npx -y skills add meta-quest/agentic-tools --skill hz-platform-sdk --agent claude-code

SKILL.md

hz-platform-sdk.SKILL.md
name: hz-platform-sdk
license: Apache-2.0
description: "Guides integration of the Horizon Platform SDK for Meta VR and Horizon OS Android/Kotlin apps — achievements, IAP, users, leaderboards, presence, notifications, abuse reporting, entitlements, asset files, application lifecycle, consent, device integrity, language packs, user age categories, and rate and review. Covers setup, initialization, API usage, data types, error handling, and best practices for all 17 public platform SDK packages. Build paths: Standard Android and Meta Spatial SDK; use hz-psdk-integration for guided integration, hz-unity-platform-sdk for Unity/C#, and hz-quest-verify-first if the path is unclear."

Horizon Platform SDK - Android/Kotlin Integration Guide

This is the API-reference skill for the **Standard Android and Meta Spatial SDK Android/Kotlin build paths**. For a guided codebase-analysis and integration workflow, use `hz-psdk-integration`. For Unity/C#, use `hz-unity-platform-sdk` instead.

When to Use

Use this skill when a developer:

  • Wants to integrate any Horizon Platform SDK feature in a Meta VR Android/Kotlin application
  • Asks about setup, initialization, or dependencies for the SDK
  • Needs help with a specific public platform API (achievements, IAP, users, etc.)
  • Is troubleshooting errors or status codes from any SDK package
  • Asks about HorizonServiceConnection, entitlements, or HzPlatformService

Quick Start

  • **Setup guide**: https://developers.meta.com/horizon/documentation/android-apps/ps-setup-kotlin
  • **Maven artifacts**: https://central.sonatype.com/search?namespace=com.meta.horizon.platform.sdk

Available APIs

| Feature | Reference | Description | |---------|-----------|-------------| | Abuse Report | `abuse-report` | Listen for report button events in the system panel | | Achievements | `achievements` | Unlock, track progress, and query simple/count/bitfield achievements | | Application | `application` | Get app version, launch other apps, manage self-update downloads | | Application Lifecycle | `application-lifecycle` | Detect launch type, handle deeplinks, log deeplink results | | Asset File | `asset-file` | List, download, cancel, and delete downloadable asset files (DLC) | | Consent | `consent` | Check and launch user consent flows | | Device Application Integrity | `device-application-integrity` | Verify device and app integrity tokens | | Entitlements | `entitlements` | Verify app purchase legitimacy and user authorization | | Group Presence | `group-presence` | Set/clear presence, manage sessions, send invites, launch panels | | In-App Purchases (IAP) | `iap` | Retrieve products, purchase history, checkout flow, consume purchases | | Language Pack | `language-pack` | Get/set language packs, track localization downloads | | Leaderboards | `leaderboards` | Retrieve leaderboard info, fetch/write entries with filtering | | Notifications | `notifications` | Send device notifications with actions and icons | | Rate and Review | `rate-and-review` | Check eligibility and launch the rating/review UI | | Rich Presence | `rich-presence` | Set/clear rich presence status and destinations (deprecated; prefer group-presence) | | User Age Category | `user-age-category` | Query user age group and report age categories | | Users | `users` | Retrieve user profiles, friends, access tokens, identity verification |

How to Use

1. **First**, read `references/common-setup.md` for shared setup instructions, initialization code, and common status codes that apply to all APIs. 2. **Then**, read the specific reference file for the API you need (e.g., `references/iap.md` for in-app purchases). 3. **For exact signatures**, query the API index instead of guessing: `metavr docs api-search "<feature> <operation>"`, then `metavr docs api-details <entry>` for the full entry.

Each reference file contains only the package-specific content: API operations, data types, examples, and package-specific notes. The common setup and error codes are centralized in `common-setup.md` to avoid duplication.

Read more
@meta-quest
Ships withmeta-vr

Agentic skills and tools for Meta VR and Horizon OS development.

24936 skills1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
249
Star history of meta-quest/agentic-tools on GitHub, a chart by star-history.com

Other skills on meta-vr.

hz-android-2d-porting

hz-android-2d-porting

Guides porting existing Android 2D apps to Meta VR and Horizon OS — input adaptation, panel layout, and design requirements. Use…

@meta-quest@meta-questInstall Skill
hz-api-upgrade

hz-api-upgrade

Upgrades Meta VR apps to newer Horizon OS SDK versions — migration guides, deprecated API replacements, changelog. Use when…

@meta-quest@meta-questInstall Skill
hz-immersive-designer

hz-immersive-designer

Guides design of comfortable, intuitive VR/MR experiences for Meta VR and Horizon OS — comfort guidelines, interaction patterns,…

@meta-quest@meta-questInstall Skill
hz-iwsdk-webxr

hz-iwsdk-webxr

Builds WebXR experiences for Meta VR and Horizon OS using the Immersive Web SDK (IWSDK) — ECS architecture, Three.js integration,…

@meta-quest@meta-questInstall Skill
hz-metavrx-layout-sdk

hz-metavrx-layout-sdk

Build multi-window Meta Horizon OS experiences with the MetaVrx Layout SDK in Jetpack Compose or React Native. Covers framework…

@meta-quest@meta-questInstall Skill
hz-metavrx-ui-set

hz-metavrx-ui-set

Builds app UI for Meta VR and Horizon OS with the MetaVrx UI Set, a Jetpack Compose component library and design system. Covers…

@meta-quest@meta-questInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about hz-platform-sdk.

Which coding agents can use hz-platform-sdk?
hz-platform-sdk installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.