launch_skill
- Python
31
GitHub Stars
1
Bundled Files
6 months ago
Catalog Refreshed
8 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill dagster-io/skills --skill launch- SKILL.md9.4 KB
Overview
This skill helps you launch (materialize) Dagster assets and jobs with clear, copy‑pasteable commands and practical guidance. It covers asset selection (tags, groups, kinds), partitions and backfills, configuration injection, environment variable handling, and basic troubleshooting. Use it whenever you want to run, execute, or backfill assets or jobs in a Dagster project.
How this skill works
The skill parses your intent (single asset, multiple assets, job, partitioned run, config-driven run, or troubleshooting) and extracts asset names, selection patterns, partition keys/ranges, and config needs. It returns ready-to-run dg launch commands, selection examples (tag/group/kind/wildcard), partition and backfill syntax, config JSON patterns, .env and uv usage, and quick debug steps. For ambiguous requests it asks a focused clarifying question to determine exact assets or partition ranges.
When to use it
- Run a single asset or a set of assets by name
- Materialize a job or run a partitioned job for a specific date
- Backfill a partition range for historical data
- Launch assets filtered by tag, group, kind, or wildcard
- Pass inline or file-based config when executing assets
- Troubleshoot failing asset launches and validate definitions
Best practices
- Prefer maintainable selection patterns: tag:*, group:*, kind:* rather than long name lists
- Use partition keys or partition-range for repeatable backfills instead of ad-hoc runs
- Keep complex configs in a JSON file and pass with --config-json "$(cat config.json)"
- Use uv run to activate the project Python environment when launching locally
- Validate definitions before running: dg check defs and list available assets with dg list defs
Example use cases
- Launch one asset: dg launch --assets customers
- Launch a group or tag: dg launch --assets "group:sales_analytics" or dg launch --assets "tag:priority=high"
- Run a single partition: dg launch --assets my_daily_asset --partition 2024-01-15
- Backfill a date range: dg launch --assets my_asset --partition-range "2024-01-01...2024-01-31"
- Run a job with config: dg launch --job my_daily_job --config-json '{"ops":{...}}'
FAQ
Dagster projects automatically load .env files. For local runs prefer uv run dg launch --assets <asset> to ensure the Python environment is activated.
What date formats work for partitions?
Date format depends on your partition definition. Commonly ISO dates like 2024-01-15 are used; check your partition type and validate with dg check defs.