界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

task-authoring

task-authoring

【效率与协作】Author RoboTwin tasks, task configs, language templates, and safe instruction-expansion workflows.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: task-authoring description: "Author RoboTwin tasks, task configs, language templates, and safe instruction-expansion workflows." metadata: disco-role: operating disable-model-invocation: true license: MIT

RoboTwin task authoring

Use this sub-skill when a user asks to add or modify a RoboTwin task, create a task configuration, edit language instructions, expand per-episode instructions, or understand the repository's LLM/code-generation utilities. If you only have the generated skill tree, use the root workspace bootstrapper first to materialize a pinned public workspace before editing runtime files.

Route first

  1. Work in the user's RoboTwin workspace. Runtime files here describe relative workspace files such as envs/<task_name>.py, description/task_instruction/<task_name>.json, and env_cfg/task_config/<config_name>.yml; do not edit this generated skill tree unless the user is updating the skill itself.
  2. Decide whether the request can be deterministic. Prefer manual edits plus the bundled safe scripts below. Do not invoke Azure, OpenAI-compatible, DeepSeek, Moonshot, or other hosted model APIs unless the user explicitly asks and provides credentials.
  3. For SAPIEN scene setup, Base_Task, actor/action helpers, robot/camera details, or render checks, route to simulation-core. For demonstration collection, HDF5 layout, downloads, and conversion, route to data-pipeline.

Main workflows

Guardrails

  • Keep canonical task implementations in envs/<task_name>.py; treat envs_gen/gpt_<task_name>.py as generated scratch code until manually reviewed and simulation-validated.
  • Keep play_once() placeholder output synchronized with instruction templates. If play_once() returns {"{A}": ..., "{a}": ...}, every non-arm placeholder required by a template must be present in that info mapping.
  • Do not assume RoboTwin is importable as an installed pip package. Many workflows expect commands to run from the RoboTwin workspace with local relative paths.
  • Asset setup matters: top-level envs imports can fail before assets/objects/objaverse/list.json and other assets are present, especially when cluttered-table utilities are imported.
我的收藏