Skip to content
Agentmart
Submit a tool

nomad-jobs

Author new Nomad v1.11.2 HCL job specs, review and validate existing specs, and convert Docker Compose files to Nomad HCL — service, batch, and periodic/cron…

Skill by MoltenRuby

IndexedMIT
Write a review

Chalk Labs

Need help deploying nomad-jobs?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/moltenruby-nomad-jobs

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Author new Nomad v1.11.2 HCL job specs, review and validate existing specs, and convert Docker Compose files to Nomad HCL — service, batch, and periodic/cron jobs using the docker task driver only

Use cases: devops, productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/nomad-jobs

What's inside

Skill name
nomad-jobs
Description
Author new Nomad v1.11.2 HCL job specs, review and validate existing specs, and convert Docker Compose files to Nomad HCL — service, batch, and periodic/cron jobs using the docker task driver only
License
MIT
Compatibility
opencode
Instructions
77 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

## Nomad jobs skill

Apply these rules whenever authoring, reviewing, or converting Nomad job specifications.

### Constraints

- **Nomad version:** v1.11.2 only. Do not use fields, stanzas, or behaviours introduced in later versions.
- **Format:** HCL only. Never produce JSON job specs.
- **Task driver:** `docker` only. Never use `exec`, `raw_exec`, `java`, or any other driver.
- **Job types:** `service` and `batch` only, including periodic variants. Do not generate `system` or `sysbatch` jobs unless the user explicitly requests it.

---

### Authoring new job specs

When asked to create a new Nomad job spec:

1. Always include the top-level required fields: `job`, `datacenters`, `type`.
2. For `service` jobs: include at minimum one `group` with a `task`, a `network` stanza, and a `service` stanza with a health check.
3. For `batch` jobs: set `type = "batch"`. Include a `restart` stanza with `attempts = 0` and `mode = "fail"` unless the user specifies otherwise.
4. For periodic/cron jobs: add a `periodic` stanza with `cron`, `prohibit_overlap = true`, and `time_zone = "UTC"` unless the user specifies a timezone. Set the job `type` to `"batch"` for periodic batch jobs.
5. Always set resource limits explicitly: `cpu`, `memory` in the `resources` stanza. Never rely on defaults.
6. For the `docker` driver, always include:
   - `image` in `config`
   - `force_pull = true` unless the user specifies otherwise
   - `auth` block if the image is from a private registry (prompt the user for credentials handling strategy)
7. Use `template` stanzas with `env = true` for environment variable injection from Consul or Vault where appropriate.
8. Output the complete job spec. Never truncate or use placeholder comments like `# ... rest of config`.

---

### Reviewing and validating existing job specs

When asked to review or validate an existing HCL job spec:

1. Check for **correctness**: missing required fields, invalid field values for Nomad v1.11.2, and deprecated stanzas.
2. Check for **safety**: missing resource limits, missing health checks on service jobs, `force_pull = false` on docker tasks without a pinned digest, missing `restart` or `reschedule` policies.
3. Check for **best practices**: overly broad `datacenters` wildcards, missing `update` stanza on service jobs, missing `vault` or `template` stanzas where secrets appear hardcoded in `env`.
4. Structure your review as a list of findings, each with:
   - **Severity:** `error` (will fail validation or cause runtime failure), `warning` (risky but valid), or `suggestion` (improvement only)
   - **Location:** the stanza path (e.g. `job > group "web" > task "app" > config`)
   - **Description:** what the issue is and why it matters
   - **Fix:** the corrected HCL snippet
5. End the review with a summary of counts: `X error(s), Y warning(s), Z suggestion(s)`.
6. Remind the user to run `nomad job validate <file>` before deploying.

---

### Converting Docker Compose to Nomad HCL

When asked to convert a `docker-compose.yml` to Nomad HCL:

1. Map each top-level `services` entry to a separate Nomad `group` within a single job, unless the user requests separate job files per service.
2. Apply these mappings:

   | Docker Compose field | Nomad HCL equivalent |
   |---|---|
   | `image` | `config { image = "..." }` |
   | `ports` | `network { port "label" { to = <container_port> } }` + `service { port = "label" }` |
   | `environment` | `env { ... }` block on the task |
   | `volumes` (host-bind) | `config { volumes = ["host:container"] }` |
   | `command` / `entrypoint` | `config { command = "..." args = [...] }` |
   | `labels` | `meta { ... }` on the group |
   | `restart: always` | `restart { attempts = 10 mode = "delay" }` |
   | `restart: no` | `restart { attempts = 0 mode = "fail" }` |
   | `healthcheck` | `service { check { ... } }` stanza |
   | `mem_limit` | `resources { memory = <MiB> }` |
   | `cpus` | `resources { cpu = <MHz> }` (note: Nomad uses MHz, not fractional CPUs — state the assumed MHz value and ask the user to confirm) |

3. For any Docker Compose key not in the table above and not mappable to Nomad HCL, explicitly list it in an **Unmapped fields** section at the end of the output:
   - Field name and value
   - Reason it cannot be mapped
   - Suggested manual remediation if one exists
4. Always output the complete converted HCL. Never truncate.
5. Remind the user to run `nomad job validate <file>` on the output before deploying.

From MoltenRuby/MrSmith, MIT.

More from MoltenRuby/MrSmith

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Mar 21, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from MoltenRuby

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get nomad-jobs running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying nomad-jobs?

CallGet help
Cite this page

nomad-jobs skill. Agent Mart. https://agentmart.dev/skills/moltenruby-nomad-jobs (last updated 2026-10-24)