Logo di Metavr Cli

Metavr Cli

Organizzazione
meta-quest
metavr-cli

Provides the complete metavr (Meta VR CLI) reference for Meta Quest and Horizon OS development — installation, device setup, command discovery, MCP server mode, documentation search, app deployment, device testing setup, audio control, screenshots, and performance analysis. Use when the user needs to install metavr, asks what commands are available, needs CLI syntax help, or wants to know what metavr can do.

Panoramica

Autoremeta-quest
Repositoryagentic-tools
Nome della skillmetavr-cli
Stelle
195
Fork
17
File inclusi
5
LicenzaApache-2.0
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.

  • 5 file inclusi

    Script, modelli di documento e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da meta-quest su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Metavr Cli 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/meta-quest/agentic-tools/tree/main/skills/metavr-cli
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova 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 nella cartella delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/meta-quest/agentic-tools.git /tmp/agentic-tools
mkdir -p .claude/skills
cp -r /tmp/agentic-tools/skills/metavr-cli .claude/skills/metavr-cli
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Metavr Cli 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 Metavr Cli 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 Metavr Cli 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à.

metavr CLI Reference

What metavr Does

metavr (Meta VR CLI) is a CLI for Meta Quest and Horizon OS development. It wraps ADB and Meta developer APIs into higher-level commands for device management, app lifecycle, documentation lookup, screenshots, audio control, test-device preparation, MCP integration, and Perfetto performance analysis.

Keep this SKILL.md as the routing layer. For exact flags and complete command syntax, use the generated full CLI reference in docs/hzdb.md or run:

bash
npx -y metavr --markdown-help

Installation

Requires Node.js 20 or newer.

Invoke via npx:

bash
npx -y metavr --help
npx -y metavr --version

npx is the recommended path: it always pulls the latest published version, so you don't end up running an outdated global install. Examples in the rest of the documentation use the bare metavr command for brevity — substitute npx -y metavr for any of them.

Alternatively, install metavr globally using:

bash
npm install -g metavr

If you install globally, update regularly with npm update -g metavr. Use npx -y metavr when you want the latest published version without depending on a global install.

Device Connection

Before using on-device commands:

  1. Enable Developer Mode on your Quest (Settings > System > Developer)
  2. Enable USB Debugging when prompted
  3. Connect your Quest to your computer via USB-C

Verify the connection:

bash
metavr device list

If no devices appear: try a different USB cable (data-capable, not charge-only), accept the USB debugging prompt on the headset, or connect wirelessly with metavr device connect <ip>.

Command Discovery

Use progressive disclosure:

  1. Start with this skill for command groups and common workflows.
  2. Open a focused reference file when the user is working in that area.
  3. Use docs/hzdb.md or metavr --markdown-help for exact flags, arguments, and less common subcommands.

Current top-level command groups:

GroupUse for
adb / shellLow-level ADB-compatible commands and direct device shell access
appInstall, list, launch, stop, clear, inspect, and detect the foreground app
assetSearch Meta's 3D asset library
audioRead volume, set volume, mute, and unmute device audio
captureCapture screenshots from a connected headset
configRead, write, reset, and list metavr configuration
deviceList/connect devices, wait for ADB state, inspect controllers, configure test devices, run health checks, and manage proximity
docsSearch/fetch Meta Quest docs and API reference entries
filesList, pull, push, remove, and create directories on the device
logView recent device logs; use adb logcat for advanced filters and streaming
mcpStart or install the metavr MCP server for AI tools
perfCapture, open, analyze, query, compare, and manage Perfetto traces

MCP Server Mode

metavr includes a built-in MCP (Model Context Protocol) server with ~40 tools that enable AI agents to interact with Quest devices programmatically.

Add this command to any MCP configuration to use the MCP server:

bash
metavr mcp server

The server exposes tools for device management, app lifecycle, performance trace analysis, documentation search, file operations, and 3D asset search.

Install MCP configuration into other AI tools:

bash
metavr mcp install cursor
metavr mcp install claude-desktop
metavr mcp install vscode

For project-local agent setup, install the MCP config into the current repository:

bash
cd your-project
metavr mcp install project

This is the best default when a coding agent already has repository access on the host machine and should be able to call metavr tools from that project.

Common Agent Workflow

If you are building a Quest-native developer tool or pairing a Quest headset UI with a host-side coding agent, keep the architecture simple:

  • Let the host-side coding agent own repository access, file edits, builds, tests, and metavr tool calls
  • Let the headset app or browser experience act as a thin client for preview, prompt capture, status, and approval
  • Prefer project-local MCP installation with metavr mcp install project so the integration is explicit and travels with the repository
bash
# 1. Verify the current docs before coding against an API or workflow
metavr docs search "spatial sdk panel"
metavr docs fetch https://developers.meta.com/horizon/documentation/...

# 2. Build and deploy your app
./gradlew assembleDebug
metavr app install app/build/outputs/apk/debug/app-debug.apk
metavr app launch com.example.app

# 3. Observe on-device behavior
metavr log --tag MyApp
metavr capture screenshot -o latest.png

# 4. Prepare a stable test device when running repeatable tests
metavr device health-check
metavr device configure-testing setup
# ...run tests...
metavr device configure-testing restore

Relationship to ADB

metavr wraps ADB and provides higher-level commands. You do not need to use adb directly for most Quest development tasks. metavr handles device selection, provides structured output, and adds Quest-specific functionality (screenshots via metacam, Perfetto trace analysis, doc search) that raw ADB does not support.

If you need raw shell access to the device, use metavr shell or metavr adb shell.

Full Command Reference

Use docs/hzdb.md for generated command details. Regenerate it with:

bash
npx -y metavr --markdown-help > docs/hzdb.md

References

For detailed usage guides with workflows, examples, and troubleshooting:

  • Device Management — device commands, audio, screenshots, logs, test setup, health checks, shell access
  • App Management — app lifecycle, foreground app detection, crash debugging, common log tags
  • Agent Workflows — project-local MCP install, docs verification, safety, thin-client architecture
  • Performance Tools — trace capture, guided analysis, Perfetto UI, SQL queries, comparisons, GPU counters
  • Documentation Search — doc search, API search, category filtering

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Metavr Cli?

Provides the complete metavr (Meta VR CLI) reference for Meta Quest and Horizon OS development — installation, device setup, command discovery, MCP server mode, documentation search, app deployment, device testing setup, audio control, screenshots, and performance analysis. Use when the user needs to install metavr, asks what commands are available, needs CLI syntax help, or wants to know what metavr can do.

Perché usare Metavr Cli su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Metavr Cli è 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 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 Metavr Cli in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/meta-quest/agentic-tools/tree/main/skills/metavr-cli. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Metavr Cli?

Qualsiasi modello che colleghi in 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 Metavr Cli?

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

La skill IA Metavr Cli è gratuita?

Sì. È pubblicata su GitHub da meta-quest con licenza Apache-2.0. 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, modelli 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.

Vedi tutti

Crea subito la tua area di lavoro IA

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