| name | download-artifacts |
| description | Use this skill when the user wants to download GitHub Actions artifacts from repo-digest workflows. Triggers when the user mentions "download artifact", "get the digest", "fetch artifact", "latest digest", or references workflows like "triton-daily-digest", "triton-weekly-digest", "xla-daily-digest", "llvm-weekly-digest", "maxtext-daily-digest", "maxtext-weekly-digest", "jax-daily-digest", or "jax-weekly-digest". |
Download Artifacts
Download digest artifacts from repo-digest GitHub Actions workflows using the bundled script.
Script
Run ./scripts/download-artifacts.sh from the project root. The script is also available at skills/download-artifacts/scripts/download-artifacts.sh.
Arguments
User request: $ARGUMENTS
If no arguments are provided, ask the user which workflow to download from and how many artifacts they want. Do not assume a default.
If latest is given without specifying a workflow, also ask which workflow.
Parse the arguments to determine:
- Which workflow to use:
triton or triton-daily → triton-daily-digest.yml, triton-weekly → triton-weekly-digest.yml, xla → xla-daily-digest.yml, llvm-weekly → llvm-weekly-digest.yml, maxtext or maxtext-daily → maxtext-daily-digest.yml, maxtext-weekly → maxtext-weekly-digest.yml, jax or jax-daily → jax-daily-digest.yml, jax-weekly → jax-weekly-digest.yml.
- How many artifacts: if a number is given (e.g.
3), pass it as -n. Default: 1.
Steps
- Parse $ARGUMENTS to identify workflow and count (see above)
- Look up the correct artifact name for that workflow (see table below)
- Run the script with the appropriate flags
- Report what was downloaded and where it was saved
Workflows and artifact names
| Workflow file | Display name | Artifact name |
|---|
triton-daily-digest.yml | Daily TRITON Digest | digest |
triton-weekly-digest.yml | Weekly TRITON Digest | weekly-digest |
xla-daily-digest.yml | Daily XLA Digest | digest |
llvm-weekly-digest.yml | Weekly LLVM Digest | llvm-digest-weekly |
maxtext-daily-digest.yml | Daily MaxText Digest | maxtext-digest |
maxtext-weekly-digest.yml | Weekly MaxText Digest | maxtext-weekly-digest |
jax-daily-digest.yml | Daily JAX Digest | jax-digest |
jax-weekly-digest.yml | Weekly JAX Digest | jax-weekly-digest |
Script options
| Flag | Description | Default |
|---|
-n <count> | Number of recent artifacts | 1 |
-r <repo> | Repository in owner/repo format | inferred from git |
-o <dir> | Output directory | ./downloads |
-a <name> | Artifact name to download | digest |
Examples
./scripts/download-artifacts.sh -a digest triton-daily-digest.yml
./scripts/download-artifacts.sh -n 3 -a digest xla-daily-digest.yml
./scripts/download-artifacts.sh -a digest xla-daily-digest.yml
./scripts/download-artifacts.sh -a weekly-digest triton-weekly-digest.yml
./scripts/download-artifacts.sh -a llvm-digest-weekly llvm-weekly-digest.yml
./scripts/download-artifacts.sh -a maxtext-digest maxtext-daily-digest.yml
./scripts/download-artifacts.sh -a maxtext-weekly-digest maxtext-weekly-digest.yml
./scripts/download-artifacts.sh -a jax-digest jax-daily-digest.yml
./scripts/download-artifacts.sh -a jax-weekly-digest jax-weekly-digest.yml
Notes
- Artifacts are saved to
./downloads/run-<run_id>/
- Already-downloaded runs are skipped and counted toward the total
- Requires
gh CLI authenticated with access to ROCm/repo-digest