ReadMe CLI
$ rdme Official Low RiskReadMe CLI (rdme) validates, inspects, and uploads OpenAPI/Swagger definitions, Markdown changelogs, and custom pages to ReadMe developer portals. Headless --key=$README_API_KEY authentication and --dry-run support make CI syncing safe, though most commands output human text rather than --json.
npm install -g rdme Built specifically for local OpenAPI spec validation (openapi validate) and CI/GitHub Action doc uploads directly from repo files.
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
Supports --key, --branch, --working-directory, and --dry-run for headless CI, though it lacks a global --json flag.
- Headless
--keyand--dry-runflags - Outputs human-readable logs rather than
--json
Local openapi validate/inspect are zero-auth read-only, and upload commands support --dry-run preview.
- Zero-auth
rdme openapi validate --dry-runmode before live portal updates
Installable via npm/npx and usable directly as the readmeio/rdme GitHub Action across Node platforms.
- npm
rdme,npx rdme, and official GitHub Action
Covers OpenAPI validation/upload, changelogs, custom pages, versions, and glossary JSON exports.
- Supports
openapi,changelog,custompages,versions, andglossary
Official ReadMe repository (readmeio/rdme) actively maintained under MIT.
- Official
readmeio/rdmerepository
Well-documented in readmeio/rdme README and docs.readme.com with --help support.
- Official ReadMe documentation and GitHub usage examples
Security, Auth & Guardrails
Authenticates via --key or README_API_KEY environment variable in CI, or interactive rdme login locally.
MIT open-source CLI; ReadMe developer portals offer free and paid plans.
# ReadMe CLI (`rdme`) Agent Rules - Run `rdme openapi validate` locally and pass `--dry-run` on `upload` commands before mutating live docs. - Always pass `--key=$README_API_KEY` and explicit `--branch` in CI rather than running interactive `rdme login`.
Agent-Ready Command Recipes
Safe Read-Only Queries
rdme openapi validate openapi.yaml
Validates local OpenAPI/Swagger schema compliance without requiring an API key or mutating ReadMe.
rdme openapi inspect openapi.yaml
Reports endpoints and extension usage in the spec without uploading changes.
Controlled Writes & Previews
rdme openapi upload openapi.yaml --key=$README_API_KEY --dry-run
Parses and validates the upload payload against ReadMe without modifying live portal docs.
Strengths for Agents
- + Zero-auth
rdme openapi validateandinspectcatch spec errors locally. - + Upload commands support
--dry-runand headless--key=$README_API_KEYexecution.
Caveats & Pitfalls
- ! No global
--jsonoutput flag across commands. - ! Projects using ReadMe Git Bi-Directional Sync use
@readme/cliinstead ofrdme.