Xpersona
V

vmware-harden

CLAWHUB · Unverified

Use this skill whenever the user needs to perform VMware cyber compliance auditing (aligned with VCF 9 Advanced Cyber Compliance / ACC), baseline checking, or drift detection on vSphere/ESXi/NSX environments. Directly handles: CIS / vSphere SCG / 等保 2.0 三级 / PCI-DSS / BSI IT-Grundschutz / EU NIS2 scans; custom YAML baselines; LLM-driven remediation suggestions; web dashboard. Always use this skill for "scan compliance", "check baseline", "audit etcd", "check 等保", "drift detection", "compliance report", "cyber compliance scan", "ACC posture", "STIG check" when the context is explicitly VMware/vSphere/ESXi. Do NOT use for general vSphere monitoring (use vmware-monitor or vmware-aiops), network changes (use vmware-nsx), or executing remediations directly (this skill only suggests; execution goes through vmware-pilot).

62
Rank
84
Safety
3.3k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 3.3K downloads reported by the source. Last updated 10/9/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s171xgnmqse0nqvgqvqnaq5f9183kyre:vmware-harden
  1. Install using `clawhub skill install s171xgnmqse0nqvgqvqnaq5f9183kyre:vmware-harden` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/zw008/vmware-harden before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-zw008-vmware-harden/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

153,163 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: vmware-harden
description: >
  Use this skill whenever the user needs to perform VMware cyber compliance auditing (aligned with VCF 9 Advanced Cyber Compliance / ACC),
  baseline checking, or drift detection on vSphere/ESXi/NSX environments.
  Directly handles: CIS / vSphere SCG / 等保 2.0 三级 / PCI-DSS / BSI IT-Grundschutz / EU NIS2 scans;
  custom YAML baselines; LLM-driven remediation suggestions; web dashboard.
  Always use this skill for "scan compliance", "check baseline", "audit etcd",
  "check 等保", "drift detection", "compliance report", "cyber compliance scan", "ACC posture", "STIG check" when the context is
  explicitly VMware/vSphere/ESXi.
  Do NOT use for general vSphere monitoring (use vmware-monitor or vmware-aiops),
  network changes (use vmware-nsx), or executing remediations directly
  (this skill only suggests; execution goes through vmware-pilot).
installer:
  kind: uv
  package: vmware-harden
allowed-tools:
  - Bash
  - Read
  - Write
metadata: {"openclaw":{"requires":{"anyBins":["vmware-harden","uvx"]},"optional":{"env":["VMWARE_HARDEN_DB","VMWARE_AUDIT_APPROVED_BY","VMWARE_AUDIT_RATIONALE","ANTHROPIC_API_KEY"],"bins":["vmware-policy"]},"homepage":"https://github.com/vmware-skills/VMware-Harden","os":["macos","linux"]}}
---

# VMware Harden (Compliance & Baseline)

> **Disclaimer**: This is a community-maintained open-source project and is **not affiliated with, endorsed by, or sponsored by VMware, Inc. or Broadcom Inc.** "VMware" and "vSphere" are trademarks of Broadcom. Source code is publicly auditable at [github.com/vmware-skills/VMware-Harden](https://github.com/vmware-skills/VMware-Harden) under the MIT license.

AI-native VMware compliance scanner — built-in CIS / vSphere SCG / 等保 2.0 三级 / PCI-DSS / BSI IT-Grundschutz / EU NIS2 baselines, drift detection, LLM-driven remediation advice, and a web dashboard.

> **Companion skills**: [vmware-aiops](https://github.com/vmware-skills/VMware-AIops) (inventory + collectors data source; host/VM remediation target), [vmware-monitor](https://github.com/vmware-skills/VMware-Monitor) (read-only inspection), [vmware-storage](https://github.com/vmware-skills/VMware-Storage) (datastore remediation target), [vmware-nsx](https://github.com/vmware-skills/VMware-NSX) (segment/gateway evidence), [vmware-nsx-security](https://github.com/vmware-skills/VMware-NSX-Security) (DFW evidence + remediation target), [vmware-aria](https://github.com/vmware-skills/VMware-Aria) (metrics correlation), [vmware-avi](https://github.com/vmware-skills/VMware-AVI) (load balancer evidence), [vmware-vks](https://github.com/vmware-skills/VMware-VKS) (Tanzu Kubernetes evidence), [vmware-pilot](https://github.com/vmware-skills/VMware-Pilot) (remediation execution with approval gates), [vmware-policy](https://github.com/vmware-skills/VMware-Policy) (audit log). See [references/cross-skill-workflows.md](./references/cross-skill-workflows.md) for end-to-end remediation flows that span pilot + sibling skills.

_meta.json

{
  "ownerId": "kn7b067awq2s97bn3d7p5qfhw5827pxc",
  "slug": "vmware-harden",
  "version": "1.11.0",
  "publishedAt": 1789915960282
}

references/agent-guardrails.md

# Operating vmware-harden with a local / small model

Claude-class models drive this skill without special instruction. Smaller and
locally-hosted models — Llama 3.3 70B, Qwen, Mistral, and similar, served
through Goose, Ollama, or OpenShift AI — need explicit operating rules to call
tools reliably.

This page exists because an operator wrote those rules by hand first. The
guardrails below are adapted, with thanks, from the working configuration
[@juanpf-ha](https://github.com/juanpf-ha) developed while running
vmware-monitor and vmware-aria against a production vSphere estate with Llama
3.3 70B FP8 on an on-prem H100
([VMware-AIops#31](https://github.com/vmware-skills/VMware-AIops/issues/31)). The
cross-skill rules are identical across this family; the parts below marked
vmware-harden are specific to this skill.

vmware-harden exposes 8 MCP tools and every one of them is a read. The risk
here is not a destructive call — there is none to make. It is that compliance
output is exactly the shape of text a small model likes to embellish, and an
invented violation, or an invented clean bill of health, is a costly answer.

> **Disclaimer**: This is a community-maintained open-source project and is
> **not affiliated with, endorsed by, or sponsored by VMware, Inc. or Broadcom
> Inc.** "VMware" and "vSphere" are trademarks of Broadcom.

---

## First: the rules you no longer need to write

Several guardrails from the original configuration are now enforced by the
skill itself. Prompt instructions are advisory — a model can ignore them.
These are structural, so it cannot.

| Guardrail you would otherwise prompt for | Now enforced by |
|---|---|
| "Only ever read — never modify the estate" | **The tool surface.** All 6 tools carry the `[READ]` marker and none modify vSphere or NSX — there is no write tool here to withhold in the first place. |
| "Never remediate anything you find — only report it" | **Structural.** This skill has no remediation tool. `get_remediation` returns a *suggestion*; execution is deferred to vmware-pilot behind an approval gate. A model cannot apply a fix from here even if asked to. |
| "Do not modify the systems you are auditing" | **`scan_target` is read-only against vSphere and NSX.** The rows it writes go only to the local DuckDB twin — a cache of its own observations, not managed infrastructure. |
| "Use explicit limits for queries that may return large amounts of data" | **The list envelope.** `list_baselines`, `get_baseline_rules` and `list_drift_events` return `{items, returned, limit, total, truncated, hint}`. Because the twin is local, `total` is a real count: a page that exactly fills `limit` is still reported `truncated: false` when it is genuinely the whole set. `list_violations` keeps its own older `{violations, total, limit, offset, has_more}` envelope with the same guarantee. |
| "If a listing came back empty, say so rather than claiming the call failed" | Same envelope. Empty `items` with `truncated: false` means c

references/capabilities.md

# Capabilities

Detailed reference for every MCP tool exposed by `vmware-harden-mcp`.
Source of truth: `vmware_harden/mcp_server/server.py`.

## Automation Level Reference

Per the Enterprise Harness Engineering autonomy framework, every tool in
this skill is **L1 (read-only raw data)** or **L2 (read + analysis)**
with respect to the managed VMware estate. The Twin DuckDB at
`~/.vmware-harden/twin.duckdb` is written by `scan_target`, but no
vSphere/NSX resource is ever modified by this skill.

| Level | Meaning | Tools in this skill |
|:-:|---|---|
| **L1** | Read-only, raw data — agent may auto-call | `list_baselines`, `get_baseline_rules`, `list_violations`, `list_drift_events`, `get_remediation`, `list_stig_controls`, `describe_stig_content_sync` |
| **L2** | Read + analysis (LLM advisor uses Twin evidence only) | `get_remediation` (when populated by `advise`) |
| **L3** | Single write — user must approve | *N/A* — use **vmware-pilot** |
| **L4** | Multi-step plan / apply | *N/A* — use **vmware-pilot** |
| **L5** | Auto-remediation | *N/A* (out of scope by design) |

`scan_target` is classified `risk_level="medium"` by `@vmware_tool` solely
because it triggers heavy upstream I/O (vSphere/NSX collectors) and
writes a snapshot to local DuckDB. It does **not** modify the target.

## Tool 1: `list_baselines`

### Signature

```python
list_baselines() -> dict   # family list envelope
```

### When to use

The agent needs to enumerate which compliance frameworks the user can
scan against — for example to answer "which baselines do you support?"
or to choose the right `baseline_id` before calling `scan_target`.

### Parameters

None.

### Returns

The family list envelope, whose `items` are baseline summaries:

```json
{
  "items": [
    {
      "id": "cis-vmware-esxi-8.0-subset",
      "name": "CIS VMware ESXi 8.0 (subset)",
      "version": "1.0",
      "applies_to": ["host"],
      "rule_count": 12
    }
  ],
  "returned": 6,
  "limit": null,
  "total": 6,
  "truncated": false,
  "hint": null
}
```

If a baseline file fails to load, its entry contains `{"id": "...", "error": "failed to load: ..."}`
instead of the metadata fields.

### Gotchas

- Includes both built-ins and user imports under `~/.vmware-harden/baselines/`.
- Every discovered baseline is listed, so `truncated` is always `false` and
  `total` is exact — this is the complete set, never a page of it.
- The `applies_to` field tells the agent which collectors must run during
  a scan; if the user has only `vmware-aiops` configured (no NSX), pick a
  baseline whose `applies_to` is a subset of the available collectors.

### Typical response tokens

~200–400 tokens (4 baselines × ~80 tokens each).

## Tool 2: `list_violations`

### Signature

```python
list_violations(severity: str | None = None, limit: int = 50, offset: int = 0) -> dict
```

Returns `{violations, total, limit, offset, has_more, coverage, note, snapshot}`.

`snapshot` names the scan the rows come from: `{id, target, finishe

references/cli-reference.md

# CLI Reference

Full command reference for `vmware-harden`. Source of truth: `vmware_harden/cli/`.

The CLI is a Typer app with seven top-level command groups: `scan`, `report`,
`baseline`, `drift`, `advise`, `web`, `doctor`. Run `vmware-harden --help`
for the auto-generated overview.

## scan

Run a compliance scan against a target. The scan loads the baseline,
collects evidence via the upstream `vmware-aiops` collectors, evaluates
rules, persists the snapshot to the Twin DuckDB, and computes drift versus
the previous snapshot for the same target.

### Synopsis

```bash
vmware-harden scan --target <name> [--baseline <id>] [--db <path>]
```

### Options

| Flag | Description | Default |
|------|-------------|---------|
| `--target` | vCenter target name from upstream `vmware-aiops` config. | (required) |
| `--baseline` | Built-in or imported baseline id. | `cis-vmware-esxi-8.0-subset` |
| `--db` | Twin DuckDB path. | `~/.vmware-harden/twin.duckdb` |

### Examples

```bash
# Default CIS subset
vmware-harden scan --target lab-vc01

# 等保 2.0 三级 against production
vmware-harden scan --target prod-vc --baseline dengbao-2.0-level3-vmware

# Custom DB path (e.g. CI artifact)
vmware-harden scan --target lab-vc01 --db /tmp/ci-twin.duckdb
```

The scan prints one line per collector with the count of entities
gathered, then the total violation count. Drift events versus the prior
snapshot are persisted automatically when a previous snapshot exists for
the same `--target`.

## report

Show the most recent snapshot's violations.

### Synopsis

```bash
vmware-harden report [--db <path>] [--format text|json]
```

### Options

| Flag | Description | Default |
|------|-------------|---------|
| `--db` | Twin DuckDB path. | `~/.vmware-harden/twin.duckdb` |
| `--format` | Output format — `text` or `json`. | `text` |

> HTML rendering is **not** a CLI flag; use `vmware-harden web` for the
> rendered dashboard.

### Examples

```bash
vmware-harden report
vmware-harden report --format json > violations.json
```

If no scans have run yet, the command prints a hint to run
`vmware-harden scan` first and exits 0.

## baseline

Manage compliance baselines. Built-ins ship inside the package; user
imports live under `~/.vmware-harden/baselines/`.

### baseline list

```bash
vmware-harden baseline list
```

Prints one baseline id per line (built-ins + imports). No options.

### baseline validate

Validate a YAML file against the baseline schema **without** importing.

```bash
vmware-harden baseline validate <path>
```

| Argument | Description |
|----------|-------------|
| `path` | YAML file to validate. |

Exit codes: `0` ok, `1` validation error, `2` file not found.

### baseline import

Validate, then copy a YAML file into `~/.vmware-harden/baselines/`.
Invalid files are never persisted.

```bash
vmware-harden baseline import <path> [--name <stem>]
```

| Flag | Description | Default |
|------|-------------|---------|
| `path` | YAML file to import. | (required, position

Sponsored

Ads related to vmware-harden and adjacent AI workflows.