Skip to content
Back to skills

Pipelines And Models

ASecurity

"Use ModelScope inference pipelines, model/preprocessor registries,

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
developmentpythonrustapibackend

Works with

  • cli
  • api

Security analysis

A100/100

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

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill pipelines-and-models --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pipelines And Models?

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

Security grade badge for Pipelines And Models
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-pipelines-and-models/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-pipelines-and-models)

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: pipelines-and-models
description: "Use ModelScope inference pipelines, model/preprocessor registries,
  output keys, and safe local custom pipeline smoke checks."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Pipelines and Models

Use this sub-skill when a task needs ModelScope inference or registry behavior:
constructing `pipeline(...)`, loading `Model.from_pretrained(...)` or
`Preprocessor.from_pretrained(...)`, choosing task constants, reading standard
`OutputKeys`, validating batching behavior, or creating a local custom pipeline
smoke check.

## Fast routing

- Start with [references/workflows.md](references/workflows.md) for the decision
  flow: default task model, explicit hub/local model, local config, explicit
  preprocessor, custom `pipeline_name`, device, revision, optional dependency,
  and `trust_remote_code` choices.
- Use [references/api-reference.md](references/api-reference.md) for signatures,
  call flow, registry construction, config loading, and trust boundaries.
- Use [references/task-output-reference.md](references/task-output-reference.md)
  for `Tasks`, input checking, output key conventions, and safe result handling.
- Use [references/troubleshooting.md](references/troubleshooting.md) when a
  registry lookup, optional backend import, CUDA/device selection, hub download,
  Python config, plugin, or output-key check fails.
- Run [scripts/custom_pipeline_smoke.py](scripts/custom_pipeline_smoke.py) to
  verify local custom pipeline registration without network, training, downloads,
  CUDA, or writes outside a temporary directory.

## Scope boundaries

This sub-skill covers inference and registry workflows only. For template-file
creation with ModelScope CLI, route to `../customization-and-development/SKILL.md`.
For training, evaluation loops, metrics-in-trainer usage, or checkpoint training
outputs, route to `../training-and-evaluation/SKILL.md`. For detailed dataset
loading, `MsDataset.load(...)`, dataset schemas, or dataset cache behavior, route
to `../datasets-config/SKILL.md`.

CUDA, domain-specific accelerator execution, and heavyweight model downloads are
optional and unverified in this production scope. Prefer explicit CPU execution
for portable smoke checks.

Files in this skill

  • SKILL.md2.2 KB
  • references/api-reference.md9.1 KB
  • references/task-output-reference.md4.6 KB
  • references/troubleshooting.md4.7 KB
  • references/workflows.md7.4 KB
  • scripts/custom_pipeline_smoke.py5.2 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.