dare-dag-run

dare-dag-run is a command for Claude Code from dewtech-technologies/dare-method. It costs 0 tokens per session (838 once invoked), scanned A, original, MIT.

A command that runs a task graph defined in a DARE YAML file, using Claude Code to perform the tasks. A task graph is a set of work items connected by dependencies, and the live progress canvas is stored in a Markdown file.

In plain words
What is it for?
Use it to validate and execute ready tasks, run one specific task, and follow progress in the DARE canvas.
Why use it?
It coordinates which tasks are ready, passes selected results from earlier tasks to later ones, and keeps execution state visible. This reduces manual orchestration for multi-step work.

Command for Claude Code

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.

agentmods
npx agentmods add commands/dewtech-technologies/dare-method/dare-dag-run
Clone the repo
git clone --depth 1 https://github.com/dewtech-technologies/dare-method

Made for: Claude Code.

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 dare-dag-run

README.md
[![agentmods](https://agentmods.dev/badge/commands/dewtech-technologies/dare-method/dare-dag-run.svg)](https://agentmods.dev/commands/dewtech-technologies/dare-method/dare-dag-run)
Your own site
<a href="https://agentmods.dev/commands/dewtech-technologies/dare-method/dare-dag-run"><img src="https://agentmods.dev/badge/commands/dewtech-technologies/dare-method/dare-dag-run.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 838 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00838
Opus 5 $0.00000 $0.00419
Sonnet 5 $0.00000 $0.00168
Haiku 4.5 $0.00000 $0.00084

Measured 3d ago against content hash 684994e04c39, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

dare-dag-run 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 3d 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.

implementations/claude/.claude/commands/dare-dag-run.md · 110 lines

How it starts

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

/dare-dag-run

Executa o grafo de tasks definido em DARE/dare-dag.yaml usando Claude Code como executor e o CLI dare como orquestrador. O canvas ao vivo fica em DARE/.canvas.md.

Sem API keys. Você (Claude Code) usa o plano da IDE/CLI em que o usuário já está autenticado. O CLI apenas coordena estado, monta prompts e atualiza canvas.

Pré-requisitos

  • DARE/dare-dag.yaml existe e foi aprovado
  • Specs em DARE/EXECUTION/task-<id>.md geradas
  • dare disponível no PATH (npm i -g @dewtech/dare-cli)

Como usar

/dare-dag-run
/dare-dag-run --task task-003    # executar só uma task específica

O que fazer

1. Validar pré-condições

  • Confirme que DARE/dare-dag.yaml existe. Se não, oriente /dare-blueprint ou /dare-dag-build
  • Leia o YAML e verifique sem ciclos, ids únicos, ranks paralelizáveis

2. Pegar próximas tasks

dare execute --next

O CLI imprime as tasks ready do rank atual com o prompt completo (snippets de até 2000 chars dos outputs dos pais já costurados). Use esses prompts.

3. Sugerir abrir o canvas

Antes de começar, peça ao usuário abrir DARE/.canvas.md em outra aba.

4. Executar cada task

Para cada task ready:

  1. Leia spec_file se houver
  2. Implemente conforme o prompt
  3. Rode Ralph Loop: build → test → lint
  4. Registre o resultado:
# Sucesso
dare execute --complete task-001 --output "Resumo + arquivos criados (paths)"

# Falha
dare execute --fail task-002 --reason "Mensagem clara da falha"

5. Avançar de rank

dare execute --next

Se aparece ✅ All tasks resolved, todas terminaram. Caso contrário, continue.

6. Pós-execução

dare execute --status

Para retentar tasks FAILED:

dare execute --reset task-002
dare execute --next

Comandos do orquestrador

Comando Função
dare execute --next Próximas tasks ready com prompts compostos
dare execute --complete <id> --output "…" Marca DONE
dare execute --fail <id> --reason "…" Marca FAILED + cascade-skip
dare execute --reset <id> Volta para PENDING
dare execute --status Snapshot do canvas + sumário

Read the full file on GitHub · 110 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. 3d ago First seen · 110 lines · 0 tokens per session scan A 684994e04c39

Subscribe to this mod's changes

dare-dag-run is a command published in the GitHub repository dewtech-technologies/dare-method (5 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 838 tokens. 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-31.