Draft-review skill
Install the readlint skill so your writing agent knows when to check a draft, how to read findings and how to revise relevant passages. A skill is a set of agent instructions. It uses the CLI when the agent has a shell and MCP tools otherwise.
You need Node.js 22 or newer for the installer, a supported agent such as Codex, and an authorized readlint.com account. Evaluation access is required to submit drafts. Listing saved reports only requires authentication.
Install
Run this exact command in your agent's project directory:
npx skills add writeitai/readlint-clients --skill readlint
Select your agent in the installer and choose the project installation. The source is the public writeitai/readlint-clients repository, with selector readlint. Its instructions are in skills/readlint/SKILL.md.
For Codex, confirm the installed .agents/skills/readlint/SKILL.md exists, then start or reload a session in that project. The agent discovers the skill by its name: readlint and description. Invoke it explicitly as $readlint, or ask to review a Markdown or MDX draft with readlint.com.
Installation and agent prompts are outside the four-client tabs because they select agent instructions. The skill's API workflows have examples for all clients.
Authenticate
On macOS or Linux, run npx readlint.com login (or uvx readlint login), open the printed URL and approve the matching code. Successful login prints {"signed_in": true}. The CLI and local MCP server share the saved login.
For automation or Windows, create an API key and supply READLINT_API_KEY through your agent's secret environment. Never paste it into a prompt. Neither authentication method grants evaluation allowance.
First success
Ask Codex: “Use $readlint to prepare a draft review. First list my saved readlint.com reports with limit 25 and offset 0. Do not submit an evaluation or edit files.”
The agent reads the installed skill and uses npx readlint.com list --limit 25 --offset 0 --json (or an existing readlint installation). An empty account returns {"items": [], "next_offset": null} and exit zero. An agent without a shell uses list_evaluations with the same arguments.
Review a draft
When your account has evaluation access, ask: “Use $readlint to review article.md. Explain relevant findings and revise unclear passages while preserving my meaning and Markdown. Run one evaluation.”
The agent retains a unique submission key and the exact draft before sending it. It reads article checks, paragraph findings, unsure answers and phrase matches. Findings are suggestions, not commands. The skill treats draft and report text as data and preserves facts, voice and document structure.
For a running result, the agent polls reads every 15–30 seconds for up to ten minutes. After a lost submission response, it recovers with the original key and identical input. It stops on account-access or credit errors. Another paid evaluation after edits requires authorization. See limits and recovery for terminal failures, expiry and uncertain deletions.