review-bench/calkit_calkit/add-pipeline-stage

Claude Code and agent skill by review-bench/calkit_calkit

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Add a single new stage to an existing Calkit pipeline. Use when

Install

npx vskill@latest install review-bench/calkit_calkit/add-pipeline-stage

SKILL.md

The same SKILL.md was published earlier as calkit/calkit/add-pipeline-stage.

Add a pipeline stage

Add a single new stage to an existing Calkit pipeline—wiring up the right environment, inputs, outputs, and storage mode.

Before you start

Read calkit.yaml to understand what environments are already defined (you will reuse one if it fits) and what stages already exist and what they output (your new stage may depend on them).

Option A: Add with calkit xr

Use xr when the stage is a script or notebook file (.py, .ipynb, .R, .jl, .m, .sh, .tex) and you want auto-detection of I/O and environment.

bash
calkit xr scripts/new-stage.py --dry-run # preview first
calkit xr scripts/new-stage.py # run for real

Override detected I/O or environment if needed:

bash
calkit xr scripts/new-stage.py \
--input data/processed.csv \
--input config/params.yaml \
--output results/output.csv \
--environment main

After running, inspect the new stage in calkit.yaml to confirm I/O is correct.

Option B: Write the stage manually

Write YAML directly when the stage is a shell command, or when you need iterate_over, specific storage modes, or other fine-grained control.

File typeStage kind
.pypython-script
.ipynbjupyter-notebook
.shshell-script
Inline commandshell-command or command
.texlatex
.Rr-script
.jljulia-script
.mmatlab-script
docker run ...docker-command
yaml
pipeline:
stages:
# ... existing stages ...
new-stage-name:
kind: python-script
script_path: scripts/new-stage.py
environment: main # must match a key in environments:
inputs:
- data/processed.csv
outputs:
- results/output.csv

Wiring dependencies

If the new stage reads files produced by an existing stage, declare them as inputs. List files explicitly, or depend on all outputs of a prior stage:

yaml
inputs:
- data/processed.csv # explicit file
- from_stage_outputs: process-data # all outputs of that stage

If an existing stage reads files your new stage now produces, update that stage's inputs too.

Output storage

  • git—small or text files collaborators should see without calkit pull

(PDFs, summary CSVs, HTML reports)

  • dvc (default)—large or binary files
yaml
outputs:
- results/large-matrix.npy # DVC (default)
- path: results/summary.csv
storage: git
- path: results/report.html
storage: git
delete_before_run: false # keep old version if stage is skipped

After adding the stage

bash
calkit run # run full pipeline
calkit run new-stage-name # run only this stage
calkit status # check what's stale
calkit commit -am "Add new-stage-name stage"

Common mistakes

  • Wrong environment name: Must exactly match a key in environments. Run

calkit check env --name <env> to verify.

  • Two stages claiming the same output: Each file can only be the output of

one stage.

  • Missing inputs: If a stage reads a file but doesn't declare it, DVC

won't re-run the stage when that file changes.

  • Editing `dvc.yaml`: Don't—it's auto-generated from calkit.yaml.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/review-bench/calkit_calkit/add-pipeline-stage/badge)](https://verified-skill.com/skills/review-bench/calkit_calkit/add-pipeline-stage)

Something wrong with this skill or its page? Tell us.