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

HashiCorp Nomad

$ nomad Official High Risk
HashiCorp · Cloud & Infra · BSL-1.1 · macos / linux / windows

HashiCorp Nomad CLI (nomad) schedules and inspects containers, binaries, and batch jobs across Nomad clusters from a single Go binary, featuring -json across status/inspect commands, nomad job plan dry-run scheduling, and ACL token scoping.

FCRS-1.0 Score
84 /100
Good
Medium Confidence
Zero-Friction Install
brew install hashicorp/tap/nomad
CLI vs MCP Decision CLI Preferred vs MCP

nomad supports nomad job plan dry-runs and -json queries directly against cluster HTTP APIs with zero MCP overhead.

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 21 / 25

Supports -json across status, inspect, and alloc queries, plus nomad job plan dry-run scheduling.

  • Supports -json on status/inspect and nomad job plan
Trust & Safety 21 / 25

nomad job plan + -check-index optimistic concurrency lock prevents race-condition deployments, backed by ACL tokens.

  • job plan + -check-index prevents concurrent overwrite races
Setup & Portability 14 / 15

Single static Go binary via Homebrew or official downloads across macOS, Linux, and Windows.

  • Single Go binary via brew install hashicorp/tap/nomad
Utility & Efficiency 12 / 15

Simpler operational footprint than Kubernetes for mixed container and raw-exec workloads.

  • Single-binary scheduler client and cluster tooling
Maintenance & Lineage 8 / 10

Official hashicorp/nomad repository maintained under BSL-1.1.

  • Official hashicorp/nomad repository
Docs & Verifiability 8 / 10

Clear HashiCorp Developer CLI command docs and --help.

  • Official docs at developer.hashicorp.com/nomad

Security, Auth & Guardrails

Auth Modes
Env API Key Config File
Credential Storage

Reads NOMAD_ADDR, NOMAD_TOKEN, NOMAD_NAMESPACE, and TLS certificates (NOMAD_CACERT, NOMAD_CLIENT_CERT) from environment variables.

Side Effects
Read-Only Remote Write Destructive
Cost & Quotas

CLI binary is free under BSL-1.1; jobs run on your own compute nodes.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Nomad CLI Agent Rules
- Verify `NOMAD_ADDR` and `NOMAD_NAMESPACE` before running commands.
- ALWAYS run `nomad job plan <file>` first and pass `-check-index <n>` when submitting updates.
- Never run `nomad job stop -purge` without explicit user confirmation.

Agent-Ready Command Recipes

Safe Read-Only Queries

List Nomad jobs in JSON
nomad job status -json

Outputs all registered Nomad jobs, statuses, and namespaces as JSON.

Dry-run a Nomad job spec with nomad job plan
nomad job plan app.nomad.hcl

Simulates scheduler placement and prints exact allocation diffs plus a modify index without deploying.

Controlled Writes & Previews

Submit a job guarded by the planned -check-index
nomad job run -check-index 42 app.nomad.hcl

Applies the job only if the cluster state matches the -check-index returned by nomad job plan.

Strengths for Agents

  • + nomad job plan + run -check-index gives atomic compare-and-swap deployment safety.
  • + Consistent -json flag on status and inspection commands.
  • + Single fast Go binary with clean ACL token (NOMAD_TOKEN) and namespace scoping.

Caveats & Pitfalls

  • ! nomad job plan outputs human-readable diff text and uses exit code 1 when changes exist.
  • ! BSL-1.1 license applies to recent Nomad versions.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI