Logo Mjlab Skillkit

Mjlab Skillkit

Cộng đồng
cmjang
mjlab-skillkit

Use when asked to migrate IsaacLab projects to mjlab, compare IsaacLab and mjlab APIs, import meshes into mjlab tasks, or author new mjlab-native tasks/components directly from local or bundled mjlab docs and examples. This skillkit includes an IsaacLab Migration Skill and an mjlab Native Skill. Prefer mjlab public APIs, preserve behavior in migration mode, and avoid compatibility layers.

Tổng quan

Nhà phát hànhcmjang
Kho mãmjlab-skillkit
Tên kỹ năngmjlab-skillkit
Sao
105
Bản fork
7
Tệp đi kèm
31
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 31 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được cmjang công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Mjlab Skillkit trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/cmjang/mjlab-skillkit/tree/master
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/cmjang/mjlab-skillkit.git \
  .claude/skills/mjlab-skillkit
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Mjlab Skillkit trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Mjlab Skillkit ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Mjlab Skillkit với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

mjlab-skillkit

Skill Suite

  • IsaacLab Migration Skill (migrate)
    • Use when there is an IsaacLab source project to port into mjlab-native code.
    • Priority: preserve task behavior while translating APIs, config structure, and registration.
  • mjlab Native Skill (author)
    • Use when writing new mjlab-native tasks, configs, managers, sensors, terrain, RL wiring, or mesh workflows directly.
    • Priority: follow mjlab public APIs, existing task patterns, and bundled references.

Previously branded as isaaclab-to-mjlab.

Official Repositories

  • Migration pattern (official): https://github.com/mujocolab/anymal_c_velocity
  • mjlab repository (read-only reference): https://github.com/mujocolab/mjlab
  • IsaacLab repository (source behavior reference): https://github.com/isaac-sim/IsaacLab

Documentation Priority

  • Use local docs/ in the target workspace as source of truth first (for example mjlab/docs and IsaacLab/docs).
  • Read references/docs-interface-diff.md before implementation and follow the listed API differences.
  • Read references/mjlab-api-pack.md for the quick API shortlist.
  • Read references/mjlab-api-index.md to choose the exact mjlab API domain files you need.
  • When writing new mjlab-native code, also read references/mjlab-authoring-workflow.md.
  • For common coding requests, read references/mjlab-authoring-recipes.md and follow the matching minimal recipe instead of exploring broadly.
  • Then load only the matching references/mjlab-api-*.md and references/mjlab-mdp-builtins.md files instead of reading the whole API surface at once.
  • Do not bulk-ingest the whole mjlab/docs tree or crawl large raw upstream doc sets into context; read only the exact page/signature/example you still need after using the bundled references.
  • Fall back to online docs only when local docs are missing or incomplete.

Reference Resolution Order

  • Treat raw paths such as mjlab/docs/source/... and mjlab/src/mjlab/... as preferred lookup targets only when a local mjlab/ checkout exists.
  • If there is no local mjlab/ checkout, use this skill's bundled references first:
    • references/mjlab-api-*.md
    • references/mjlab-mdp-builtins.md
    • references/mjlab-authoring-workflow.md
    • references/mjlab-authoring-recipes.md
  • If the user provides another local mjlab repo path, use that path as the upstream reference root instead of assuming ./mjlab.
  • Use online docs / GitHub only as a last resort for exact upstream signatures or examples missing from both the local checkout and bundled references.
  • Do not block author mode just because the current workspace has no mjlab/ directory.

Working Modes

  • migrate
    • Use when there is an IsaacLab source task/project to port.
    • Goal: preserve behavior while converting to mjlab-native code.
  • author
    • Use when writing new mjlab-native code directly.
    • Goal: build tasks/components/configs/scripts that already follow mjlab docs and examples.

If the user does not specify a mode, infer it from the request:

  • mentions IsaacLab/source parity/porting -> migrate
  • mentions write/build/create mjlab task/config/component -> author

Layout Mode (migration only)

  • preserve-layout:
    • Keep original repository structure and module paths.
    • Only migrate API/config semantics to mjlab.
  • mjlab-layout:
    • Reorganize into anymal_c_velocity style task package layout (for example src/<task_pkg>/...).
    • Use mjlab.tasks entry points and register_mjlab_task(...) for registration.
  • If user does not specify, ask first:
    • Do you want to keep the original project layout, or convert directly to mjlab layout?

