Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计异常

hz-vr-debug赫兹 VR 调试

Agent Skill

hz-vr-debug 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

242

周安装

10

GitHub Stars

31

下载量

79
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:hz-vr-debug(赫兹 VR 调试)
来源仓库:https://github.com/meta-quest/agentic-tools
仓库路径:skills/hz-vr-debug
安装命令:
npx skills add https://github.com/meta-quest/agentic-tools --skill hz-vr-debug
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/meta-quest/agentic-tools --skill hz-vr-debug

简介

hz-vr-debug 用于查找、检索和筛选相关信息,支持基于关键词的任务场景定位。

  • 适用于 VR 应用调试、性能优化和问题排查相关查询。
  • 可在 Codex、Claude、Cursor、Gemini CLI 中快速获取候选结果。
  • 需确认权限范围和维护状态,避免触发联网或文件读写操作。
  • 建议结合来源仓库和原始 README 继续核验具体用法。

SKILL.md

VR Debug Skill

Debug Meta Quest VR and MR applications using the hzdb command-line interface. This skill covers viewing application logs, capturing device state, diagnosing crashes, and resolving common issues encountered during Quest development.

When to Use This Skill

Use this skill when you need to:

  • Debug an application running on a connected Meta Quest device
  • View real-time or historical application logs (logcat)
  • Capture screenshots of the VR/MR view
  • Diagnose application crashes, rendering glitches, or performance problems
  • Investigate tracking, controller, audio, or permission issues
  • Pull diagnostic files from the device for offline analysis

This skill is relevant for any Meta Quest headset (Quest 2, Quest 3, Quest 3S, Quest Pro) running Horizon OS.

Prerequisites

Before using this skill, ensure the following are in place:

  1. hzdb CLI installed -- Install the hzdb CLI: npm install -g @meta-quest/hzdb Verify with hzdb --version. hzdb wraps ADB and adds Quest-specific device management, log viewing, screenshot capture, and file management.
  2. Meta Quest device connected via USB -- Use a USB-C cable that supports data transfer (not charge-only).
  3. Developer mode enabled -- Developer mode must be turned on in the Meta Horizon app on your phone, under your headset's settings.
  4. ADB authorization accepted -- The first time you connect, you must put on the headset and accept the "Allow USB debugging" prompt.

Quick Start Workflow

The fastest way to begin debugging a Quest application:

# 1. Verify the device is connected and recognized
hzdb device list

# 2. List applications currently installed
hzdb app list

# 3. View live logs (most recent 100 lines)
hzdb log

# 4. Capture a screenshot of the current VR view
hzdb capture screenshot

If hzdb device list returns no devices, check the USB cable, developer mode, and ADB authorization.

Key Debugging Commands

Device Commands

CommandDescription
hzdb device listList all connected Quest devices
hzdb device info <id>Show device model, OS version, and more
hzdb device batteryShow battery level and charging status
hzdb device wakeWake the device from sleep
hzdb device rebootReboot the device
hzdb device connect <ip>Connect to a device over WiFi

Log Commands

CommandDescription
hzdb logView the last 100 log lines
hzdb log -n 500View the last 500 log lines
hzdb log --tag UnityFilter logs by tag
hzdb log --level EFilter by severity (V, D, I, W, E, F)
hzdb adb logcatFull logcat with advanced filtering options
hzdb adb logcat --followStream logs continuously

Application Commands

CommandDescription
hzdb app listList installed applications
hzdb app info <package>Show detailed info about an app
hzdb app launch <package>Launch an application by package name
hzdb app stop <package>Force-stop a running application
hzdb app clear <package>Clear application data and cache
hzdb app install <apk>Install an APK to the device
hzdb app uninstall <package>Uninstall an application

Capture Commands

CommandDescription
hzdb capture screenshotCapture a screenshot of the current VR/MR view
hzdb capture screenshot -o file.pngSave screenshot to a specific file

File Commands

CommandDescription
hzdb files ls /sdcard/List files on the device
hzdb files pull /sdcard/path/file./local/Pull a file from the device
hzdb files push./local/file /sdcard/path/Push a file to the device
hzdb files rm /sdcard/path/fileDelete a file on the device
hzdb files mkdir /sdcard/path/dirCreate a directory on the device

Common Debugging Workflow

A typical debugging session follows this pattern:

1. Connect and Verify

hzdb device list
hzdb device info <device_id>

Confirm the device is recognized, check the OS version, and note the battery level. A low battery can cause thermal throttling that affects performance tests.

2. Identify the Application

hzdb app list

Find the package name for the application you want to debug. Package names typically follow the pattern com.company.appname.

3. Reproduce and Capture Logs

# Start logging before reproducing the issue
hzdb adb logcat --follow

Put on the headset and reproduce the issue. The logs stream in real time to your terminal. Press Ctrl+C to stop.

4. Capture Visual State

# Take a screenshot at the moment of the issue
hzdb capture screenshot

5. Analyze and Diagnose

Review the captured logs for errors, warnings, and crash signatures. Look for:

  • FATAL EXCEPTION -- Unhandled Java/Kotlin exceptions
  • native crash or SIGABRT / SIGSEGV -- Native code crashes
  • ANR -- Application Not Responding (frozen UI thread)
  • OOM or OutOfMemoryError -- Memory exhaustion

6. Iterate

Make code changes, rebuild, deploy, and test again:

hzdb app stop com.example.myapp
hzdb app launch com.example.myapp
hzdb log --tag Unity --level W

Tips and Best Practices

Filtering Logs Effectively

Use severity filters to cut through noise:

# Show only errors
hzdb log --level E

# Show warnings and above
hzdb log --level W

Filter by tag to focus on specific subsystems:

hzdb adb logcat --tag VrApi
hzdb adb logcat --tag Unity

Use advanced filters with hzdb adb logcat:

# Complex filter expressions
hzdb adb logcat --filter "Unity:W ActivityManager:I"

# Regex pattern matching
hzdb adb logcat --regex "error|exception"

# Specific log buffer
hzdb adb logcat --buffer crash

See logcat-filtering.md for a full guide on log filtering techniques.

Searching for Crash Signatures

When investigating crashes, search the log output for known patterns:

hzdb log | grep -i "fatal\|crash\|exception\|anr"

Common crash-related tags include AndroidRuntime, DEBUG, and libc.

Checking Permissions

Many Horizon OS features require specific manifest permissions. If a feature silently fails, check that the application manifest includes the required permissions. Common ones:

  • com.oculus.permission.HAND_TRACKING -- Hand tracking access
  • com.oculus.permission.USE_SCENE -- Scene API spatial data access
  • android.permission.RECORD_AUDIO -- Microphone access
  • android.permission.CAMERA -- Camera access (for mixed reality)

Performance Debugging

If the application stutters or drops frames:

# Check device battery and thermal state
hzdb device battery

# Watch for thermal throttling messages in logs
hzdb adb logcat --tag ThermalService --level W

# Check VrApi frame timing
hzdb adb logcat --tag VrApi | grep FPS

See common-issues.md for a catalog of known issues and their solutions.

References

Skill References

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.12%
按下载量换算26

Claude

29.24%
按下载量换算23

Cursor

19.77%
按下载量换算16

Gemini CLI

9.47%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

未通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/meta-quest/agentic-tools --skill hz-vr-debug 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills