Логотип Migrate External Env

Migrate External Env

Спільнота
Scripter36
migrate-external-env

Migrate or audit an IsaacLab, Isaac Lab, mjlab, or other external simulation and reinforcement-learning environment in InstantMimic. Covers source discovery, behavioral contracts, assets, implementation, learning/evaluation integration, production optimization, evidence, and independent review.

Огляд

ВидавецьScripter36
РепозиторійInstantMimic
Назва навичкиmigrate-external-env
Зірки
20
Форки
1
Файли в пакеті
5
ЛіцензіяApache-2.0
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 5

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Опубліковано на GitHub користувачем Scripter36. Перегляньте вихідний вміст перед установленням.

Встановлення

Установіть навичку ШІ Migrate External Env у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до Плагіни → Навички.
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/Scripter36/InstantMimic/tree/main/plugins/instantmimic-workflows/skills/migrate-external-env
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Нова навичка → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Scripter36/InstantMimic.git /tmp/InstantMimic
mkdir -p .claude/skills
cp -r /tmp/InstantMimic/plugins/instantmimic-workflows/skills/migrate-external-env .claude/skills/migrate-external-env
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Migrate External Env в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Migrate External Env, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції Markdown, а не код для певного постачальника, тому навичка Migrate External Env не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож невикористана навичка нічого не коштує.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Migrate External Env

Run this as one approved autonomous state machine. Discover current source and target behavior; never rely on a static framework API map.

A $skill-name reference below names another skill in this plugin. Codex invokes it in that form; Claude Code invokes the same skill as /instantmimic-workflows:skill-name.

Vocabulary

These terms have exact meanings here. Do not substitute a colloquial reading.

TermMeaning
gateOne named acceptance requirement with an id, a claim, and an acceptance class. Gates are frozen in Phase 1 and never added, removed, or reworded later.
acceptance classHow a gate may be satisfied: exact (backend-independent formula, ordering, shape, scale, cadence, or state), tolerant (backend-sensitive, predeclared tolerance), statistical (rollout, distribution, success, or aggregate), unsupported (explicit omission plus its consequence).
gate resultpass, fail, or missing. missing means the evidence cannot establish the claim; it is never a pass.
frozen run contractThe Phase 1 approval output, persisted as contract.json. After approval it is read-only for the rest of the run.
learning-setting attemptOne frozen configuration plus its frozen seed set, run to its frozen budget. Changing only seeds does not create a new attempt.
materiality exceptionA permission, declared in Phase 1 with a measured threshold, to keep non-native framework-tensor work in a hot path. Absent a Phase 1 declaration, there is no exception.
causal freshnessEvidence is stale only when a change can affect the gate it supports. Judge by the dependency map in Phase 7, never by file timestamp.
terminal statusExactly one of production-ready or incomplete.
migration-correctA functional subset is faithful. This is a description, never a terminal status.

Invariants

Assert these at every phase boundary. Later phases reference them by id.

  • I1 Orientation. Read README.md, applicable repository instructions and task documentation. Establish the maintained source and authoritative runtime consumers before freezing the contract. Preserve unrelated changes.
  • I2 Authority. Reuse existing user authorization. Ask once only for missing material scope or authority; routine in-scope implementation decisions do not require another confirmation. Record consequential decisions for review.
  • I3 No weakening. Never weaken a frozen gate, disable graph/compile paths, or reduce work to manufacture parity or speed.
  • I4 Communication. Give concise updates on findings and consequential changes, with periodic progress during long runs. Keep raw command/retry detail in run state rather than narrating it all.
  • I5 Missing is not pass. A missing required capability or artifact is missing.
  • I6 Finite budgets. Never use reward attainment as a loop condition. Freeze learning budgets and retry counts before execution; stop when exhausted.
  • I7 Source semantics first. The default target is the source's behavior, including its learning setup: the policy distribution and the tensor the optimizer actually trains (for example sigma or log sigma, whatever the config key is called), observation normalization, initialization, optimizer, scheduler cadence, loss clipping, numerical precision and compile mode. When InstantMimic has no equivalent, add one as an option whose default leaves other tasks unchanged; never substitute the nearest native setting. Native learning settings are separate opt-in configs, compared against the parity config only after parity passes. Representations that look equivalent can still learn differently.
  • I8 Discriminating evidence. A pass counts only if the check could have failed on the code and configuration that ship. For every blocking gate: run the evidence on the production path and authored config (captured graph, fused kernels, compile mode and precision), not on an eager or reference twin; show the check can fail, with a known-bad variant that fails it and a tolerance taken from the measured noise of repeating the same path; compare against the strongest relevant reference under one metric definition, with that reference run stock. A check that errors or cannot run is missing. A gate that an obviously broken port would also pass does not establish its claim.

Run State

The run is resumable only if its state is on disk. Create one workspace at Phase 0 and write every exit artifact into it. Use a repository workspace tool when one is configured; otherwise create an ignored directory directly under workspaces/<topic>/<initiative>/<migration-slug>/. Preserve that path in state and continuation commands. Chat is not state.

