@content-reviewer/cli
v0.0.6
Published
CLI tool for reviewing written content using LLMs
Maintainers
Readme
@content-reviewer/cli
An LLM-powered CLI for reviewing written content.
Installation
Global Installation
npm install -g @content-reviewer/cliUsing npx
npx @content-reviewer/cli article.mdQuick Start
1. Set up an API key
Set environment variables in your shell:
# For OpenAI (default)
export OPENAI_API_KEY="sk-..."
# For Anthropic Claude
export ANTHROPIC_API_KEY="sk-ant-..."
# For Google
export GOOGLE_API_KEY="..."Alternatively, pass the API key directly using the --api-key option:
content-review article.md --api-key "sk-..."2. Review your content
content-review article.mdUsage
content-review -hExamples
# Review in Japanese
content-review article.md --language ja
# Use Anthropic Claude
content-review article.md --provider anthropic --model claude-sonnet-4-5
# Use custom configuration
content-review article.md -c .reviewrc.json
# Save results to JSON file
content-review article.md -o review-results.jsonConfiguration
Create a .reviewrc.json file in your project root:
{
"language": "en",
"llm": {
"provider": "openai",
"model": "gpt-4.1-mini"
}
}Custom Instructions
You can provide a custom instruction file to define your own review criteria:
content-review article.md --instruction my-standards.mdOr via config file:
{
"instructionFile": "./my-standards.md"
}