Agent skill

Adapt Policy To Sim2real

by EGalahad in EGalahad/sim2real

Adapt a policy trained in any external codebase into the sim2real codebase for integrated sim2sim/deploy by tracing the training observation/action implementation, exporting one complete ONNX…

No licenceAuto-check passedAI & LLM Engineering

Install Adapt Policy To Sim2real

skills CLI
$ npx skills add EGalahad/sim2real --skill adapt-policy-to-sim2real -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install EGalahad/sim2real adapt-policy-to-sim2real --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/EGalahad/sim2real.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/adapt-policy-to-sim2real .claude/skills/adapt-policy-to-sim2real && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
adapt-policy-to-sim2real
GitHub stars
146
Token cost
~3.4k tokens
SKILL.md length
1,437 words
Files
3 (incl. scripts)
Skills in repo
3
Repo updated
First seen
Licence
None found

At a glance

Adapt a policy trained in any external codebase into the sim2real codebase for integrated sim2sim/deploy by tracing the training observation/action implementation, exporting one complete ONNX…

  • Works in 9 steps: Identify the source of truth in the… → Trace the actual runtime code path, not… → Export one complete ONNX per policy mode… → …
  • AI & LLM Engineering work in your project
  • SKILL.md covers Core Workflow, General Rules, ONNX Runtime Compatibility and Validation Checklist, plus 1 more section
  • Runs Python scripts from its folder; calls uv, python and bash

What it does

Adapt Policy To Sim2real is an agent skill from EGalahad/sim2real. Adapt a policy trained in any external codebase into the sim2real codebase for integrated sim2sim/deploy by tracing the training observation/action implementation, exporting one complete ONNX, implementing matching sim2real observations, writing deploy YAML, and validating tracking behavior.

Its SKILL.md is about 3.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including scripts (for example `scripts/convert_onnx_compat.py` and `scripts/merge_encoder_decoder_onnx.py`).

It sits in AI & LLM Engineering. It works with ONNX.

When your agent uses it

  • AI & LLM Engineering work in your project

Example prompts

  • “/adapt-policy-to-sim2real”

Requirements

  • Python 3

Workflow steps

9 steps, taken from the first numbered list in SKILL.md.

  1. Identify the source of truth in the training codebase
  2. Trace the actual runtime code path, not only config names. Read the training policy wrapper, observation manager/builder, history buffers…
  3. Export one complete ONNX per policy mode for sim2real. Keep all encoder/decoder wiring inside the graph, but expose semantic multi-key…
  4. Verify ONNX I/O with onnxruntime before writing YAML
  5. Implement every training observation in sim2real/sim2real/rl_policy/observations or reuse an existing implementation only after proving it…
  6. Match training observation semantics exactly
  7. Write a deploy YAML from the training YAML, not from memory. Include observation groups, joint/body names, policy_joint_names, action…
  8. Validate with integrated sim2sim
  9. Keep a small experiment log with exact commands, policy paths, motion paths, seeds, output files, and summary metrics.

What it can do on your machine

Read from SKILL.md and the folder at commit 73b3bec. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • uv
    • python
    • bash

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Adapt Policy To Sim2real loads about 3.4k tokens when it runs. Until then it costs about 79 tokens; SKILL.md has 1,437 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~79
When it runs · the whole SKILL.md, loaded when a task matches
~3.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 1,437 words (~3,424 tokens).

“Use this skill when bringing a policy checkpoint from any training repo into /home/elijah/Documents/projects/simple-tracking/sim2real.”

— opening of SKILL.md by EGalahad
name
adapt-policy-to-sim2real

Read the full SKILL.md on GitHub

Files

SKILL.md and 2 other files (scripts) in .agents/skills/adapt-policy-to-sim2real of EGalahad/sim2real.

  • SKILL.md
  • scripts/convert_onnx_compat.py
  • scripts/merge_encoder_decoder_onnx.py

Open the folder on GitHubat commit 73b3bec

Compare with similar skills

Adapt Policy To Sim2real next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Adapt Policy To Sim2real compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Adapt Policy To Sim2real this skillEGalahad/sim2real146—~3.4kAutomated safety check: PassNone
Segment Anything Model GuideOrchestra-Research/AI-Research-SKILLs13k8 repos~3.3kAutomated safety check: PassMIT
Add Oponnx/onnx22k—~1.2kAutomated safety check: PassApache-2.0
Add Function Bodyonnx/onnx22k—~1.1kAutomated safety check: PassApache-2.0
Add Shape Inferenceonnx/onnx22k—~1.3kAutomated safety check: PassApache-2.0
Onnxtxtonnx/onnx22k—~1.3kAutomated safety check: PassApache-2.0

