hz-android-2d-porting

hz-android-2d-porting is a skill for Claude Code from meta-quest/agentic-tools. It costs 80 tokens per session (1,814 once invoked), scanned A, original, Apache-2.0.

A guide for adapting existing Android apps to run as 2D panels on Meta Quest headsets using Horizon OS. Horizon OS runs these apps in floating, resizable windows inside the headset's 3D space.

In plain words
What is it for?
Use it to adapt touchscreen controls for controller pointers or hand tracking, adjust layouts for floating panels, check Quest compatibility, and prepare an Android app for Horizon Store submission.
Why use it?
A phone app cannot assume users have a touchscreen or a fixed full-screen display. The guide explains the input, layout, performance, and store requirements that need attention.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the meta-vr plugin — 36 skills, 1 MCP server shipped together

Good fit Use it to adapt touchscreen controls for controller pointers or hand tracking, adjust layouts for floating panels, check Quest compatibility, and prepare an Android app for Horizon Store submission.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/meta-quest/agentic-tools/hz-android-2d-porting
Install

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.

Any agent
npx skills add meta-quest/agentic-tools --skill hz-android-2d-porting
Clone the repo
git clone --depth 1 https://github.com/meta-quest/agentic-tools

Made for: Claude Code.

Or install meta-vr, the plugin that ships this one along with the rest of its 36 skills, 1 MCP server.

Wrote 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.

agentmods badge for hz-android-2d-porting

README.md
[![agentmods](https://agentmods.dev/badge/skills/meta-quest/agentic-tools/hz-android-2d-porting/github.svg)](https://agentmods.dev/skills/meta-quest/agentic-tools/hz-android-2d-porting)
Your own site
<a href="https://agentmods.dev/skills/meta-quest/agentic-tools/hz-android-2d-porting"><img src="https://agentmods.dev/badge/skills/meta-quest/agentic-tools/hz-android-2d-porting/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.

agentmods 80×15 button for hz-android-2d-porting

Your own site · 80×15
<a href="https://agentmods.dev/skills/meta-quest/agentic-tools/hz-android-2d-porting"><img src="https://agentmods.dev/badge/skills/meta-quest/agentic-tools/hz-android-2d-porting.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,814 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 35
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 38
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 35
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00080 $0.01814
Opus 5.5 $0.00032 $0.00726
Sonnet 5.5 $0.00016 $0.00363
Haiku 4.5 $0.00008 $0.00181

Measured 1mo ago against content hash 411dadad4dc3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hz-android-2d-porting 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 1mo ago.

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.

skills/hz-android-2d-porting/SKILL.md · 170 lines

How it starts

The opening of the file, as written. The whole thing — 170 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Android 2D App Porting to Horizon OS

When to Use

Use this skill when:

  • Porting an existing Android 2D app to run on Meta VR headsets
  • Adapting a mobile Android app for Horizon OS panels
  • Troubleshooting input, layout, or compatibility issues with a 2D app on Meta VR devices
  • Preparing an Android app for Horizon Store submission
  • Evaluating whether an existing Android app is compatible with Horizon OS

Overview

Horizon OS is built on Android (AOSP) and can run standard Android applications inside panels -- floating 2D windows positioned in 3D space. Most well-built Android apps work on Meta VR devices with minimal changes, but several areas require attention:

  1. Input: There is no touchscreen. Users interact via controller pointer (ray-casting), hand tracking, or connected peripherals.
  2. Layout: Apps run in resizable panels, not full-screen on a fixed display.
  3. Compatibility: Dependencies and permissions must work without Google Play Services or unavailable hardware.
  4. Design and performance: Apps must meet Horizon Store requirements on mobile hardware.

The goal of porting is to make the app feel native to the Meta VR experience while preserving existing functionality.

Porting Workflow

Step 1: Initial Testing

Build and install the existing app with its normal Android workflow. Android Studio, Gradle, and adb all work with a connected Meta VR device:

./gradlew installDebug
adb shell am start -n com.example.yourapp/.MainActivity

Prefer metavr app install <apk> and metavr app launch <package> over raw adb here, then stream metavr adb logcat --follow during this first run. Note any immediate crashes, black screens, input problems, or layout breakage.

Step 2: Compatibility Audit

Check whether the app depends on Google Play Services, unsupported hardware, or prohibited permissions before changing its UI. Make unsupported features optional or replace them with Horizon OS alternatives. See Compatibility Requirements.

Read the full file on GitHub · 170 lines

Files

What ships with it

4 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.

Changes

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.

  1. 1mo ago Changed · -17 lines · +34 tokens per session 411dadad4dc3
  2. 2mo ago First seen · 187 lines · 46 tokens per session scan A 9e65afcfd231

Subscribe to this mod's changes

hz-android-2d-porting is a skill published in the GitHub repository meta-quest/agentic-tools (245 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 80 tokens to every session and 1,814 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

hz-android-2d-porting compared with skills from other repositories

hz-android-2d-porting next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hz-android-2d-portingmeta-quest/agentic-toolsSkill2451mo agoApache-2.0A80Claude Code
mobileclimobile-next/mobilecliSkill314yesterdaynoneB162Claude Code
android-phone-controlpatrickdass93/android-phone-control-skillSkill195mo agoMITA53Claude Code, Codex
android-ui-journey-testinglingxling/awesome-skills-cnSkill3291mo agoMITA27Claude Code
android-cliGhosteken/agent-harnessSkill14d agoMITC30Claude Code
unity-platform-player-settingsrachitkumarrastogi/unity-mcp-serverSkill53mo agononeA39Claude Code, Codex
unity-firebase-mobilerachitkumarrastogi/unity-mcp-serverSkill53mo agononeA34Claude Code, Codex