Skip to content
Back to skills

Metaflow

ASecurity

"Guides Metaflow workflow authoring, local and remote execution,

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

Works with

  • cli
  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

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

Scanned September 8, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Metaflow?

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

Security grade badge for Metaflow
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-metaflow/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-metaflow)

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: metaflow
description: "Guides Metaflow workflow authoring, local and remote execution,
  client/data access, cards, dependency environments, deployment orchestration,
  and repository maintenance."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Metaflow Repo Skill

Use this skill when a task involves the `metaflow` Python package, Metaflow flow scripts, Metaflow client objects, runtime decorators, cards, deployment backends, or maintaining the Metaflow repository. Metaflow is a workflow framework for building, running, observing, scaling, and deploying data science and ML systems from Python `FlowSpec` classes.

## Start Here

1. Install or verify Metaflow in the target environment:
   ```bash
   python -m pip install metaflow
   python - <<'PY'
   import metaflow
   print(metaflow.__version__)
   PY
   ```
2. If automation cannot infer a username, set one before running flow CLIs:
   ```bash
   export USERNAME=${USERNAME:-disco}
   ```
3. For a local flow script, prefer:
   ```bash
   python flow.py --no-pylint check
   python flow.py run --max-workers 1
   python flow.py version
   ```
   The top-level `metaflow` command has no `--version` option; flow scripts expose `version` as a subcommand.
4. For a quick public-package diagnostic, run [`scripts/check_metaflow_environment.py`](scripts/check_metaflow_environment.py).

## Route By Task

| User intent | Read |
| --- | --- |
| Write, check, run, resume, or debug a local `FlowSpec`; use `Parameter`, `Config`, `IncludeFile`, foreach, or local decorators | [`sub-skills/flow-authoring/SKILL.md`](sub-skills/flow-authoring/SKILL.md) |
| Run flows from Python code, notebooks, or subprocess wrappers with `Runner`, `NBRunner`, `Deployer`, or returned `ExecutingRun` objects | [`sub-skills/runner-and-programmatic/SKILL.md`](sub-skills/runner-and-programmatic/SKILL.md) |
| Query runs/artifacts/logs/tags through `Flow`, `Run`, `Task`, metadata, namespaces, datastores, or `S3` datatools | [`sub-skills/client-and-data/SKILL.md`](sub-skills/client-and-data/SKILL.md) |
| Add or inspect Metaflow Cards, `current.card`, card CLI output, task logs, sidecars, or runtime observability | [`sub-skills/cards-and-observability/SKILL.md`](sub-skills/cards-and-observability/SKILL.md) |
| Use AWS Batch, Kubernetes, Argo Workflows, Step Functions, Airflow, projects, schedules, events, secrets, or remote compute resources | [`sub-skills/deployment-orchestration/SKILL.md`](sub-skills/deployment-orchestration/SKILL.md) |
| Configure `@pypi`, `@conda`, `--environment=conda|pypi|uv`, code packaging, package suffixes, or extension/plugin loading | [`sub-skills/dependency-environments/SKILL.md`](sub-skills/dependency-environments/SKILL.md) |
| Modify this repository, choose tests, follow contributor policy, or work with devstack/stubs/R/package maintenance | [`sub-skills/repo-maintenance/SKILL.md`](sub-skills/repo-maintenance/SKILL.md) |

## Shared References

- Read [`references/api-and-cli-overview.md`](references/api-and-cli-overview.md) for verified public imports, high-level CLI groups, and common object names.
- Read [`references/troubleshooting.md`](references/troubleshooting.md) for cross-cutting install/import, username, optional dependency, and source-dependency mistakes.
- Read [`references/repo-provenance.md`](references/repo-provenance.md) before deciding whether this skill is current for a Metaflow checkout or should be refreshed.
- [`references/repo-routing-metadata.json`](references/repo-routing-metadata.json) provides structured routing metadata for managed repo-skill import.

## Boundaries

- Local authoring and package inspection are CPU-capable. Cloud, Kubernetes, Argo, Airflow, Azure, GCP, S3 service, devstack, and GPU/PyTorch parallel paths require the relevant credentials, services, or hardware and are not proven by a CPU import.
- This skill is for using or maintaining Metaflow. For unrelated MLOps packages, choose the package-specific skill instead.
- Runtime guidance is self-contained. Do not require future agents to open the original repository checkout; use the bundled references and scripts here.

Files in this skill

  • SKILL.md4.1 KB
  • references/api-and-cli-overview.md2.5 KB
  • references/repo-provenance.md1.5 KB
  • references/repo-routing-metadata.json386 B
  • references/troubleshooting.md1.8 KB
  • scripts/check_metaflow_environment.py2.7 KB
  • sub-skills/cards-and-observability/SKILL.md1.8 KB
  • sub-skills/cards-and-observability/references/cards.md1.5 KB
  • sub-skills/cards-and-observability/references/logging-and-sidecars.md839 B
  • sub-skills/cards-and-observability/references/troubleshooting.md1.1 KB
  • sub-skills/cards-and-observability/scripts/card_flow.py652 B
  • sub-skills/client-and-data/SKILL.md1.9 KB
  • sub-skills/client-and-data/references/client-api.md1.1 KB
  • sub-skills/client-and-data/references/configuration.md1.2 KB
  • sub-skills/client-and-data/references/data-and-datastores.md1.2 KB
  • sub-skills/client-and-data/references/troubleshooting.md1.2 KB
  • sub-skills/client-and-data/scripts/client_query_smoke.py1.7 KB
  • sub-skills/dependency-environments/SKILL.md1.9 KB
  • sub-skills/dependency-environments/references/dependency-environments.md1.6 KB
  • sub-skills/dependency-environments/references/packaging-and-extensions.md1.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.