AGENT SKILL

legacy-migration

Migrate Argilla v1/Rubrix users, workspaces, and legacy task datasets into Argilla 2.x safely.

License 许可
Apache-2.0
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
legacy-migration
license
Apache 2.0
metadata
{ "disco-role": "operating" }
description
Migrate Argilla v1/Rubrix users, workspaces, and legacy task datasets into Argilla 2.x safely.
disable-model-invocation
true

02 资源文件 4

03 SKILL.md 正文

Legacy migration

Use this sub-skill when you need to move legacy Argilla v1/Rubrix users, workspaces, and task-specific datasets into Argilla 2.x, or when you need to explain why a legacy dataset should not be migrated as-is.

Read these bundled references:

  • references/migration-workflow.md when you are planning the migration order, choosing a v1-to-v2 mapping, or deciding whether the source is already a FeedbackDataset.
  • references/legacy-api-reference.md when you need the exact legacy compatibility calls, the current v2 counterparts, or the dependency traps to avoid.
  • references/troubleshooting.md when imports, credentials, IDs/passwords, record shapes, or search-index refresh questions fail.

Run this bundled script:

  • scripts/legacy_migration_skeleton.py when you want a safe argparse starting point or a TODO-based migration plan template. It only prints a plan/template and does not talk to a server unless you later edit the placeholder hooks.

Use this sub-skill for:

  • import argilla.v1 as rg_v1 compatibility workflows.
  • Retrieving legacy users and workspaces from a v1/Rubrix server.
  • Recreating users and workspaces on a current Argilla 2.x server.
  • Rebuilding DatasetForTextClassification, DatasetForTokenClassification, and DatasetForText2Text as v2 rg.Settings + rg.Dataset objects.
  • Mapping legacy records into dataset.records.log(...) with fields, metadata, vectors, suggestions, and responses.

Do not use this sub-skill for:

  • Fresh current-only dataset workflows -> use python-sdk.
  • Deployment, proxying, or search-index reindex mechanics -> use server-ops.
  • Deep legacy training, monitoring, or listener frameworks -> out of scope here.

Before you start, confirm:

  • Legacy server URL and API key.
  • Current Argilla 2.x server URL and API key.
  • Backups and export-first handling.
  • Passwords cannot be recovered from the legacy server.
  • If IDs and passwords must stay stable, a same-server upgrade or temporary v2 copy path is safer than a fresh re-creation.
  • If you need the old package for deeper inspection, keep it in a separate legacy inspection environment; do not add broad legacy extras to the current Argilla 2.x server env.

Migration in one line:

  1. Extract from rg_v1.
  2. Recreate rg.User and rg.Workspace.
  3. Define v2 rg.Settings and rg.Dataset.
  4. Convert legacy records to rg.Record.
  5. Upload with dataset.records.log(...).
  6. Hand off search-index refresh questions to server-ops when the problem is operational rather than schema-level.

Note: FeedbackDataset already uses the v2 format. Do not run the legacy schema migration for it; only search-index refresh/reindex may be needed after a 2.x server change.

Provenance: distilled from the current Argilla 2.8.0dev0 SDK/server inspection, the legacy-dataset migration guide, the Rubrix migration note, the argilla.v1 shim, and argilla-v1 package metadata/source names.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-triton-opt

Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-solve

END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-skill

PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-pattern-fusion

Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-orchestrate

Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-feedback

Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).

★ 351