Skip to content
Back to skills

Flow Authoring

ASecurity

"Guides authoring, checking, running, resuming, and debugging local

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
devopspythongokubernetesawsdebugging

Works with

  • cli

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 flow-authoring --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Flow Authoring?

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

Security grade badge for Flow Authoring
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-flow-authoring-arex-skill/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-flow-authoring-arex-skill)

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: flow-authoring
description: "Guides authoring, checking, running, resuming, and debugging local
  Metaflow FlowSpec workflows with parameters, configs, files, foreach, and
  decorators."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Flow Authoring

Use this sub-skill when the task is to create or debug a Metaflow flow script, inspect the flow graph, run locally, resume, or reason about `FlowSpec`, `@step`, `self.next`, parameters, configs, `IncludeFile`, foreach, or local step decorators.

## Quick Route

- Read [`references/workflows.md`](references/workflows.md) for the standard local authoring and CLI loop.
- Read [`references/parameters-and-configs.md`](references/parameters-and-configs.md) for `Parameter`, `JSONType`, `Config`, `config_expr`, and `IncludeFile` behavior.
- Read [`references/advanced-flow-patterns.md`](references/advanced-flow-patterns.md) for foreach, joins, `merge_artifacts`, resume, and local decorators.
- Read [`references/troubleshooting.md`](references/troubleshooting.md) for reserved parameter names, invalid graph transitions, username failures, and file/config issues.
- Run or adapt [`scripts/hello_flow.py`](scripts/hello_flow.py) when you need a self-contained starter flow with parameters and foreach.

## Minimal Flow Pattern

```python
from metaflow import FlowSpec, Parameter, step

class ExampleFlow(FlowSpec):
    count = Parameter("count", default=3, type=int)

    @step
    def start(self):
        self.values = list(range(self.count))
        self.next(self.work, foreach="values")

    @step
    def work(self):
        self.result = self.input * 2
        self.next(self.join)

    @step
    def join(self, inputs):
        self.results = [task.result for task in inputs]
        self.next(self.end)

    @step
    def end(self):
        print(self.results)

if __name__ == "__main__":
    ExampleFlow()
```

Use `python flow.py --no-pylint check` before `run` when lint dependencies are not installed. Use `python flow.py version` for the package version.

## Boundaries

- For `Runner`, `NBRunner`, or programmatic execution, route to [`../runner-and-programmatic/SKILL.md`](../runner-and-programmatic/SKILL.md).
- For reading finished runs, artifacts, tags, logs, metadata providers, or S3 datatools, route to [`../client-and-data/SKILL.md`](../client-and-data/SKILL.md).
- For Cards and `current.card`, route to [`../cards-and-observability/SKILL.md`](../cards-and-observability/SKILL.md).
- For AWS Batch, Kubernetes, Argo, Step Functions, Airflow, schedules, triggers, secrets, or projects, route to [`../deployment-orchestration/SKILL.md`](../deployment-orchestration/SKILL.md).
- For `@pypi`, `@conda`, `--environment`, or package suffixes, route to [`../dependency-environments/SKILL.md`](../dependency-environments/SKILL.md).

Files in this skill

  • SKILL.md2.8 KB
  • references/advanced-flow-patterns.md1.5 KB
  • references/parameters-and-configs.md2.1 KB
  • references/troubleshooting.md1.5 KB
  • references/workflows.md2 KB
  • scripts/hello_flow.py1.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.