Logo Reproduce Skill Env

Reproduce Skill Env

Tổ chức
try-agora
reproduce-skill-env

Reproduces an exact agent-skill set across machines, teammates, and CI using qvr's portable manifest and lockfile guarantees. Use when a user wants to share, pin, replicate, or CI-gate their qvr skills — e.g. "export my skills", "import this skill manifest", "pin everything to exact commits", "make skills reproducible", "fail CI if skills drift", or "onboard a teammate to the same skills". Covers qvr export/import, --frozen pinning, and the sync --locked / sync --check CI assertions.

Tổng quan

Nhà phát hànhtry-agora
Kho mãqvr
Tên kỹ năngreproduce-skill-env
Sao
26
Bản fork
0
Tệp đi kèm
Chỉ có hướng dẫn
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ộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được try-agora 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 Reproduce Skill Env 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/try-agora/qvr/tree/main/skills/reproduce-skill-env
  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/try-agora/qvr.git /tmp/qvr
mkdir -p .claude/skills
cp -r /tmp/qvr/skills/reproduce-skill-env .claude/skills/reproduce-skill-env
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 Reproduce Skill Env 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 Reproduce Skill Env 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 Reproduce Skill Env 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.

Reproduce a skill environment with qvr

qvr separates intent from bytes: qvr.lock pins each skill to a commit and a subtreeHash, so the exact content can be restored even if upstream refs move. On top of that, qvr export emits a small, human-readable manifest that a teammate (or a CI job) can qvr import to rebuild the same set from scratch — without any pre-existing registry configuration. This skill covers sharing a set, pinning it hard, and asserting reproducibility in CI.

When to use this

  • The user wants to share their skill set with a teammate or another machine.
  • They want byte-for-byte reproducibility (pin to exact commits, not floating refs).
  • They want CI to fail if the checked-out skills don't match the lockfile.

For first-time discovery/install of individual skills, use onboard-skills instead.

Key concepts

  • Manifest (export) — a 3-column text file: repo URL, skill name, version. Portable and reviewable. By default it records the ref; --frozen records the exact pinned commit.
  • Lockfile (qvr.lock) — the authoritative TOML v5 record with commit + subtreeHash. Commit it to version control.
  • mode: edit / mode: link skills live in the project filesystem and are not portable across projects; they're skipped from exports by default.

Workflow

1. Export the current set

qvr export > skills.txt                          # ref-only (floating)
qvr export --frozen > skills.lock.txt            # pin to recorded commits
qvr export --output-file=skills.txt --include-aliases
qvr export --include-local                        # emit edit/link skills as commented docs

Choose --frozen when you want the recipient to get the exact same bytes; omit it when you want them to track whatever the ref currently points at.

2. Import on another machine / for a teammate

qvr import registers each source repo if needed, then installs each skill via the same code path as qvr add:

qvr import skills.txt                             # register sources + install each
qvr import skills.lock.txt                        # frozen manifest: per-line --commit= pins are honored — plain import, no qvr.lock needed
qvr import --target=claude,cursor skills.txt      # install into specific targets

The byte-exact pin lives in the manifest's --commit=<sha> field (written by export --frozen), so a plain qvr import on a fresh machine already reproduces exact bytes — you do not pass --frozen here. import --frozen is a stricter re-import guard: it refuses subtreeHash drift on --commit-pinned entries and therefore requires an existing qvr.lock to compare against (it errors --frozen requires a readable lock file on a from-scratch machine).

Per-line failures surface as ✗ import …: <reason> on stderr; the command exits non-zero if anything failed, but successful installs are kept. A URL already registered under a different alias is reused silently.

3. Commit the lockfile

The manifest bootstraps a fresh machine; the lockfile is what guarantees identical bytes thereafter. Commit qvr.lock together with qvr.toml (and the manifest, if you keep one) to version control. qvr.toml carries the declared intent and the project's default agent targets so routing travels with the repo; qvr.lock is self-sufficient, so qvr sync on a fresh clone rebuilds the whole set from the lock alone — CI never needs qvr.toml:

git add qvr.toml qvr.lock skills.lock.txt
git commit -m "Pin agent skill set"

4. Assert reproducibility in CI

Use the read-only assertions so CI fails loudly on drift or a stale lock — never silently reconciles:

qvr sync --check       # read-only: exit non-zero if project is out of sync; writes nothing
qvr sync --locked      # restore worktrees but make NO lock changes; fail if lock is stale or drifted
qvr sync --frozen      # restore strictly from the lock as-is; never re-resolve or rewrite it

A typical CI step:

qvr sync --locked && qvr list

--check is the lightest gate (does not even touch the filesystem). --locked additionally restores worktrees so the rest of the job can run against real skills, while still failing if a sync would have to modify qvr.lock.

Gotchas

  • Pin on the export side, not the import side. export --frozen bakes a --commit=<sha> into each manifest line; a plain qvr import of that manifest reproduces exact bytes. A ref-only manifest (no --frozen export) re-resolves to the ref tip on import — so the pin you keep or lose is decided at export. Don't reach for import --frozen to "keep the pin": it's a re-import drift-guard that needs an existing qvr.lock and fails on a from-scratch machine.
  • --allow-drift defeats the purpose. It downgrades subtreeHash drift to a warning; it's a rare local-debug escape hatch and must never appear in CI.
  • Edit/link skills don't travel. They live in the project tree. Export them with --include-local only as documentation; the recipient must re-create them (see fork-and-publish-skill).
  • Manifest ≠ lockfile. The manifest is for bootstrapping a new environment; the lockfile is the reproducibility guarantee. Keep both in sync by re-exporting after you change the set.

Troubleshooting

  • CI passes locally but fails in the pipeline — the lock is likely stale or an entry drifted. Reproduce with qvr sync --locked; inspect with qvr lock verify and qvr status (see verify-skill-supply-chain).
  • Import installs a different commit than expected — you imported a ref-only manifest. Re-export with --frozen (which embeds --commit= pins) and import it plainly; the pins are honored without an import-side --frozen flag.
  • --frozen requires a readable lock file — you passed import --frozen on a fresh machine with no qvr.lock. Drop --frozen: a plain import of a frozen (commit-pinned) manifest is already byte-exact.
  • A skill silently missing after import — it was an edit/link (local) skill, skipped by default. Re-create it in the project.

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

Kỹ năng AI Reproduce Skill Env làm được gì?

Reproduces an exact agent-skill set across machines, teammates, and CI using qvr's portable manifest and lockfile guarantees. Use when a user wants to share, pin, replicate, or CI-gate their qvr skills — e.g. "export my skills", "import this skill manifest", "pin everything to exact commits", "make skills reproducible", "fail CI if skills drift", or "onboard a teammate to the same skills". Covers qvr export/import, --frozen pinning, and the sync --locked / sync --check CI assertions.

Vì sao nên dùng Reproduce Skill Env 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. Reproduce Skill Env 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 Reproduce Skill Env trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/try-agora/qvr/tree/main/skills/reproduce-skill-env. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để 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 Reproduce Skill Env?

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 Reproduce Skill Env 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 Reproduce Skill Env 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 Reproduce Skill Env có miễn phí không?

Có. Kỹ năng này được try-agora 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 👇