Task (go-task)
$ task Community Low RiskA YAML-based Taskfile.yml task runner written in Go that works consistently across macOS, Linux, and Windows. Supports --list --json for structured task discovery, --dry to preview commands, and --yes for non-interactive runs.
brew install go-task Runs local Taskfile.yml commands directly via a fast Go binary; MCP provides no benefit.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports task --list --json, --dry, --yes (skips task prompts), and NO_COLOR=1 for clean headless automation.
task --list --jsonreturns structured task metadata--dryand--yeshandle preview and prompt bypass
Supports --dry preview and native Taskfile.yml checksum/timestamp fingerprinting with zero remote auth surface.
task --drypreviews commands safely before running
Single static Go binary using an embedded POSIX shell (mvdan/sh), ensuring identical behavior on Windows, macOS, and Linux.
- Built-in Go shell interpreter avoids OS shell discrepancies
File-checksum sources/generates caching avoids redundant rebuilds automatically.
- Incremental up-to-date checks via timestamps or checksums
Actively maintained MIT project (go-task/task) with steady releases.
- Active community maintenance under MIT license
Well-structured documentation at taskfile.dev covering all CLI flags and YAML schema.
- Complete usage reference at taskfile.dev/usage/
Security, Auth & Guardrails
No credentials stored; reads local Taskfile.yml and optional dotenv files.
MIT open-source Go binary; completely free.
# Task (go-task) Agent Rules - Run `task --list --json` to discover documented tasks before guessing command names. - Use `task --dry <name>` to verify commands and set `NO_COLOR=1` in agent logs.
Agent-Ready Command Recipes
Safe Read-Only Queries
task --list --json
Outputs all public tasks, descriptions, and locations in structured JSON.
task --dry build
Prints the commands task build would execute without running them.
Controlled Writes & Previews
task test --yes
Executes test and automatically accepts any prompt: confirmations.
Strengths for Agents
- + Embedded Go shell interpreter delivers consistent cross-platform execution even on Windows.
- +
task --list --jsonandtask --drymake agent discovery and preflight inspection effortless. - +
--yesskipsprompt:guards cleanly in CI/agent flows.
Caveats & Pitfalls
- ! Task stdout itself is plain text rather than JSON.
- ! Tasks with
prompt:will hang unless--yesis explicitly passed.