شعار 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 يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 5

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها Scripter36 على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Migrate External Env في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى الإضافات → المهارات.
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/Scripter36/InstantMimic/tree/main/plugins/instantmimic-workflows/skills/migrate-external-env
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات → المهارات → إضافة مهارة → من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
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؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق 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 مجانية؟

نعم. نشرها Scripter36 على GitHub بموجب ترخيص Apache-2.0. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