Hatchet CLI

Hatchet CLI skills for managing workflows, workers, and runs. Use this skill when triggering workflows, starting workers, debugging runs, replaying failed runs, or setting up the Hatchet CLI and profiles. Use when this capability is needed.

tomevault-io Updated

File contents

Hatchet CLI Agent Skills

This skill package teaches AI agents how to use the Hatchet CLI to manage workflows, workers, and runs.

When to use these skills

Read the relevant reference document before performing any Hatchet CLI task:

  • Setting up the CLI or creating a profilereferences/setup-cli.md
  • Starting a workerreferences/start-worker.md
  • Triggering a workflow and waiting for resultsreferences/trigger-and-watch.md
  • Debugging a failed or stuck runreferences/debug-run.md
  • Replaying a run with the same or new inputreferences/replay-run.md

Key conventions

  • Always specify a profile with -p HATCHET_PROFILE unless a default profile is set.
  • Use -o json for machine-readable output when parsing responses.
  • Write workflow input to a temp file (e.g. /tmp/hatchet-input-$(date +%s)-$$.json) to avoid collisions.
  • Clean up temp files after use.

Source: hatchet-dev/hatchet — distributed by TomeVault.

tomevault-io/skills-registry/tree/main/hatchet-dev--hatchet--hatchet commit 99630be6bd

Frequently asked questions

npx skillmds@latest add tomevault-io/hatchet-cli