AGENT SKILL

skywork-r1v

Route Skywork-R1V3 local inference, R1V4 API batch testing, and benchmark reproduction workflows to the right bundled sub-skill.

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

01 前言 Front Matter

name
skywork-r1v
license
MIT
metadata
{ "disco-role": "operating" }
description
Route Skywork-R1V3 local inference, R1V4 API batch testing, and benchmark reproduction workflows to the right bundled sub-skill.
disable-model-invocation
true

02 资源文件 5

03 SKILL.md 正文

Skywork-R1V

Use this repo skill when a user asks about the Skywork multimodal reasoning repository, especially Skywork-R1V3 local inference, Skywork R1V4 API batch testing, or evaluation reproduction with VLMEvalKit, EMMA-mini, and MMK12.

This root skill is a router. It keeps the fast path short and sends detailed commands, parameters, and failure handling to the sub-skill that owns the workflow.

First choices

  • Need local Transformers or vLLM inference for Skywork-R1V3? Go to sub-skills/local-inference/.
  • Need R1V4 batch request payloads, response parsing, or result summaries? Go to sub-skills/r1v4-api-testing/.
  • Need Skywork evaluation reproduction, benchmark launch commands, or score post-processing? Go to sub-skills/evaluation-reproduction/.

What this skill covers

  • Skywork-R1V3 local inference command construction and image-patch reasoning.
  • Skywork R1V4 API batch testing and tagged response parsing.
  • VLMEvalKit, EMMA-mini, and MMK12 evaluation reproduction.
  • Safe helper scripts for command building, schema checks, parsing, and output inspection.

What this skill does not do

  • It does not load the 38B model, launch vLLM, or run the heavy evaluation suites by itself.
  • It does not make live API calls, download checkpoints, or request credentials unless the chosen sub-skill says so.
  • It does not replace the need for a prepared CUDA/GPU runtime when the user is actually running local inference.

Minimal setup and sanity check

There is no single top-level Python package to install for this repository. For the bundled helper scripts, use a normal Python environment and install only the small helper stack when needed:

python -m pip install requests tqdm flask pillow pyyaml pandas openpyxl
python scripts/validate_skill_runtime.py --root .

Install CUDA, vLLM, Transformers, model weights, datasets, or judge/API clients only when the chosen sub-skill explicitly requires them for a real run.

Quick routing signals

Local inference

Use local-inference when the request mentions:

  • Skywork/Skywork-R1V3-38B
  • inference_with_transformers.py
  • inference_with_vllm.py
  • split_model, tensor_parallel_size, flash-attn, trust_remote_code
  • multi-image prompts, image patch counts, or CUDA OOM while serving the model

Read:

  • sub-skills/local-inference/references/workflows.md
  • sub-skills/local-inference/references/api-and-parameters.md
  • sub-skills/local-inference/references/troubleshooting.md

Run:

  • sub-skills/local-inference/scripts/build_inference_command.py
  • sub-skills/local-inference/scripts/check_image_grid.py

R1V4 API testing

Use r1v4-api-testing when the request mentions:

  • r1v4-lite or r1v4-vl-planner-lite
  • batch_nonstream.py, batch_stream.py, or planner variants
  • test_cases.jsonl, <think>, <tool_call>, <observation>, <answer> tags
  • result JSONL summaries, MIME types, or a safe batch payload preview

Read:

  • sub-skills/r1v4-api-testing/references/api-batch-workflows.md
  • sub-skills/r1v4-api-testing/references/data-formats.md
  • sub-skills/r1v4-api-testing/references/result-analysis.md
  • sub-skills/r1v4-api-testing/references/troubleshooting.md

Run:

  • sub-skills/r1v4-api-testing/scripts/validate_cases.py
  • sub-skills/r1v4-api-testing/scripts/build_api_payload.py
  • sub-skills/r1v4-api-testing/scripts/parse_r1v4_response.py
  • sub-skills/r1v4-api-testing/scripts/summarize_results.py

Evaluation reproduction

Use evaluation-reproduction when the request mentions:

  • eval/README.md
  • VLMEvalKit launch or benchmark scripts
  • EMMA-mini generation and scoring
  • MMK12 generation or judge scoring
  • MMMU, LogicVista, PhyX, r1v3-alpha, USE_COT, or a served OpenAI-compatible model

Read:

  • sub-skills/evaluation-reproduction/references/vlmevalkit.md
  • sub-skills/evaluation-reproduction/references/emma-mmk12.md
  • sub-skills/evaluation-reproduction/references/data-and-results.md
  • sub-skills/evaluation-reproduction/references/troubleshooting.md

Run:

  • sub-skills/evaluation-reproduction/scripts/build_eval_commands.py
  • sub-skills/evaluation-reproduction/scripts/score_boxed_answers.py
  • sub-skills/evaluation-reproduction/scripts/check_eval_outputs.py

Helper scripts at the root

  • scripts/validate_skill_runtime.py checks that the generated tree still has the expected router layout and does not contain obvious path leaks.

Maintenance note

When you need to check whether this skill still matches the current repository state, read references/repo-provenance.md first. That file records the source commit and evidence paths used to build the skill.

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