fix-grammar
by rob
Correct grammar, spelling, and punctuation errors in text. Returns only the corrected text without explanations.
# fix-grammar
Correct grammar, spelling, and punctuation errors in text. Returns only the corrected text without explanations.
## Installation
This is a CmdForge tool. Install it from the CmdForge registry or create it locally using `cmdforge create`.
## Usage
The `fix-grammar` tool accepts text via stdin and outputs the corrected version:
```bash
# Correct grammar in a string
echo "She don't like apples" | fix-grammar
# Fix grammar in a file
cat draft.txt | fix-grammar
# Save corrected output
echo "Their going too the store" | fix-grammar > corrected.txt
# Chain with other commands
cat email.txt | fix-grammar | wc -w
```
## Arguments
This tool has no custom arguments.
## How It Works
The tool uses a single-step pipeline:
1. **Prompt Step** (`step_1`): Sends the input text to the `opencode-deepseek` AI provider with instructions to correct grammar, spelling, and punctuation errors. The corrected text is stored in the `response` variable.
2. **Output**: Returns the corrected text from `{response}`.
## Dependencies
This tool has no external dependencies beyond the CmdForge runtime and the configured `opencode-deepseek` provider.
Reviews
Login to reviewNo reviews yet.
Issues
No issues reported for this tool.
Write a Review
Share your experience with this tool.
0/2000
Report an Issue
Help improve this tool by reporting bugs or security issues.