본문으로 건너뛰기
cccskills
무료GitHub에 공개

add-task-env

Route and scaffold a new EmbodiChain task by solution type: handwritten expert trajectory, Task Program expert trajectory, simulator RL, lightweight RL, or an environment-only baseline. Use when creating a task, environment, expert demo, or RL task.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

DexForce/EmbodiChain스타 236(GitHub 236 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(5)

  • SKILL.md7.4 KB
  • agents/openai.yaml95 B
  • references/handwritten-expert.md3.7 KB
  • references/rl.md4.0 KB
  • references/task-program-expert.md2.9 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Add Task Environment

Own the task identity, task-first layout, physical environment, registration boundary, and solution routing. Do not assume every new task needs a Python environment subclass.

Route from the user's prompt

Classify the requested solution before creating files. Read only the matching reference files.

Prompt signalRouteRequired reference
handwritten, scripted, demo segments, create_demo_segments, custom Python planningHandwritten expert trajectoryreferences/handwritten-expert.md
Task Program, program.yaml, integration.yaml, declarative task, Semantic Call, MLLM-generated programTask Program expert trajectoryreferences/task-program-expert.md
Generic expert trajectory or expert demo with no implementation signalResolve handwritten versus Task Program from required behavior; ask only if still ambiguousOne selected expert reference
RL, PPO, GRPO, APG, policy, reward learning, training configReinforcement learningreferences/rl.md
Task/environment/scene only, with no requested solutionEnvironment-only baselineThis file only

Routing rules:

  • If the prompt names multiple solutions, read every matching reference and keep all artifacts under one task-first directory.
  • If the prompt merely says expert trajectory and provides no signal for handwritten versus Task Program, determine whether the requested behavior is declarative and supported by existing Semantic Calls. Ask only when that choice materially changes the requested deliverables.
  • Treat environment-only as the shared baseline, not as a fourth solution implementation.
  • Task Program authoring and integration composition are owned by $add-task-program. New reusable robot/skill-profile declarations are owned by $add-embodiment-component.

Load current project context

Read agent_context/MAP.yaml, then load env-framework. Also load:

  • task-programs for the Task Program route;
  • rl-learning for the RL route; and
  • any matched robot, sensor, manager, or randomization topic needed by the requested environment.

Verify paths and configuration fields against the current source of truth. Do not infer schemas from older task examples alone.

Establish task identity

Resolve from the prompt or nearby conventions:

  • <category_path>: a task family plus optional subdomain, such as manipulation/tableware;
  • <task_name>: snake case;
  • one unique runnable environment ID per deployment;
  • intended embodiment variants; and
  • selected solution routes.

Organize by task identity, never by solution method. Use:

extensions/embodichain_tasks/embodichain_tasks/<category_path>/<task_name>.py
extensions/embodichain_tasks/configs/tasks/<category_path>/<task_name>/

Keep a single task Python entry point flat at <task_name>.py. Do not create a same-named Python package, scenario package, mdp package, or a task-local task_program Python package when configuration and manager functors express the behavior.

Build the shared environment baseline

Choose the narrowest representation that supports the requested routes.

Reusable physical environment

For new task-first compositions, prefer:

<task config>/env.yaml

This is a component, not a runnable deployment. It owns:

  • environment_id;
  • exactly one explicit physics: default|newton backend and its optional, backend-matching physics_config;
  • ordinary environment values such as episode limits and environment count;
  • physical simulation entities under simulation; and
  • manager configuration under env.

It must not contain a runnable id, Task Program fields, semantic scene bindings, a robot, or sensors. Task Program semantic roots and affordances belong to integration.yaml.scene_binding.

Runnable deployment

Prefer one thin deployment per embodiment or execution variant:

<task config>/task.<variant>.yaml

It owns the runnable id and selects reusable components. A typical physical deployment selects:

id: MyTask-v1

environment:
  component: env.yaml

embodiment:
  component: ../../../components/embodiments/<embodiment>.yaml

The original inline Gym format remains supported. When extending an existing inline env.json or env.yaml, preserve that representation unless the user asked for component extraction. Every inline runnable config declares exactly one physics: default|newton backend. Never select a component and repeat its owned inline fields, including physics or physics_config, in the same deployment. Use separate environment files for backend-specific settings.

Optional Python entry point

Create extensions/embodichain_tasks/embodichain_tasks/<category_path>/<task_name>.py when the route requires import-owned behavior or registration:

  • an environment-only registered Gym task;
  • handwritten expert behavior;
  • simulator RL registration, even when managers/config own its behavior; or
  • a lightweight learning environment.

A supported configuration-defined Task Program is the exception: it normally omits the task module and dynamically registers the common EmbodiedEnv while loading its runnable deployment.

Keep @register_env or @register_learning_env in the task-named module. Task discovery recursively imports these modules, so category __init__.py files do not need per-task re-exports.

Implement the selected route

After the shared baseline exists, follow the selected specialized reference:

  • references/handwritten-expert.md
  • references/task-program-expert.md
  • references/rl.md

Reuse existing manager functors and registered components. Invoke $add-functor only when a missing observation, reward, event, action, dataset, or randomization term is required. Use $add-test for test structure.

Validate proportionally

At minimum:

  1. parse every new or changed runnable config;
  2. prove registration/discovery for Python-owned tasks;
  3. run the route-specific focused tests;
  4. run embodichain list-task when task-discovery metadata changed; and
  5. format changed Python files with the pinned project Black version.

Do not claim an expert trajectory is qualified from schema validation alone. Physical expert behavior requires an environment run with its validators and persisted completion result. Do not claim an RL task works from config parsing alone; at least construct/reset the selected environment and run a minimal trainer-routing smoke test when dependencies permit.

Completion checklist

  • Prompt was routed to the correct specialized reference(s)
  • Task family, optional subdomain, task name, and runnable IDs are stable
  • Python and config paths share the same task-first hierarchy
  • Environment component and runnable deployment ownership are not mixed
  • Each environment file declares one backend and only matching physics fields
  • A Python task module exists only when the selected route needs it
  • No solution-method directory or same-named task package was introduced
  • Existing components and manager functors were reused where possible
  • Route-specific tests and focused validation passed

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Add a new simulation atomic action or motion primitive to EmbodiChain's typed planning and execution framework. Use when implementing a new skill, goal contract, action planner, symbolic effect, registration entry, documentation, and tests for AtomicActionEngine.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

DexForce/EmbodiChain2362026년 10월 26일 업데이트

Claude adapter for the canonical EmbodiChain add-atomic-action skill.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

DexForce/EmbodiChain2362026년 10월 26일 업데이트

Claude adapter for the canonical EmbodiChain add-embodiment-component skill.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

DexForce/EmbodiChain2362026년 10월 26일 업데이트

Add or update a reusable EmbodiChain embodiment YAML component that owns one simulation robot, its sensor suite, and an optional Task Program skill_profile. Use for configs/components/embodiments, new Task Program-compatible robots, or multi-embodiment task deployment.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

DexForce/EmbodiChain2362026년 10월 26일 업데이트

Claude adapter for the canonical EmbodiChain add-functor skill.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

DexForce/EmbodiChain2362026년 10월 26일 업데이트

Use when adding a new observation, event, reward, action, dataset, or randomization functor to an EmbodiChain environment

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

DexForce/EmbodiChain2362026년 10월 26일 업데이트

DexForce의 스킬 모두 보기

이 스킬의 문제 신고