Vale
$ vale Community Low RiskVale (vale) is an extensible, offline prose linter that checks Markdown, AsciiDoc, reStructuredText, HTML, and code comments against custom or community style guides (Google, Microsoft, Write Good). Structured --output=JSON output and vale ls-config make it a top-tier agent quality gate for technical writing.
brew install vale vale --output=JSON lints local docs directories deterministically in milliseconds with zero external API calls.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
First-class --output=JSON, --no-wrap, ls-config, and stdin (--ext=.md) linting with precise line/span diagnostics.
--output=JSONemits machine-readable file/line/span/rule objectsvale ls-configdumps resolved config as JSON
Read-only linting never mutates source files; only vale sync writes downloaded style rules to the configured StylesPath.
- Pure read-only analysis during
vale <files> - Zero credentials or telemetry
Single compiled Go binary available via Homebrew, Scoop, Chocolatey, Docker, and GitHub releases.
brew install valeand standalone releases
Catches passive voice, inconsistent terminology, and style-guide violations across docs and code comments.
- Supports Google, Microsoft, Red Hat, and custom YAML rule packs
Actively maintained MIT project (errata-ai/vale) widely adopted in docs-as-code pipelines.
- Consistent releases and broad enterprise docs adoption
Clean official documentation covering CLI flags, .vale.ini, and custom styles.
- Official docs at vale.sh/docs/vale-cli/overview/
Security, Auth & Guardrails
No credentials required; purely local linter (optional vale sync downloads public style packages over HTTPS).
Free open-source software (MIT).
# Vale Agent Rules - Always run `vale --output=JSON <path>` after editing documentation or release notes. - Pass `--no-exit` only when collecting advisory warnings; keep default exit codes in CI quality gates. - Run `vale ls-config` first if `.vale.ini` style paths appear missing before running `vale sync`.
Agent-Ready Command Recipes
Safe Read-Only Queries
vale --output=JSON docs/
Checks prose style rules across docs/ and emits per-file line/column diagnostics in JSON.
vale --output=JSON ls-config
Prints the resolved .vale.ini styles, packages, and glob rules as JSON.
Controlled Writes & Previews
vale sync
Downloads the style packages declared in .vale.ini into the local styles directory.
Strengths for Agents
- +
--output=JSONgives agents exact line, span, severity, and rule-message diagnostics. - + Single zero-dependency Go binary runs offline once styles are synced.
- + Read-only by default so linting never surprises by rewriting prose.
Caveats & Pitfalls
- ! Requires a
.vale.inifile (andvale syncif referencing remote packages) before enforcing non-default style guides. - ! Does not auto-fix prose issues (lint-only by design).