Skip to content
Back to skills

Local Inference

ASecurity

"Run or adapt local Skywork-R1V3 inference commands with safe

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
toolspythonbashtestingapibackend

Works with

  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill local-inference --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Local Inference?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Local Inference
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-local-inference-40730239/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-local-inference-40730239)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: local-inference
description: "Run or adapt local Skywork-R1V3 inference commands with safe
  Transformers/vLLM guidance."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# Local Skywork-R1V3 inference

Use this sub-skill when a user wants to run, adapt, or debug local Skywork-R1V3 multimodal inference with either the Transformers entrypoint or the vLLM entrypoint.

Do not use this sub-skill for Skywork-R1V4 API batch testing; route that workflow to `r1v4-api-testing`. Do not use it for VLMEvalKit, EMMA, MMK12, or benchmark reproduction; route those workflows to `evaluation-reproduction`.

## Operating posture

- Treat full Skywork-R1V3-38B inference as a heavy CUDA workflow. The safe helpers in this subtree do not load models, download checkpoints, initialize vLLM, import torch, or touch GPUs.
- Default model identity for local inference is `Skywork/Skywork-R1V3-38B`; allow a local checkpoint path or compatible model id when the user has already prepared weights.
- Confirm the backend first: Transformers for direct `model.chat()` behavior and explicit image patch lists; vLLM for tensor-parallel generation using chat templates.
- Confirm image count and prompt tags before running. Multi-image prompts need one image token per image unless the backend helper already adds them.
- Be explicit that native full-run verification is optional/unexecuted unless the user supplies model weights, CUDA dependencies, GPUs, and runtime budget.

## Fast routing checklist

1. Need a command without loading the model? Use [`scripts/build_inference_command.py`](scripts/build_inference_command.py).
2. Need to estimate image tiling/patch pressure without torch? Use [`scripts/check_image_grid.py`](scripts/check_image_grid.py).
3. Need command and setup details? Read [`references/workflows.md`](references/workflows.md).
4. Need exact flags and defaults? Read [`references/api-and-parameters.md`](references/api-and-parameters.md).
5. Hit CUDA, model-loading, vLLM, image-tag, or OOM errors? Read [`references/troubleshooting.md`](references/troubleshooting.md).

## Minimal safe helper examples

```bash
python scripts/build_inference_command.py --backend transformers \
  --image-path demo.png \
  --question "Describe the image and reason step by step."

python scripts/check_image_grid.py --width 1600 --height 900 --thumbnail
```

The generated command is only a command string for the user to run in their prepared inference environment; it is not executed by the helper.

Files in this skill

  • SKILL.md2.5 KB
  • references/api-and-parameters.md5.4 KB
  • references/troubleshooting.md5.8 KB
  • references/workflows.md7.6 KB
  • scripts/build_inference_command.py6.7 KB
  • scripts/check_image_grid.py5.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.