AI agents & terminal · Available now
Better writing.
In your terminal.
Use Hemmingway to write and rewrite inside your AI agent, or run text commands directly from your terminal. Turn notes into a draft, clarify an argument, proofread or find the right tone.
Install for your AI agent
Works with Codex, Claude Code, Cursor, Gemini CLI, GitHub Copilot, OpenCode and other agents that support skills. You need Python 3. The quick installation command also needs Node.js and npm.
npx skills add lukeckprobierts/hemmingway-skills
Follow the installer’s prompts to choose your agent. Restart or reload the agent if it does not discover the skill immediately.
Claude Code plugin
/plugin marketplace add lukeckprobierts/hemmingway-skills
/plugin install use-hemmingway@hemmingway
Install by hand
Download the skill ZIP and extract it into your agent’s skills folder. Common locations are ~/.claude/skills/ for Claude Code and ~/.agents/skills/ for Codex. Check your agent’s instructions if it uses another location.
Connect your Hemmingway account
- Sign in to Hemmingway’s API platform.
- Create an API key. Choose an available plan-backed key or use API credit. Your selected allowance or credit balance applies.
- Ask your agent to set up the Hemmingway skill, or run the setup command below from the installed skill folder. Paste the key only into the private prompt.
python3 scripts/hemmingway.py setup
python3 scripts/hemmingway.py statusKeep your API key private. Do not put it in a project, commit or shared message. On Windows, use python or py if python3 is not available.
Ask your agent to improve your writing
Try: “Use Hemmingway to turn these notes into a first draft for our customers,” or “Use Hemmingway to make this email clearer and more professional.” Tell it who will read the text and what you want to achieve.
Run it directly from your terminal
From the installed skill folder, give it a text file and save the result to a separate file so you can review it before use:
python3 scripts/hemmingway.py edit draft.md \
--for "readers of our blog" --out revised.mdOther commands include proofread, shorten, simplify, tone, email, paraphrase, expand, reply and rewrite. Run python3 scripts/hemmingway.py --help for the full command list.
The CLI returns text. Review it before copying, publishing or asking your agent to apply it. Editing your files or sending a message depends on the tools and permissions of the agent you use.
Feedback
Report a problem or suggest an improvement, or run python3 scripts/hemmingway.py feedback. No API key is needed to open the feedback form.
Help and usage
If a request reaches your allowance or credit limit, the CLI reports what to do next. See Hemmingway plans, the API documentation or the skill README for details.