Shared Workflow

  1. Confirm whether the task is migrate or author.
  2. Resolve references in this order: target repo -> local mjlab/ checkout if present -> bundled skill references -> online docs only if still blocked.
  3. Read references/mjlab-api-pack.md and lock target APIs.
  4. Read references/mjlab-api-index.md, then load only the relevant module references:
    • references/mjlab-api-envs.md
    • references/mjlab-api-scene.md
    • references/mjlab-api-sim.md
    • references/mjlab-api-entity.md
    • references/mjlab-api-actuator.md
    • references/mjlab-api-sensor.md
    • references/mjlab-api-managers.md
    • references/mjlab-mdp-builtins.md
    • references/mjlab-api-terrains.md
    • references/mjlab-api-rl.md
    • references/mjlab-api-viewer.md
    • references/mjlab-api-tasks.md
  5. If the request involves importing STL / OBJ / other mesh assets, also read references/mjlab-mesh-import-guidelines.md.
  6. Reuse native mjlab patterns from existing tasks in the target repo first, then from a local mjlab/ checkout if present, then from bundled references.

Migration Workflow

  1. Confirm migration scope, source path, and target path before editing.
  2. Confirm layout mode: preserve-layout or mjlab-layout.
  3. Read references/migration-rules.md and enforce all hard constraints.
  4. Read references/docs-interface-diff.md for API differences from local docs.
  5. Read references/official-migrating-from-isaaclab.md for boundary notes.
  6. Read references/migration-gotchas.md for the compressed high-value pitfalls list.
  7. If the task is multi-variant / command-heavy / play-eval sensitive, first read references/complex-task-migration-playbook.md.
  8. If the task is motion tracking / whole-body tracking / reference-motion tracking, then read references/tracking-case-study.md as a concrete example, not as the only migration pattern.
  9. If the target task family has adjacent tests or registry files, treat them as invariants before editing (for example task __init__.py registration files and same-family tests).
  10. For complex tasks, first write a variant matrix for base / play / eval / no-state-estimation / low-freq / robot-specific style variants before migrating code.
  11. For mjlab-layout, align project packaging/registration with anymal_c_velocity.
  12. Read references/mapping.md while replacing imports/fields/term APIs.
  13. Read references/patterns.md while implementing EnvCfg/SceneCfg/manager structures.
  14. If importing STL / OBJ / mesh assets, read references/mjlab-mesh-import-guidelines.md and explicitly separate visual mesh from collision representation.
  15. Run references/checklist.md validation before completion.

Authoring Workflow

  1. Read references/mjlab-authoring-workflow.md.
  2. Read references/mjlab-authoring-recipes.md.
  3. Identify the artifact type:
    • new task package
    • new EnvCfg or scene
    • new manager terms / MDP helpers
    • new sensors / terrain / RL config / registration
  4. Choose the closest example before writing:
    • target-repo example first
    • then local mjlab/ example if available
    • then bundled skill references if no local mjlab/ checkout exists
    • velocity-style -> mjlab/src/mjlab/tasks/velocity/
    • tracking-style -> mjlab/src/mjlab/tasks/tracking/
  5. Build the config in mjlab-native order:
    • scene / sensors
    • observations
    • actions
    • commands
    • events
    • rewards
    • terminations
    • curriculum / metrics
    • simulation / viewer / episode settings
  6. Prefer existing mjlab.envs.mdp helpers before adding custom terms.
  7. Prefer the smallest edit surface that satisfies the request:
    • add a term before creating a new subsystem
    • modify robot-specific cfg before cloning a base factory
    • reuse an existing command/reward/event helper before inventing a new class
  8. If creating a new task, add RL config plus register_mjlab_task(...).
  9. Validate syntax and config wiring before completion.

Authoring Request Routing

  • “Add a reward / penalty” -> references/mjlab-authoring-recipes.md + references/mjlab-mdp-builtins.md
  • “Add an observation / actor-critic input” -> references/mjlab-authoring-recipes.md + references/mjlab-api-managers.md
  • “Add contact / raycast / camera” -> references/mjlab-authoring-recipes.md + references/mjlab-api-sensor.md
  • “Add command / curriculum / reset / DR” -> references/mjlab-authoring-recipes.md + references/mjlab-mdp-builtins.md
  • “Create a new task / new robot env cfg / register a task” -> references/mjlab-authoring-recipes.md + references/mjlab-api-tasks.md + references/mjlab-api-rl.md
  • “Import STL / OBJ / mesh assets” -> references/mjlab-mesh-import-guidelines.md + references/mjlab-api-entity.md
  • “Unsure which file to edit” -> first read the “file placement” section in references/mjlab-authoring-recipes.md

