run-program

run-program is a command for Claude Code from felvieira/claude-skills-fv. It costs 27 tokens per session (1,407 once invoked), scanned A, original, Apache-2.0.

A command for running YAML-defined programs as pipelines. YAML is a text format commonly used for configuration, and a pipeline is a sequence of automated steps.

In plain words
What is it for?
Use it to run programs from the programs directory when several commands, review gates, or conditional and parallel steps need to follow a defined workflow.
Why use it?
It makes repeatable multi-step workflows consistent and can include human approval points, conditions, parallel work, and shared values.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: names the AskUserQuestion tool.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/validate-program.mjs programs/<nome>.yml.

Part of the dev-team-kit-fv plugin — 72 skills, 45 commands, 16 agents, 5 hooks shipped together

Good fit Use it to run programs from the programs directory when several commands, review gates, or conditional and parallel steps need to follow a defined workflow.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/felvieira/claude-skills-fv
agentmods
npx agentmods add commands/felvieira/claude-skills-fv/run-program

Made for: Claude Code.

Or install dev-team-kit-fv, the plugin that ships this one along with the rest of its 72 skills, 45 commands, 16 agents, 5 hooks.

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 run-program

README.md
[![agentmods](https://agentmods.dev/badge/commands/felvieira/claude-skills-fv/run-program/github.svg)](https://agentmods.dev/commands/felvieira/claude-skills-fv/run-program)
Your own site
<a href="https://agentmods.dev/commands/felvieira/claude-skills-fv/run-program"><img src="https://agentmods.dev/badge/commands/felvieira/claude-skills-fv/run-program/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 run-program

Your own site · 80×15
<a href="https://agentmods.dev/commands/felvieira/claude-skills-fv/run-program"><img src="https://agentmods.dev/badge/commands/felvieira/claude-skills-fv/run-program.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,407 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.00027 $0.01407
Opus 5 $0.00014 $0.00704
Sonnet 5 $0.00005 $0.00281
Haiku 4.5 $0.00003 $0.00141

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

Security

Grade A, and why

run-program 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 10d ago.

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.

commands/run-program.md · 140 lines

How it starts

The opening of the file, as written. The whole thing — 140 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/run-program — Executable YAML Pipelines

Objetivo: parsear e executar programs/<nome>.yml como pipeline declarativo. Cada step pode ser um command, gate humano, bloco paralelo, ou conditional. Variable substitution via ${inputs.X} e ${steps.X.output}.

Inspiração: github/spec-kit workflows/ + extensões nossas (when, parallel, conditional, vars).

Quando usar

  • pipelines repetidos que mereçam consistência (spec-driven, pipeline-discovery, loop-polishing, detective-spec)
  • fluxos com múltiplos review gates onde "humano decide entre passos"
  • equipes que precisam de mesmo pipeline executado igual por agentes diferentes

Quando NÃO usar

  • task de 1 ou 2 steps — overhead desproporcional
  • exploração sem fluxo definido
  • iteração ad-hoc onde o próximo passo depende de algo dinâmico não modelável

Pré-requisitos

  • arquivo programs/<nome>.yml existe
  • todos os commands referenciados estão disponíveis (/spec, /plan, etc)
  • inputs do programa serão pedidos via AskUserQuestion se obrigatórios

Processo

Passo 1 — Validar o program

node scripts/validate-program.mjs programs/<nome>.yml

Se inválido: abort com lista de erros.

Passo 2 — Resolver inputs

Para cada input em inputs: do YAML:

  • Se passado via --input <key>=<value>, usar
  • Se obrigatório e ausente, usar AskUserQuestion com o prompt do schema
  • Se opcional, usar default (ou pedir confirmação se --ask-all)

Passo 3 — Resolver variable substitution

Antes de executar cada step:

  • Substituir ${inputs.X} por valor real
  • Substituir ${steps.Y.output} ou ${steps.Y.capture.Z} por output capturado anteriormente
  • Substituir ${date}, ${env.X}, etc.

Referências a steps que ainda não rodaram → erro de runtime.

Passo 4 — Executar steps em ordem

Para cada step do array steps[]:

  1. Avaliar when — se false, skip (warning no log)
  2. Despachar pelo tipo:
    • command → invocar slash command via Task ou direto
    • gateAskUserQuestion com options; respeitar on_reject
    • parallel → despachar todos via Task em 1 mensagem; aguardar todos
    • conditional → avaliar if; rodar then[] ou else[]
  3. Capturar output se capture: <name> declarado
  4. Tratar erros conforme on_error (abort/continue/retry)

Read the full file on GitHub · 140 lines

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. 10d ago First seen · 140 lines · 27 tokens per session scan A c900c2e3265a

Subscribe to this mod's changes

run-program is a command published in the GitHub repository felvieira/claude-skills-fv (23 stars, last pushed today), licensed Apache-2.0. It adds 27 tokens to every session and 1,407 once invoked, about $0.0001 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-08-30.