dagr-producer

dagr-producer is a skill for Claude Code, Codex from aemrebarut/herdr-dagr. It costs 70 tokens per session (6,116 once invoked), scanned A, original, Apache-2.0.

Instructions for writing a dagr run file: a validated JSON record of projects, tasks, attempts, checks, evidence, policies, and events that dagr displays as a dependency graph.

In plain words
What is it for?
Recording multi-step agent work, tracking task status and evidence, and maintaining a live graph that dagr view can render.
Why use it?
They reduce errors in the graph by requiring the file to pass dagr’s strict validator before work begins.

Skill for Claude CodeCodex

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

Good fit Recording multi-step agent work, tracking task status and evidence, and maintaining a live graph that dagr view can render.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aemrebarut/herdr-dagr/dagr-producer
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 aemrebarut/herdr-dagr --skill dagr-producer
Clone the repo
git clone --depth 1 https://github.com/aemrebarut/herdr-dagr

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 dagr-producer

README.md
[![agentmods](https://agentmods.dev/badge/skills/aemrebarut/herdr-dagr/dagr-producer/github.svg)](https://agentmods.dev/skills/aemrebarut/herdr-dagr/dagr-producer)
Your own site
<a href="https://agentmods.dev/skills/aemrebarut/herdr-dagr/dagr-producer"><img src="https://agentmods.dev/badge/skills/aemrebarut/herdr-dagr/dagr-producer/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 dagr-producer

Your own site · 80×15
<a href="https://agentmods.dev/skills/aemrebarut/herdr-dagr/dagr-producer"><img src="https://agentmods.dev/badge/skills/aemrebarut/herdr-dagr/dagr-producer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,116 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00070 $0.06116
Opus 5 $0.00035 $0.03058
Sonnet 5 $0.00014 $0.01223
Haiku 4.5 $0.00007 $0.00612

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

Security

Grade A, and why

dagr-producer 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 13d 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.

skills/dagr-producer/SKILL.md · 499 lines

How it starts

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

dagr producer — write the run, prove the run

You are the producer: the single writer of a run file that dagr view renders live. dagr is a representation kernel: you assert task truth, and it derives only defined view signals from those facts. Missing or wrong facts still produce a missing or wrong graph; there is no workflow engine to repair it.

Contract version: "dagr": 3 (v1/v2 files remain readable; write v3 for new runs).

Find your validator (before you write anything)

The check loop below is the only feedback you get, so resolve the dagr binary FIRST and stop if you can't:

  1. $DAGR_BIN if set;
  2. command -v dagr (on PATH);
  3. the plugin/repo build: <dagr repo>/target/release/dagr — inside a herdr pane the runtime injects $HERDR_PLUGIN_ROOT, which IS the dagr repo root;
  4. fallback: cargo run --manifest-path <dagr repo>/Cargo.toml -- check ….

No validator available → do not start writing run files; say so and stop. An unvalidated run file is exactly the silent wrongness this whole system exists to prevent.

The loop (non-negotiable)

write run.json.tmp → dagr check run.json.tmp --strict --json → fix → repeat until []
                                                             → THEN rename over run.json

Validate the candidate, then publish it — never the other way around. The pane renders whatever run.json holds, immediately; renaming an invalid candidate over it shows your error state to every viewer while you iterate. The safe transaction:

  1. Write the complete next document to run.json.tmp (same directory — rename must be atomic, so same filesystem).
  2. dagr check run.json.tmp --strict --json. Exit 0 with [] is clean; exit 1 means findings (E-codes are errors; W-codes mean representable- but-suspect — fix them unless you can say why not; --strict treats them as failures, prefer it). Exit 2 means the validator could not read the file at all — a path or tooling problem, never a document problem; stdout is empty on that path, so never treat empty output as clean. Stop, re-run the preflight, and never publish on a non-zero exit.
  3. Only when clean: mv run.json.tmp run.json (atomic rename — the pane reloads on mtime and never sees a half-written or invalid file).
  4. On failure: fix the temp file and re-check. The previous live file stays untouched — never leave run.json itself in an error state.

Read the full file on GitHub · 499 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. 13d ago First seen · 499 lines · 70 tokens per session scan A b8c306e349e2

Subscribe to this mod's changes

dagr-producer is a skill published in the GitHub repository aemrebarut/herdr-dagr (73 stars, last pushed 20d ago), licensed Apache-2.0. It adds 70 tokens to every session and 6,116 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

fabric-swarm

Creates a self-organizing team of persistent Pi Fabric actors with durable topics, mailboxes, and compare-and-swap tasks. Use for messenger-like collaboration and long-lived delegated work.

monotykamary/pi-fabric · 40 tokens

pm-delegation-patterns

Common delegation patterns for PM agent.

bobmatnyc/claude-mpm · 13 tokens

agent-framework-py-release

Use when cutting a Python release for the microsoft/agent-framework monorepo. Triggers on "bump py versions", "cut a python release", "prepare release PR for python", "release py packages", "bump python to X.Y.Z", or similar requests to bump Python package versions and prepare a release PR. Handles all four lifecycle…

microsoft/agent-framework · 103 tokens

crewai-multi-agent

Multi-agent orchestration framework for autonomous AI collaboration. Use when building teams of specialized agents working together on complex tasks, when you need role-based agent collaboration with memory, or for production workflows requiring sequential/hierarchical execution. Built without LangChain dependencies…

davila7/claude-code-templates · 61 tokens

python-package-management

Guide for managing packages in the Agent Framework Python monorepo, including creating new connector packages, versioning, and the lazy-loading pattern. Use this when adding, modifying, or releasing packages.

microsoft/agent-framework · 43 tokens

foundry-hosted-agent-validation

Step-by-step process for validating a Python Foundry hosted agent sample (under python/samples/04-hosting/foundry-hosted-agents/) end to end — running it locally (native runtime and azd ai agent run) and after deploying it to an Azure AI Foundry project with azd. Use this when asked to validate a hosted agent sample.

microsoft/agent-framework · 82 tokens