Agent Skill · cast implement-cwl-tool-step
Convert an abstract step into a concrete CWL CommandLineTool + step.
← All cast skills · Source mold →
Install with Claude Code
/plugin marketplace add galaxyproject/foundry
/plugin install foundry-skills@galaxy-workflow-foundry
Then invoke as:
/foundry-skills:implement-cwl-tool-step
Install with Codex
codex plugin marketplace add galaxyproject/foundry
codex plugin add foundry-skills@galaxy-workflow-foundry
Then select with /skills or invoke explicitly as:
$implement-cwl-tool-step
Skill Bundle
/ packaged cast
- attached files
- 0
- upfront
- 0
- on demand
- 0
- cast rev
- n/a
- validated
- 0
Produces: 1 artifact.
Consumes: 2 artifacts.
Artifact Contract
/ skill handoff Produces
cwl-workflow-draft
CWL Workflow skeleton with one more abstract step replaced by a concrete CommandLineTool step (loop iteration output).
yamlcwl-workflow-draft.cwl
Raw artifact contract
{
"id": "cwl-workflow-draft",
"kind": "yaml",
"default_filename": "cwl-workflow-draft.cwl",
"description": "CWL Workflow skeleton with one more abstract step replaced by a concrete CommandLineTool step (loop iteration output)."
}
Consumes
cwl-tool-summary
Compact CWL tool summary from [[summarize-cwl-tool]]; binds the abstract step to a concrete CommandLineTool.
Raw artifact contract
{
"id": "cwl-tool-summary",
"description": "Compact CWL tool summary from [[summarize-cwl-tool]]; binds the abstract step to a concrete CommandLineTool.",
"producers": [
"summarize-cwl-tool"
]
}
cwl-workflow-draft
CWL Workflow skeleton being filled in step by step; the step replaces a placeholder in this draft.
Raw artifact contract
{
"id": "cwl-workflow-draft",
"description": "CWL Workflow skeleton being filled in step by step; the step replaces a placeholder in this draft.",
"producers": [
"implement-cwl-tool-step",
"summary-to-cwl-template"
]
}
SKILL.md
# implement-cwl-tool-step
Follow the procedure below and use the artifact/reference sections as the runtime contract.
## When To Use
- Convert an abstract step into a concrete CWL CommandLineTool + step.
## Inputs
- Read artifact `cwl-tool-summary`. Produced by `summarize-cwl-tool`. Compact CWL tool summary from summarize-cwl-tool; binds the abstract step to a concrete CommandLineTool.
- Read artifact `cwl-workflow-draft`. Produced by `implement-cwl-tool-step`, `summary-to-cwl-template`. CWL Workflow skeleton being filled in step by step; the step replaces a placeholder in this draft.
## Outputs
- Write artifact `cwl-workflow-draft` as `cwl-workflow-draft.cwl`. Format: `yaml`. CWL Workflow skeleton with one more abstract step replaced by a concrete CommandLineTool step (loop iteration output).
## Required Tools
- None declared. Procedure should not assume external CLIs are present.
## Load Upfront
- None declared.
## Load On Demand
- None declared.
## Validation
- None declared.
## Procedure
Bind one abstract step to a concrete CWL CommandLineTool using its summarize-cwl-tool summary, replacing a single placeholder in the CWL workflow draft per loop iteration.
## Runtime Notes
- Do not read Foundry source files at runtime; use only files packaged in this skill bundle and user-supplied artifacts.
- Preserve declared artifact filenames unless the user or harness supplies explicit paths.
- Carry unresolved assumptions into the output artifact instead of silently inventing missing source evidence.