Similar skills

  • Segment Anything Model Guide

    Orchestra-Research/AI-Research-SKILLs

    Guide to using Meta's Segment Anything Model for zero-shot image segmentation with point, box or mask prompts, or automatic mask generation.

    13k GitHub starsUsed in 8 repos~3.3k tokens
    AI & LLM EngineeringAuto-check passed
  • Add Op

    onnx/onnx

    Add a new ONNX operator or update an existing operator to a new opset version.

    22k GitHub stars~1.2k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Add a function body definition to an ONNX operator, defining how it decomposes into simpler ops.

    22k GitHub stars~1.1k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Add or update type and shape inference for an ONNX operator.

    22k GitHub stars~1.3k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Onnxtxt

    onnx/onnx

    Read or write ONNX text format ("onnxtxt"). An agent skill from onnx/onnx.

    22k GitHub stars~1.3k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Volcengine Asr

    ysyecust/lecture-to-notes

    Transcribe local audio or video with Volcengine Doubao file ASR, including BigASR 1.0 Turbo direct upload and asynchronous 1.0 standard, 1.0 idle, or 2.0 standard jobs through TOS.

    273 GitHub stars~783 tokensUpdated 8 days ago
    AI & LLM EngineeringAuto-check passed

More from EGalahad/sim2real

  • Configure G1 Sim2real

    EGalahad/sim2real

    Install, repair, and verify sim2real on G1 robot computers. An agent skill from EGalahad/sim2real.

    146 GitHub stars~1.5k tokensUpdated 13 days ago
    Auto-check passed
  • Install, convert, debug, and benchmark sim2real ONNX GPU and TensorRT inference backends on onboard JetPack 5 Orin hosts such as g1-cable.

    146 GitHub stars~1.1k tokensUpdated 13 days ago
    Auto-check passed

Works with

Questions about Adapt Policy To Sim2real

What does Adapt Policy To Sim2real do?

Adapt a policy trained in any external codebase into the sim2real codebase for integrated sim2sim/deploy by tracing the training observation/action implementation, exporting one complete ONNX…. Adapt Policy To Sim2real is an agent skill from EGalahad/sim2real. Adapt a policy trained in any external codebase into the sim2real codebase for integrated sim2sim/deploy by tracing the training observation/action implementation, exporting one complete ONNX, implementing matching sim2real observations, writing deploy YAML, and validating tracking behavior.

When should I use Adapt Policy To Sim2real?

Adapt Policy To Sim2real fits situations like: AI & LLM Engineering work in your project.

How do I install Adapt Policy To Sim2real in Claude Code?

Run `npx skills add EGalahad/sim2real --skill adapt-policy-to-sim2real -a claude-code`. Or copy the skill folder (.agents/skills/adapt-policy-to-sim2real in EGalahad/sim2real) into .claude/skills/adapt-policy-to-sim2real in your project. Claude Code loads it when a task matches its description.

How do I install Adapt Policy To Sim2real in Codex?

Run `npx skills add EGalahad/sim2real --skill adapt-policy-to-sim2real -a codex`. Or copy the skill folder (.agents/skills/adapt-policy-to-sim2real in EGalahad/sim2real) into .agents/skills/adapt-policy-to-sim2real in your project. Codex loads it when a task matches its description.

Can I use Adapt Policy To Sim2real in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add EGalahad/sim2real --skill adapt-policy-to-sim2real -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/adapt-policy-to-sim2real, .gemini/skills/adapt-policy-to-sim2real, .github/skills/adapt-policy-to-sim2real and .opencode/skills/adapt-policy-to-sim2real in your project.

What does Adapt Policy To Sim2real need to run?

Going by SKILL.md and its folder, Adapt Policy To Sim2real needs Python for the scripts in its folder and the command-line tools its instructions call (uv, python and bash). Our summary lists: Python 3.

Does Adapt Policy To Sim2real access the network?

SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Adapt Policy To Sim2real safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Adapt Policy To Sim2real use?

No licence was found for Adapt Policy To Sim2real or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Adapt Policy To Sim2real use?

About 3.4k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Adapt Policy To Sim2real?

Skills that share tags, products or a category with Adapt Policy To Sim2real: Segment Anything Model Guide (Orchestra-Research/AI-Research-SKILLs, 13k stars), Add Op (onnx/onnx, 22k stars), Add Function Body (onnx/onnx, 22k stars) and Add Shape Inference (onnx/onnx, 22k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Adapt Policy To Sim2real?

EGalahad (a GitHub user) maintains it in EGalahad/sim2real, which has 146 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on September 28, 2026.

Source: EGalahad/sim2real on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.