digdag
Installation
SKILL.md
Treasure Workflow (Digdag)
Write .dig workflow files for Treasure Data.
Official docs: https://docs.treasure.ai/products/customer-data-platform/data-workbench/workflows
Workflow Lifecycle
Creating a New Workflow
Use create_workflow MCP tool to scaffold a new workflow. This creates manifest.yml, a template .dig file, and queries/main.sql. When a workspace is active, the workflow is created in {workspace}/workflows/{name}/ by default; otherwise in ~/.tdx/workflows/{name}/. Use the scope parameter to override.
After creation, edit the .dig file and queries to define the workflow logic, then deploy with tdx wf push.
Importing an Existing Workflow from TD
Use tdx wf pull to download, then register_workflow MCP tool to copy the files and generate manifest.yml. Same scope rules as create_workflow.