Shared Constraints

  • Final implementation must be mjlab-native.
  • Do not add arbitrary abstractions (extra inheritance/wrappers/major restructuring).
  • Do not modify mujocolab/mjlab source code.
  • Manager configuration must be dict-based (dict[str, XxxTermCfg]), not manager @configclass.
  • Explicitly ban bridge helpers:
    • manager_terms_to_dict
    • AttrDict
    • observation_terms_from_class
  • No compatibility layer / adapter shim / transition wrappers.

Migration Constraints

  • Preserve behavior equivalence for rewards, observations, actions, commands, reset/events, terminations, and curriculum.
  • Keep function boundaries, call order, and config semantics aligned with source unless mjlab API differences require minimal internal changes.
  • Prioritize functional/semantic equivalence over literal code-shape equivalence; if mjlab API constraints prevent a one-to-one implementation, use the smallest mjlab-native adaptation that preserves behavior.
  • Do not drop source logic steps, config items, or execution order.
  • Remove Isaac/IsaacLab API residue (imports, symbols, stale comments, legacy fields).
  • Keep source-specific semantic names (for example hack_generator) unless forced field mapping is required.
  • Do not keep IsaacLab/Omniverse extension scaffolding by default (ui_extension_example.py, config/extension.toml, omni.* extension files).
  • Do not add new raise or assert if the source task has none, unless a minimal check is explicitly required by mjlab/target API semantics for correctness.
  • Do not add fallback logic if the source task has none (no broad try/except, no hasattr-style fallback branches, no silent degradations), unless a minimal guard is explicitly required by mjlab/target API semantics for correctness.
  • Keep original comments/TODOs. If wording must change, only do minimal mjlab terminology updates while preserving meaning.

Authoring Constraints

  • Prefer public mjlab.* modules and local task examples before inventing new helper layers.
  • Prefer task factories such as make_xxx_env_cfg() when a reusable base pattern is helpful.
  • Reuse mjlab.envs.mdp helper functions/configs whenever they already express the needed behavior.
  • Keep new code consistent with existing mjlab task structure, config naming, and registration style.

Execution Notes

  • In migrate mode, prefer one-to-one migration, not refactor-oriented rewrite.
  • In author mode, prefer nearest mjlab-native example, not a framework-agnostic rewrite.
  • For API mismatch, use minimal mjlab-native adaptation instead of bridge code.
  • When the question is “which mjlab API should replace this IsaacLab piece?”, choose the target module from references/mjlab-api-index.md first, then read only the matching reference file.
  • For mjlab-layout, prefer anymal_c_velocity packaging pattern: standalone task package + mjlab.tasks entry point + register_mjlab_task.
  • For preserve-layout, keep directory structure and only migrate API/config/registration wiring.
  • Managers should be generated via dict factory functions and initialized with field(default_factory=make_xxx) when dataclass config style is used.
  • If inherited config chains are not supported in target style, flatten them via explicit dict merge/override.
  • Follow target project registration conventions (prefer project-level registrar; use gym.register only when target project explicitly requires it).

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Mjlab Skillkit làm được gì?

Use when asked to migrate IsaacLab projects to mjlab, compare IsaacLab and mjlab APIs, import meshes into mjlab tasks, or author new mjlab-native tasks/components directly from local or bundled mjlab docs and examples. This skillkit includes an IsaacLab Migration Skill and an mjlab Native Skill. Prefer mjlab public APIs, preserve behavior in migration mode, and avoid compatibility layers.

Vì sao nên dùng Mjlab Skillkit trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Mjlab Skillkit là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Mjlab Skillkit trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/cmjang/mjlab-skillkit/tree/master. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Mjlab Skillkit?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Mjlab Skillkit với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Mjlab Skillkit với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Mjlab Skillkit có miễn phí không?

Có. Kỹ năng này được cmjang phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