Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Task (go-task)

$ task Community Low Risk
Task Contributors · Code & DevOps · MIT · macos / linux / windows

A 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.

FCRS-1.0 Score
90 /100
Excellent
Medium Confidence
Zero-Friction Install
brew install go-task
CLI vs MCP Decision CLI Only

Runs local Taskfile.yml commands directly via a fast Go binary; MCP provides no benefit.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
✓ Dry-Run
— Read-Only Mode
✓ NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 22 / 25

Supports task --list --json, --dry, --yes (skips task prompts), and NO_COLOR=1 for clean headless automation.

  • task --list --json returns structured task metadata
  • --dry and --yes handle preview and prompt bypass
Trust & Safety 22 / 25

Supports --dry preview and native Taskfile.yml checksum/timestamp fingerprinting with zero remote auth surface.

  • task --dry previews commands safely before running
Setup & Portability 15 / 15

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
Utility & Efficiency 14 / 15

File-checksum sources/generates caching avoids redundant rebuilds automatically.

  • Incremental up-to-date checks via timestamps or checksums
Maintenance & Lineage 8 / 10

Actively maintained MIT project (go-task/task) with steady releases.

  • Active community maintenance under MIT license
Docs & Verifiability 9 / 10

Well-structured documentation at taskfile.dev covering all CLI flags and YAML schema.

  • Complete usage reference at taskfile.dev/usage/

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

No credentials stored; reads local Taskfile.yml and optional dotenv files.

Side Effects
Read-Only Local Write
Cost & Quotas

MIT open-source Go binary; completely free.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# 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

List available tasks as JSON
task --list --json

Outputs all public tasks, descriptions, and locations in structured JSON.

Preview a task without executing commands
task --dry build

Prints the commands task build would execute without running them.

Controlled Writes & Previews

Run a task non-interactively
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 --json and task --dry make agent discovery and preflight inspection effortless.
  • + --yes skips prompt: guards cleanly in CI/agent flows.

Caveats & Pitfalls

  • ! Task stdout itself is plain text rather than JSON.
  • ! Tasks with prompt: will hang unless --yes is explicitly passed.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI