Agent skill
nomad
HashiCorp Nomad workload orchestration. Use for job scheduling.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/nomad
SKILL.md
Nomad
HashiCorp Nomad is a flexible scheduler that orchestrates just about anything: containers, binaries, or VMs. Nomad 1.8+ (2025) focuses on Workload Identity (JWT) for secure, secret-less authentication.
When to Use
- Simplicity: You don't need the complexity of Kubernetes (etcd, controllers, CRDs).
- Non-Container Workloads: You need to orchestrate raw
java -jarornginxbinaries directly on Linux/Windows. - Edge: Single binary, low resource usage.
Quick Start
job "example" {
datacenters = ["dc1"]
group "cache" {
task "redis" {
driver = "docker"
config {
image = "redis:7"
}
resources {
cpu = 500 # 500 MHz
memory = 256 # 256 MB
}
}
}
}
Core Concepts
Jobs
The unit of work. Defined in HCL (HashiCorp Configuration Language).
Drivers
Nomad uses drivers to run tasks: docker, exec (raw binaries), java, qemu (VMs).
Workload Identity
Nomad issues a JWT to running tasks. Tasks generally trade this JWT with Vault to get database passwords or AWS keys, removing the need to hardcode secrets.
Best Practices (2025)
Do:
- Use Workload Identity: Integrate with Vault and Consul securely.
- Use Consul Connect: For service mesh features (mTLS, observability) between tasks.
- Keep it Simple: Don't try to reimplement K8s on top of Nomad. Embrace the simplicity.
Don't:
- Don't ignore state: Nomad handles stateful workloads, but K8s has a richer ecosystem of Operators for complex databases. Stick to stateless or simple stateful (Redis) on Nomad if possible.
References
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?