---
slug: "pi-spell-check"
source_type: "readme"
source_url: "https://cdn.jsdelivr.net/gh/manuranga/pi-spell-check@main/README.md"
repo: "https://github.com/manuranga/pi-spell-check"
source_file: "README.md"
branch: "main"
---
# pi-spell-check

Spell-check extension for [pi coding agent](https://github.com/badlogic/pi-mono).

Press **Ctrl+Shift+S** to fix spelling and grammar in the editor. Uses the current model via a tool call for reliable structured extraction.

## Install

```bash
pi install npm:pi-spell-check
```

## How it works

1. Reads the current editor text
2. Sends it as JSON (`{ "text": "..." }`) to the active model with a spell-correction tool
3. Extracts the corrected text from the tool call response
4. Replaces the editor content

Works with any editor, including custom editors like vim mode extensions.

## License

MIT
