cwl-commandlinetool-starter

cwl-commandlinetool-starter is a skill for Claude Code, Codex from ma-compbio-lab/SkillFoundry. It costs 49 tokens per session (460 once invoked), scanned A, original, Apache-2.0.

A small Common Workflow Language (CWL) example that wraps a command-line program and runs it with cwltool. CWL is a standard way to describe command-line tools and connect them into repeatable workflows.

In plain words
What is it for?
Use it to create and run a one-step CWL tool, inspect its output file, and save a JSON summary of the run.
Why use it?
It lets you verify the basic workflow pattern before building larger or more complex pipelines.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create and run a one-step CWL tool, inspect its output file, and save a JSON summary of the run.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ma-compbio-lab/skillfoundry/cwl-commandlinetool-starter
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ma-compbio-lab/SkillFoundry --skill cwl-commandlinetool-starter
Clone the repo
git clone --depth 1 https://github.com/ma-compbio-lab/SkillFoundry

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cwl-commandlinetool-starter

README.md
[![agentmods](https://agentmods.dev/badge/skills/ma-compbio-lab/skillfoundry/cwl-commandlinetool-starter/github.svg)](https://agentmods.dev/skills/ma-compbio-lab/skillfoundry/cwl-commandlinetool-starter)
Your own site
<a href="https://agentmods.dev/skills/ma-compbio-lab/skillfoundry/cwl-commandlinetool-starter"><img src="https://agentmods.dev/badge/skills/ma-compbio-lab/skillfoundry/cwl-commandlinetool-starter/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cwl-commandlinetool-starter

Your own site · 80×15
<a href="https://agentmods.dev/skills/ma-compbio-lab/skillfoundry/cwl-commandlinetool-starter"><img src="https://agentmods.dev/badge/skills/ma-compbio-lab/skillfoundry/cwl-commandlinetool-starter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 460 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00049 $0.00460
Opus 5 $0.00024 $0.00230
Sonnet 5 $0.00010 $0.00092
Haiku 4.5 $0.00005 $0.00046

Measured 6d ago against content hash 4da6581dfcc4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

cwl-commandlinetool-starter scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/run_cwl_hello.py, tests/test_run_cwl_hello.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/reproducible-workflows/cwl-commandlinetool-starter/SKILL.md · 50 lines

What it actually says

Purpose

Run a small local CWL example end to end and use it as a starter for command-line tool wrapping.

When to use

  • You need a verified local CWL example.
  • You want a starter for wrapping a simple command-line tool in CWL.

When not to use

  • You need cluster scheduling or production orchestration.
  • You need Docker-only workflows.

Inputs

  • A CWL workflow or command-line tool file
  • A YAML or JSON job input file
  • Optional output directory and summary path

Outputs

  • The workflow output file
  • A JSON run summary with the parsed CWL outputs and the rendered greeting text

Requirements

  • slurm/envs/workflow-languages
  • cwltool

Procedure

  1. Run python3 skills/reproducible-workflows/cwl-commandlinetool-starter/scripts/run_cwl_hello.py --message "hello from cwl" --workspace scratch/cwl/workspace --summary-out scratch/cwl/summary.json.
  2. Inspect the raw_summary block and the materialized greeting.txt.
  3. Use examples/hello.cwl and examples/hello-job.yml as the base for a new local CommandLineTool.

Validation

  • cwltool validates and runs successfully.
  • The summary records a greeting text and an output file named greeting.txt.

Failure modes and fixes

  • Missing runtime: verify slurm/envs/workflow-languages exists and contains cwltool.
  • Validation failure: run python -m cwltool --validate on the CWL file before debugging execution.

Safety and limits

  • This skill disables containers and runs a local toy example only.
  • Extend carefully before wrapping destructive commands or large data paths.

Provenance

Files

What ships with it

10 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 50 lines · 49 tokens per session scan A 4da6581dfcc4

Subscribe to this mod's changes

cwl-commandlinetool-starter is a skill published in the GitHub repository ma-compbio-lab/SkillFoundry (38 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 49 tokens to every session and 460 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.