/major-ai-skills:nomadfrom major-ai-skills
Author Nomad jobspecs with resource limits, canary/auto-revert updates, and Consul/Vault integrations; always nomad job plan before run and debug blocked evaluations agents miss.
Ships in major-ai-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Nomad schedules jobs → task groups → tasks onto a client fleet using drivers (Docker, exec, Java, etc.). Servers evaluate and place allocations; clients start tasks. Compared to Kubernetes, jobspecs are compact HCL and commonly pair with @consul (discovery/checks) and @vault (secrets). Prefer nomad job plan then run -check-index, digest-pinned images, and canary + auto_revert over surprise in-place restarts.
┌─────────────────────────────────────────────────────────────┐
│ Nomad schedule path │
│ │
│ jobspec.hcl ──plan──► dry-run diff + modify index │
│ │ │
│ └── run -check-index ──► servers evaluate │
│ │ │
│ ├── place allocs on feasible clients │
│ └── blocked eval if resources/constraints │
│ │
│ Client drivers (docker/exec/…) start tasks │
│ ├── Consul service + check (optional) │
│ └── Vault template / workload identity (optional) │
└─────────────────────────────────────────────────────────────┘
Use when
Do not use when
@kubernetes / @helm.@docker.:latest images and no resources in prod jobspecs → refuse; require digests + CPU/memory.nomad job plan before nomad job run on shared clusters; use -check-index from the plan.resources.cpu and resources.memory on every task—no unbounded tasks.api-prod, api-dev); use namespaces + ACLs on multi-team clusters.image_pull_timeout when registries are slow.canary, auto_revert, realistic healthy_deadline / progress_deadline.nomad eval status—completed eval + blocked follow-up is normal when infeasible.NOMAD_TOKEN patterns only.job "api" {
datacenters = ["dc1"]
type = "service"
namespace = "default"
meta {
git_sha = "REPLACE_WITH_CI_SHA"
}
group "api" {
count = 2
network {
port "http" {
to = 8080
}
}
update {
max_parallel = 1
canary = 1
auto_revert = true
auto_promote = false
health_check = "checks"
min_healthy_time = "30s"
healthy_deadline = "5m"
progress_deadline = "10m"
}
task "api" {
driver = "docker"
config {
image = "ghcr.io/example/api@sha256:REPLACE_DIGEST"
ports = ["http"]
image_pull_timeout = "10m"
}
resources {
cpu = 200
memory = 256
}
service {
name = "api"
port = "http"
tags = ["prod"]
check {
type = "http"
path = "/healthz"
interval = "10s"
timeout = "2s"
}
}
# Optional: Vault-backed env — role name only, no secret literals
# vault { policies = ["api-read"] }
}
}
}
nomad job plan api.hcl
# Note Job Modify Index from plan output, then:
nomad job run -check-index <modify-index> api.hcl
nomad status api
nomad deployment status -monitor <deployment-id>
nomad alloc status <alloc-id>
nomad alloc logs <alloc-id>
nomad eval status <eval-id> # placement failures / blocked evals
nomad job scale api api 4
# nomad job stop -purge api # only with explicit approval
| Signature | Likely cause | Fix path |
|---|---|---|
| queued / exhausted / blocked eval | Insufficient CPU/memory or constraint miss | eval status; scale clients or lower asks; fix constraints |
| driver failure / pull error | Image missing, auth, or pull timeout | Client logs; registry creds; raise image_pull_timeout |
| unhealthy canary / deploy failed | Check failing or progress deadline | alloc logs; fix health; auto_revert should roll back |
| constraint mismatch | node class/unique unmet | Label nodes or relax constraints |
| placement “complete” but job pending | Follow-on blocked evaluation | nomad eval status chain; wait for capacity |
| Vault template errors | Policy/role misbind | Fix Vault policy; do not embed secrets in HCL |
| Version skew errors | Servers/clients outside support skew | Upgrade clients/servers within HashiCorp policy |
meta; promote digests from CI.auto_revert=true for prod services.@consul for discovery and @vault for secrets; @packer for golden client images.@consul — service registration and checks from Nomad tasks@vault — secret injection / workload identity patterns@docker — build and publish task images@terraform — provision Nomad server/client fleet@kubernetes — alternative orchestrator when the platform standard is K8sMANDATORY: Run
nomad job plan(and prefer-check-index) before applying on shared clusters. Set CPU/memory on every task; pin image digests; use canary +auto_revertfor prod services. Debug blocked evaluations explicitly. Never embed registry, Vault, or Nomad tokens in jobspecs.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub alivirgo/major-ai-skills --plugin major-ai-skills412 skills in this plugin
/3d-slicerAutomate 3D Slicer research workflows with MRML, VTK/ITK, DICOM data, and Segment Editor. Use for software workflows, not clinical interpretation./abbreviated-git-statusInspect Git branch, staging, and working-tree changes with short or porcelain status output when a compact repository check is needed./ableton-liveAutomate Ableton Live sessions with Python MIDI Remote Scripts, Max for Live, AbletonOSC, and Link synchronization./act-as-a-personal-tutorExplain a subject step by step, assess prior knowledge, and use short exercises to check understanding before advancing.Other plugins' skills for the same job