dare-dag-viz

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

A diagram generator that turns the current task dependency file, `dare-dag.yaml`, into an editable Excalidraw drawing. Each task shows its name, complexity, and status, with arrows showing dependencies.

In plain words
What is it for?
Use it to create `DARE/dag-graph.excalidraw` for reviewing or sharing a project’s task graph in Excalidraw.
Why use it?
It makes a task dependency graph easier to understand than reading a YAML file. Visual colours and layout help reveal task order, complexity, and failures.

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-viz
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-viz

README.md
[![agentmods](https://agentmods.dev/badge/commands/dewtech-technologies/dare-method/dare-dag-viz.svg)](https://agentmods.dev/commands/dewtech-technologies/dare-method/dare-dag-viz)
Your own site
<a href="https://agentmods.dev/commands/dewtech-technologies/dare-method/dare-dag-viz"><img src="https://agentmods.dev/badge/commands/dewtech-technologies/dare-method/dare-dag-viz.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 1,524 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.01524
Opus 5 $0.00000 $0.00762
Sonnet 5 $0.00000 $0.00305
Haiku 4.5 $0.00000 $0.00152

Measured 4d ago against content hash 868e45916564, 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-viz 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 4d 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-viz.md · 198 lines

How it starts

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

/dare-dag-viz — Visualizar DAG com Excalidraw

Gera diagrama interativo .excalidraw a partir do dare-dag.yaml atual, com cores semânticas por complexidade e status visual das tasks.

O que faz

  1. DARE/dare-dag.yaml (grafo de tasks + dependências)
  2. Mapeia cada task para um retângulo Excalidraw com:
    • Cor baseada em complexity (LOW=azul, MED=laranja, HIGH=rosa)
    • Status visual (PENDING/RUNNING/DONE/FAILED)
    • ID + nome da task
  3. Agrupa tasks por rank em colunas verticais (swim lanes)
  4. Cria setas para cada dependência (depends_on)
  5. Salva em DARE/dag-graph.excalidraw

Output é um arquivo editável e interativo — abre direto em https://excalidraw.com.

Convenções visuais

Referência: /docs/DESIGN-TOKENS-EXCALIDRAW.md

Cores por complexidade:

  • 🔵 Azul (#e3f2fd) = LOW
  • 🟠 Laranja (#fff3e0) = MEDIUM
  • 🔴 Rosa (#fce4ec) = HIGH

Status:

  • ⏳ PENDING = cinza, stroke normal
  • ⚙️ RUNNING = azul, stroke pontilhado
  • ✅ DONE = verde
  • ❌ FAILED = vermelho

Posicionamento:

  • Cada task ocupa 120×60px
  • Tasks no mesmo rank ficam lado a lado (swim lane)
  • Setas conectam dependências

Exemplo de output

Arquivo DARE/dag-graph.excalidraw com estrutura:

Rank 1
├── task-001 (LOW, DONE)
├── task-002 (HIGH, PENDING)

Rank 2
├── task-003 (MEDIUM, RUNNING) ← depende de task-001
├── task-004 (LOW, PENDING) ← depende de task-001

Rank 3
└── task-005 (HIGH, PENDING) ← depende de task-003 e task-004

Como usar

Primeira vez

/dare-dag-viz

Claude Code vai:

  1. Ler DARE/dare-dag.yaml
  2. Gerar JSON .excalidraw
  3. Salvar em DARE/dag-graph.excalidraw
  4. Output: "✅ DAG gerado — abra em https://excalidraw.com"

Atualizar após mudanças

Sempre que você atualiza dare-dag.yaml:

/dare-dag-viz

Isso regenera o diagrama com as novas tasks/dependências.

Abrir e editar

  1. Acesse https://excalidraw.com
  2. File → Open → selecione DARE/dag-graph.excalidraw
  3. Edite livremente:
    • Mova elementos
    • Customize cores/textos
    • Adicione anotações
  4. Salve no mesmo arquivo

Read the full file on GitHub · 198 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. 4d ago First seen · 198 lines · 0 tokens per session scan A 868e45916564

Subscribe to this mod's changes

dare-dag-viz 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 1,524 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.