AGENT SKILL

habitat-lab

Use Habitat-Lab, Habitat-Baselines, and Habitat-HITL for embodied AI configs, environments, datasets, training, HITL apps, and extensions.

License 许可
MIT
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
habitat-lab
license
MIT
metadata
{ "disco-role": "operating" }
description
Use Habitat-Lab, Habitat-Baselines, and Habitat-HITL for embodied AI configs, environments, datasets, training, HITL apps, and extensions.
disable-model-invocation
true

02 资源文件 7

03 SKILL.md 正文

Habitat-Lab Repo Skill

Use this repo skill when the user asks about Habitat-Lab, Habitat-Baselines, Habitat-HITL, embodied AI tasks, Habitat configs, navigation or rearrangement environments, baseline training/evaluation, HITL viewers/apps, or Habitat extension registries.

Start Here

Route By Task

User task Read
Install Habitat-Lab, choose Python/Habitat-Sim packages, compose Hydra configs, validate data paths setup-and-configuration
Create habitat.Env, RLEnv, Gym wrappers, VectorEnv/ThreadedVectorEnv, task configs, datasets, episode flows tasks-datasets-and-envs
Run or inspect Habitat-Baselines train/eval, Hydra CLI, checkpoints, metrics, PPO/DDPPO/VER/IL configs, benchmarks baselines-training-and-evaluation
Work with Habitat-HITL realtime viewers, app states, GUI input, websockets, VR/web clients, policy-in-app loops hitl-apps-and-interaction
Add or debug custom sensors, measures, actions, tasks, datasets, simulators, policies, trainers, obs transforms extension-patterns

Public Package Facts

  • Habitat-Lab is a Python embodied AI framework built on Habitat-Sim for task definition, environment construction, datasets, agents, and benchmarks.
  • The source tree exposes three installable distributions: habitat-lab, habitat-baselines, and habitat-hitl; this skill was generated against version 0.3.3 for all three.
  • Core imports include habitat, habitat_baselines, and habitat_hitl; simulator-backed imports also require habitat_sim and magnum from Habitat-Sim.
  • The repository README documents Python 3.9 with conda and habitat-sim withbullet as the safest public install route for current Habitat-Sim compatibility.
  • The habitat-baselines console script maps to habitat_baselines.run:main and is Hydra-powered.

Minimal Public Install Shape

Use this as the starting point when the user has not provided an environment:

conda create -n habitat python=3.9 cmake=3.14.0
conda activate habitat
conda install habitat-sim withbullet -c conda-forge -c aihabitat
pip install -e habitat-lab
pip install -e habitat-baselines  # only when baseline training/eval is needed
pip install -e habitat-hitl       # only when HITL apps are needed

For package inspection or config-only help, do not run training, benchmarks, viewers, or dataset downloads unless the user asks and the data/graphics/hardware requirements are clear.

Safe Diagnostics

python path/to/habitat-lab/scripts/check_habitat_install.py --include-baselines --include-hitl
python path/to/habitat-lab/scripts/habitat_env_report.py --json

Then use narrower sub-skill probes:

python path/to/habitat-lab/sub-skills/setup-and-configuration/scripts/config_probe.py --kind habitat --config benchmark/nav/pointnav/pointnav_habitat_test.yaml
python path/to/habitat-lab/sub-skills/baselines-training-and-evaluation/scripts/baselines_cli_probe.py groups
python path/to/habitat-lab/sub-skills/extension-patterns/scripts/inspect_registry_extensions.py --all

Safety Defaults

  • Treat full simulation, Gym environments, HITL apps, benchmarks, and baseline training as data/backend-dependent operations.
  • Prefer config composition, import checks, CLI --help, and registry introspection before launching expensive or graphics-heavy workflows.
  • Do not rely on the original repository docs, examples, tests, or scripts at runtime; this skill distills the necessary routes, references, and safe probes into its own files.
  • If a current checkout has changed from references/repo-provenance.md, run refresh-repo-skill before trusting exact API/config coverage.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-triton-opt

Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-solve

END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-skill

PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-pattern-fusion

Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-orchestrate

Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-feedback

Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).

★ 351