Agent Skill · cast freeform-summary-to-cwl-design
Translate a free-form source summary into a CWL workflow design brief.
← 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:freeform-summary-to-cwl-design
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:
$freeform-summary-to-cwl-design
Skill Bundle
/ packaged cast
- attached files
- 0
- upfront
- 0
- on demand
- 0
- cast rev
- n/a
- validated
- 0
Produces: 1 artifact.
Consumes: 1 artifact.
Artifact Contract
/ skill handoff Produces
freeform-cwl-design
Combined CWL interface + data-flow design brief; a single reviewable handoff for free-form sources until examples justify a split.
markdownfreeform-cwl-design.md
Raw artifact contract
{
"id": "freeform-cwl-design",
"kind": "markdown",
"default_filename": "freeform-cwl-design.md",
"description": "Combined CWL interface + data-flow design brief; a single reviewable handoff for free-form sources until examples justify a split."
}
Consumes
freeform-summary
Free-form source summary emitted by [[summarize-paper]] or [[interview-to-freeform-summary]]; methods, tools, sample data, references, and workflow intent.
Raw artifact contract
{
"id": "freeform-summary",
"description": "Free-form source summary emitted by [[summarize-paper]] or [[interview-to-freeform-summary]]; methods, tools, sample data, references, and workflow intent.",
"producers": [
"interview-to-freeform-summary",
"summarize-paper"
]
}
SKILL.md
# freeform-summary-to-cwl-design
Follow the procedure below and use the artifact/reference sections as the runtime contract.
## When To Use
- Translate a free-form source summary into a CWL workflow design brief.
## Inputs
- Read artifact `freeform-summary`. Produced by `interview-to-freeform-summary`, `summarize-paper`. Free-form source summary emitted by summarize-paper or interview-to-freeform-summary; methods, tools, sample data, references, and workflow intent.
## Outputs
- Write artifact `freeform-cwl-design` as `freeform-cwl-design.md`. Format: `markdown`. Combined CWL interface + data-flow design brief; a single reviewable handoff for free-form sources until examples justify a split.
## 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
Read a free-form source summary and emit a reviewable Markdown CWL workflow design brief. Combine interface choices and abstract data-flow choices until free-form source examples justify a cleaner split.
The output is not a concrete CWL Workflow. summary-to-cwl-template turns this brief and the free-form summary into a skeleton.
## Feedback Mode
- Feedback mode is off unless the caller explicitly enables `--feedback` or supplies a feedback-ledger path.
- When enabled, read `_feedback.md` before doing the work and use its registered `foundry-feedback.ledger.yml` protocol.
- Preserve harness-owned run and phase state. Append only concrete observations about a canonical Foundry source asset or a related project that this run showed to be at fault; do not put ordinary workflow requirements in this ledger.
- Before reporting completion, make one explicit pass over the work you just did. Do not ask yourself whether anything was unclear — recall what happened: where you guessed at something the instructions should have settled, needed information this bundle does not carry, hit an instruction that contradicted another or contradicted the artifacts in front of you, used a packaged reference that did not cover your case, or did something the procedure never describes.
- Append an entry for each such event that clears the protocol's bar. If none do, append nothing and report `no feedback` explicitly. Silence and a clean pass are not the same thing, and nothing downstream can tell them apart unless you say which one it was.
- Pass the same ledger path to any subagent used for this work, and merge updates serially so one writer cannot overwrite another.
## 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.