Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

dagu

БесплатноБез исполняемых скриптовНе проверен

Authors, validates, and troubleshoots Dagu DAG definitions and assists with Dagu CLI operations. Use when creating or debugging DAG YAML, choosing Dagu…

dagucloudот dagucloud★ 4 731 звезда на GitHub

Об этом скилле

DAG Authoring

Load only the reference file that matches the task.

Default Approach

  • Prefer type: graph for new DAGs. It supports both sequential flow via depends: 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 requires llm: and a tasks: list stating when the run is finished. The model may select multiple distinct, independent actions in one turn; Dagu runs them concurrently up to max_active_steps (0 is unlimited, 1 is serial). Same-batch actions cannot consume sibling outputs, while failures do not cancel siblings. set_task_status and ask_user must be called alone.
  • Use type: build only for local regular-file pipelines whose unchanged transformations should be reused across runs.
  • Prefer id on every step. Omit name unless the display label must differ from the step ID.
  • Prefer dagu schema ... and dagu 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.render when generating text files, prompts, or artifacts instead of assembling them with shell echo or heredocs.
  • Prefer action: js.run for transforming data between steps (parsing, filtering, reshaping, extracting with regular expressions, computing values) instead of python -c, Python or Node heredocs, or awk, sed, and jq pipelines in run:. 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 for output:. Pass data in with with.input or with.input_file. Keep run: for invoking CLIs and for work that needs the network, the filesystem, environment variables, or a library; js.run has none of these. A single jq path such as .items[].id is fine in jq.filter.
  • Prefer file.* actions for local file operations such as stat, read, write, copy, move, delete, mkdir, and list instead of shelling out to cp, mv, rm, or mkdir.
  • Prefer xlsx.* actions for .xlsx workbooks: xlsx.read for rows, xlsx.validate before acting on them, xlsx.write or xlsx.append for reports, xlsx.update_rows to write per-row results back, xlsx.write_cells to fill a template, xlsx.sheet to manage sheets, xlsx.convert to hand a sheet to a tool that reads CSV, and xlsx.extract to 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 with dagu xlsx inspect or the MCP workbook read target.
  • Prefer git.worktree.add and git.worktree.remove when 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.artifact when 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. Use DAG_RUN_ARTIFACTS_DIR only when a tool truly needs a filesystem path inside the step.
  • Prefer string-form output: VAR_NAME for 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_FILE when a step must publish explicit values for ${steps.<step_id>.outputs.<name>}.
  • Use action: human.task when an operator must provide typed input before downstream steps continue. Human task form outputs use ${steps.<step_id>.outputs.<name>} without an authored outputs: field.
  • Prefer stdout.outputs or action: outputs.write when 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 tools using aqua shorthand when the binary version affects reproducibility, for example tools: ["jqlang/[email protected]"]. Append #sha256:<64 hex> to also pin the dow
Полный SKILL.md на GitHub

Установить dagu в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/build.mdreferences/cli.mdreferences/coming-from-ansible.mdreferences/coming-from-rundeck.mdreferences/context.mdreferences/dagu-action.mdreferences/file-dependencies.mdreferences/harnesses.mdreferences/server-operations.mdreferences/steptypes.md

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), без исполняемых скриптов.

Похожие скиллы

Сравнить dagu с