dagu
БесплатноБез исполняемых скриптовНе проверенAuthors, validates, and troubleshoots Dagu DAG definitions and assists with Dagu CLI operations. Use when creating or debugging DAG YAML, choosing Dagu…
от dagucloud★ 4 731 звезда на GitHubОб этом скилле
DAG Authoring
Load only the reference file that matches the task.
Default Approach
- Prefer
type: graphfor new DAGs. It supports both sequential flow viadepends:and parallel flow. - Use an Agent DAG (
type: agent) only when the step order cannot be written down in advance and an LLM must choose it. It requiresllm:and atasks:list stating when the run is finished. The model may select multiple distinct, independent actions in one turn; Dagu runs them concurrently up tomax_active_steps(0is unlimited,1is serial). Same-batch actions cannot consume sibling outputs, while failures do not cancel siblings.set_task_statusandask_usermust be called alone. - Use
type: buildonly for local regular-file pipelines whose unchanged transformations should be reused across runs. - Prefer
idon every step. Omitnameunless the display label must differ from the step ID. - Prefer
dagu schema ...anddagu validate ...over guessing field names or shapes. - For requests against a running Dagu server (list, create, run, stop, schedule), follow
references/server-operations.md: detect whether a server exists without asking, then prefer MCP, then REST, then a CLI remote context, and use the local CLI or file edits only as a stated last resort. With no server detected, work locally as usual. A local CLI pointed at the server's data directory is not a server request. - Prefer
action: template.renderwhen generating text files, prompts, or artifacts instead of assembling them with shellechoor heredocs. - Prefer
action: js.runfor transforming data between steps (parsing, filtering, reshaping, extracting with regular expressions, computing values) instead ofpython -c, Python or Node heredocs, orawk,sed, andjqpipelines inrun:. It needs no interpreter on the host or worker, Dagu passes its script as written so${...}and$need no escaping, syntax errors fail validation before a run, and its returned value is clean stdout foroutput:. Pass data in withwith.inputorwith.input_file. Keeprun:for invoking CLIs and for work that needs the network, the filesystem, environment variables, or a library;js.runhas none of these. A single jq path such as.items[].idis fine injq.filter. - Prefer
file.*actions for local file operations such as stat, read, write, copy, move, delete, mkdir, and list instead of shelling out tocp,mv,rm, ormkdir. - Prefer
xlsx.*actions for.xlsxworkbooks:xlsx.readfor rows,xlsx.validatebefore acting on them,xlsx.writeorxlsx.appendfor reports,xlsx.update_rowsto write per-row results back,xlsx.write_cellsto fill a template,xlsx.sheetto manage sheets,xlsx.convertto hand a sheet to a tool that reads CSV, andxlsx.extractto read named fields out of a form-like sheet whose layout differs by sender, instead of a Python or PowerShell script. Inspect a workbook first withdagu xlsx inspector the MCPworkbookread target. - Prefer
git.worktree.addandgit.worktree.removewhen steps need isolated branches inside an existing local Git repository. Add an explicit remove step when the workflow should delete the worktree. - Prefer
stdout.artifact/stderr.artifactwhen a command stream should become a DAG-run artifact, especially for large reports, JSON, Markdown, logs, or generated files. - Prefer
artifact.*actions for explicit artifact reads/writes/lists. UseDAG_RUN_ARTIFACTS_DIRonly when a tool truly needs a filesystem path inside the step. - Prefer string-form
output: VAR_NAMEfor capturing small stdout values into flat variables. - Prefer object-form
output:when downstream steps need structured values via${step_id.output.*}. - Prefer declared step
outputs:with$DAGU_OUTPUT_FILEwhen a step must publish explicit values for${steps.<step_id>.outputs.<name>}. - Use
action: human.taskwhen an operator must provide typed input before downstream steps continue. Human task form outputs use${steps.<step_id>.outputs.<name>}without an authoredoutputs:field. - Prefer
stdout.outputsoraction: outputs.writewhen a DAG or remote action needs to return caller-visible values via${step_id.outputs.*}. - Prefer
state.*actions for small persistent JSON state across DAG runs, such as cursors, checkpoints, and previous-value comparisons. - Prefer temporary files in the artifacts dir only when downstream steps need file paths; otherwise let commands write large artifact content to stdout and attach it with
stdout.artifact. - Prefer scoped Dagu references for named values:
${consts.NAME},${params.NAME}, and${env.NAME}. Avoid unscoped braced names in examples unless the example is intentionally showing shell syntax. - Declare portable external CLI dependencies in top-level
toolsusing aqua shorthand when the binary version affects reproducibility, for exampletools: ["jqlang/[email protected]"]. Append#sha256:<64 hex>to also pin the dow
Установить dagu в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл dagu?
Authors, validates, and troubleshoots Dagu DAG definitions and assists with Dagu CLI operations. Use when creating or debugging DAG YAML, choosing Dagu commands, or inspecting and managing DAGs and runs from the CLI. Also covers operating a running Dagu server (MCP, REST, remote CLI context).
Как установить скилл dagu?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл dagu запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic