Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

vacuum

$ vacuum Community Low Risk
Quobix · Design & Docs · MIT · macos / linux / windows

vacuum is an ultra-fast Go OpenAPI 3.0/3.1, Swagger 2.0, and AsyncAPI linter compatible with Spectral rulesets. Agents benefit from native JSON reporting (vacuum spectral-report / vacuum report), --errors and --category filtering, --no-banner, and --fix --dry-run for safe auto-remediation.

FCRS-1.0 Score
93 /100
Excellent
Medium Confidence
Zero-Friction Install
brew install vacuum
CLI vs MCP Decision CLI Preferred vs MCP

Sub-second local OpenAPI linting and Spectral-compatible JSON reporting with vacuum has zero MCP latency or token bloat.

Agent-Readiness Checklist

✓ JSON Output
✓ Field Filtering
✓ Non-Interactive
✓ Dry-Run
— Read-Only Mode
✓ NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 23 / 25

Generates structured JSON snapshots (report, spectral-report), supports -e/--category filtering, --no-banner, and --fix --dry-run with millisecond Go startup.

  • vacuum report and vacuum spectral-report emit structured JSON
  • Supports -e (--errors), -c (--category), --no-banner, and --fix --dry-run
Trust & Safety 24 / 25

Read-only by default; --fix supports both --dry-run previewing and --fix-file non-destructive output.

  • --dry-run and --fix-file protect original spec files
Setup & Portability 15 / 15

Single static Go binary available via Homebrew, go install, Docker, and GitHub releases on macOS, Linux, and Windows.

  • Zero-dependency Go binary across all major platforms
Utility & Efficiency 14 / 15

10x–100x faster than Node-based linters on large OpenAPI specs while retaining Spectral ruleset compatibility.

  • Drop-in Spectral ruleset compatibility (-r)
Maintenance & Lineage 8 / 10

Actively maintained by Quobix (daveshanley/vacuum) under the MIT license.

  • Active releases in daveshanley/vacuum
Docs & Verifiability 9 / 10

Extensive official docs at quobix.com/vacuum documenting every command, rule, and flag.

  • Official docs at quobix.com/vacuum/commands/

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

None required; operates purely on local or fetched OpenAPI spec files.

Side Effects
Read-Only Local Write
Cost & Quotas

100% free, offline, and MIT open-source.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# vacuum Agent Rules
- Pass `--no-banner` and `-e` (errors only) to keep lint output compact.
- Use `vacuum spectral-report` or `vacuum report` when structured JSON output is needed.
- Prefer `--fix --dry-run` or `--fix-file <out>` before mutating `openapi.yaml` in place.

Agent-Ready Command Recipes

Safe Read-Only Queries

Lint an OpenAPI spec with detailed errors
vacuum lint -d -e --no-banner openapi.yaml

Runs read-only linting showing only errors (-e) and detailed context (-d) without ASCII banner noise.

Generate a Spectral-compatible JSON report
vacuum spectral-report --no-banner openapi.yaml vacuum-spectral-report.json

Emits machine-readable JSON violations compatible with Spectral CI parsers.

Controlled Writes & Previews

Write auto-fixed OpenAPI output to a separate file
vacuum lint --fix --fix-file openapi.fixed.yaml openapi.yaml

Applies repairable lint fixes into openapi.fixed.yaml without overwriting openapi.yaml.

Strengths for Agents

  • + Millisecond Go performance with Spectral ruleset compatibility (-r).
  • + vacuum spectral-report and --fix --dry-run / --fix-file give agents both JSON visibility and safe remediation.
  • + Single zero-dependency binary on macOS, Linux, and Windows.

Caveats & Pitfalls

  • ! vacuum report and spectral-report write JSON report files by default rather than printing pure JSON to stdout.
  • ! Custom JavaScript Spectral functions are not natively executed in Go without compatible Go/built-in rules.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI