AGENT SKILL

data-and-configs

Prepare and validate MMAction2 data annotations, pipelines, config inheritance, overrides, and safe data/config utilities.

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

01 前言 Front Matter

name
data-and-configs
license
Apache 2.0
metadata
{ "disco-role": "operating" }
description
Prepare and validate MMAction2 data annotations, pipelines, config inheritance, overrides, and safe data/config utilities.
disable-model-invocation
true

02 资源文件 4

03 SKILL.md 正文

MMAction2 data and configs router

Use this sub-skill when the user needs to prepare, inspect, or debug MMAction2 dataset annotations, dataloader sections, transform pipelines, config inheritance, or --cfg-options overrides before training, testing, or inference.

Owned operating references

  • Data and config reference: dataset schemas, data_prefix keys, pipeline patterns, config families, _base_ inheritance, naming, and override examples.
  • Tooling reference: safe config inspection, safe data-utility decisions, and bounded validation templates.
  • Troubleshooting: annotation, prefix, decode, AVA, localization, audio, video-text, pipeline, and config override errors.
  • Config inspector script: parses a user-supplied config and prints a safe summary without building datasets, scanning media, training, testing, or writing outputs.

Fast routing

Handle here:

  • Choosing between VideoDataset, RawframeDataset, PoseDataset, AudioDataset, AVADataset, ActivityNetDataset, and VideoTextDataset.
  • Writing or validating rawframe/video/skeleton/audio/AVA/localization/video-text annotation files.
  • Editing train_dataloader, val_dataloader, test_dataloader, train_pipeline, val_pipeline, and test_pipeline sections.
  • Explaining config families, file-name parts, _base_ inheritance, and --cfg-options quoting.
  • Safely inspecting a config with python scripts/mmaction2_config_inspector.py --config CONFIG.py --show-dataloaders --show-pipelines.

Route elsewhere:

  • Actual training, testing, metrics execution, distributed launch, resume, AMP, work directories, checkpoints: ../training-and-evaluation/SKILL.md.
  • Inference APIs, inferencer/demo runtime, checkpoint/config pairing for prediction: ../inference-and-demos/SKILL.md.
  • Custom model classes, registry/export/deployment, or new registered transforms/datasets beyond config usage: ../models-and-extension/SKILL.md.

Required safety checks

  1. Treat all config files as Python programs. Inspect only trusted user-provided config files, and never run training or dataset builders from this sub-skill.
  2. Prefer the bundled config inspector for summaries; it resolves config text and overrides but does not instantiate datasets/models.
  3. Before any dataset-scale utility, require explicit user confirmation for input root, output root, write behavior, worker count, expected size, and whether network access is allowed.
  4. Never enable destructive delete options while diagnosing data quality unless the user explicitly asks after seeing a dry-run report.
  5. Keep evidence self-contained: answer from these references and user-provided files instead of sending future agents to source docs, examples, tests, or config files.

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