text
workspaces/<topic>/<initiative>/<migration-slug>/
  README.md       # human resume point: question, status, exact resume command
  state.json      # machine progress pointer, rewritten at each phase exit
  contract.json   # Phase 1 exit; read-only afterwards
  ledger.jsonl    # append-only source dispositions, issues, decisions
  evidence/       # raw artifacts referenced by the packet
  packet.json     # Phase 7 exit, built by migration_review.py
  review.json     # reviewer output, saved byte-for-byte unchanged
  verdict.json    # migration_review.py verdict output; authoritative

README.md stays the primary human resume point, per the repository's task workspace contract. state.json is the machine pointer the phases advance:

json
{
  "schema_version": 1,
  "state": "preflight | approved | implemented | optimized | reported",
  "workspace": "workspaces/<topic>/<initiative>/<migration-slug>",
  "phase_exits": {"<state>": ["<relative path>", "..."]},
  "blocked_gates": [{"id": "...", "reason": "..."}]
}

contract.json is not free-form: migration_review.py validates it and rejects any other key set. Write exactly this shape, and expand required_gates to the gates frozen in Phase 1.

json
{
  "schema_version": 1,
  "original_user_request": "<the user's request, verbatim>",
  "source_identity": {"kind": "git_commit", "value": "<sha or lock identity>"},
  "required_gates": [
    {"id": "reward_formula", "claim": "<falsifiable statement>", "acceptance": "exact"}
  ]
}

required_gates contains blocking acceptance requirements only. Non-blocking source return or speed context belongs in raw comparison artifacts and the report, not a gate the verdict would mistakenly treat as blocking. gate.acceptance must be one of the four acceptance classes above.

Artifact ids and kinds are free-form strings to the packet builder, so this skill fixes the convention. Use the gate id as the artifact id prefix so review.json evidence entries resolve unambiguously — the verdict step validates them against packet artifact ids. Use these kinds: source (raw source evidence), diff, config (resolved configuration), test, differential, coldstart, profile, benchmark, learning_manifest. For example --artifact reward_formula.differential=differential=workspaces/<topic>/<initiative>/<slug>/evidence/reward_diff.txt.

ledger.jsonl carries one JSON object per line with at least {"phase", "kind", "subject", "disposition", "evidence"}; it is the private record that I4 keeps out of chat.

On resume, read README.md, then state.json, verify contract.json still validates, and re-enter at the recorded state. Do not restart an earlier phase whose exit artifacts are present and still causally fresh.

Phase Loading

Do not preload all instructions. On entering a phase group, read its reference completely, execute it, write its exit artifact into the workspace, update state.json, then advance.

StateLoadExit artifactAsserts
preflight → approvedPhase 0–1contract.jsonI1, I2, I6, I7, I8
approved → implementedPhase 2–4ledger.jsonl, oracles, vertical sliceI3, I5, I7, I8
implemented → optimizedPhase 5–6, invoking $optimize-runtimedelegated optimization evidence under evidence/optimization/I3, I6
optimized → reportedPhase 7–8packet.json, review.json, verdict.jsonI4, I5

Phase 5 delegates its iterative optimization procedure to Optimize Runtime. Migration retains the frozen contract/budgets, phase state and final independent verdict; child completion alone cannot mark the migration production-ready.

Do not advance when the current reference says a prerequisite is unresolved; continue independent work and append the dependent gate to state.json blocked_gates.

Review Isolation

Independent review is a separate role, not another phase prompt in this conversation. Build a strict raw packet from the repository root with uv run python plugins/instantmimic-workflows/scripts/migration_review.py, then start a fresh read-only reviewer with no conversation history and $review-external-env-migration.

Prefer the host's native subagent only when it provides both a fresh context and an enforceable read-only boundary. Otherwise, a new non-interactive CLI process is an allowed fallback only when subprocess model execution, credentials, cost, and permissions were included in the frozen run contract. Never use resume or fork: both can carry implementation context.

Give the reviewer only the packet path, packet digest, repository root, and review-skill name. Do not transmit summaries, diagnoses, suspected bugs, prior verdicts, or desired classifications. If fresh review cannot be created, mark the independent-review gate missing; a cold self-review may inform the report but cannot produce production-ready.

Terminal Rule

Reinspect the final diff, worktree, verdict, and causal evidence before reporting. Report production-ready only when verdict.json says accept and every frozen gate has fresh passing evidence after the last relevant change. Otherwise report incomplete, even if a functional subset is migration-correct.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Migrate External Env?

Migrate or audit an IsaacLab, Isaac Lab, mjlab, or other external simulation and reinforcement-learning environment in InstantMimic. Covers source discovery, behavioral contracts, assets, implementation, learning/evaluation integration, production optimization, evidence, and independent review.

Навіщо використовувати Migrate External Env у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Migrate External Env — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Migrate External Env у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/Scripter36/InstantMimic/tree/main/plugins/instantmimic-workflows/skills/migrate-external-env. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Migrate External Env?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Migrate External Env?

Зі скількома забажаєте. Якщо модель підтримує навички, ви можете використовувати з нею Migrate External Env — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama та інші — усе в TypingMind із власними ключами API.

Чи безкоштовна навичка ШІ Migrate External Env?

Так. Навичку опубліковано на GitHub: Scripter36, за ліцензією Apache-2.0. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це багаторазовий набір інструкцій, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти для виклику — код, який десь виконується й повертає результат. Натомість навичка ШІ надає моделі знання та порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний ШІ-простір уже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