TopRank Skills

Home / Claw Skills / Autres / nomad
Official OpenClaw rules 15%

nomad

Query HashiCorp Nomad clusters. List jobs, nodes, allocations, evaluations, and services. Read-only operations for monitoring and troubleshooting.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 nomad 技能。 若已安装,则直接安装 nomad 技能。

Overview

Skill Key
danfedick/nomad
Author
danfedick
Source Repo
openclaw/skills
Version
1.0.0
Source Path
skills/danfedick/nomad
Latest Commit SHA
d5214ebd1c347475e333978458c72441e57ea5c3

Extracted Content

SKILL.md excerpt

# Nomad Skill

Query HashiCorp Nomad clusters using the `nomad` CLI. Read-only operations for monitoring and troubleshooting.

## Requirements

- `nomad` CLI installed
- `NOMAD_ADDR` environment variable set (or defaults to http://127.0.0.1:4646)
- `NOMAD_TOKEN` if ACLs are enabled

## Commands

### Jobs

List all jobs:
```bash
nomad job status
```

Get job details:
```bash
nomad job status <job-id>
```

Job history:
```bash
nomad job history <job-id>
```

Job deployments:
```bash
nomad job deployments <job-id>
```

### Allocations

List allocations for a job:
```bash
nomad job allocs <job-id>
```

Allocation details:
```bash
nomad alloc status <alloc-id>
```

Allocation logs (stdout):
```bash
nomad alloc logs <alloc-id>
```

Allocation logs (stderr):
```bash
nomad alloc logs -stderr <alloc-id>
```

Follow logs:
```bash
nomad alloc logs -f <alloc-id>
```

### Nodes

List all nodes:
```bash
nomad node status
```

Node details:
```bash
nomad node status <node-id>
```

Node allocations:
```bash
nomad node status -allocs <node-id>
```

### Evaluations

List recent evaluations:
```bash
nomad eval list
```

Evaluation details:
```bash
nomad eval status <eval-id>
```

### Services

List services (Nomad native service discovery):
```bash
nomad service list
```

Service info:
```bash
nomad service info <service-name>
```

### Namespaces

List namespaces:
```bash
nomad namespace list
```

### Variables

List variables:
```bash
nomad var list
```

Get variable:
```bash
nomad var get <path>
```

### Cluster

Server members:
```bash
nomad server members
```

Agent info:
```bash
nomad agent-info
```

## JSON Output

Add `-json` to most commands for JSON output:
```bash
nomad job status -json
nomad node status -json
nomad alloc status -json <alloc-id>
```

## Filtering

Use `-filter` for expression-based filtering:
```bash
nomad job status -filter='Status == "running"'
nomad node status -filter='Status == "ready"'
```

## Common Patterns

### Find failed allocations
```bash
nomad...

Related Claw Skills