convez.ai
SkillDesenvolvimento WebIntermediário
rodolfoostolaza-ux

OpenRouter Review

rodolfoostolaza-ux/openrouter-review

Revise código com DeepSeek via OpenRouter, grátis com fallback pago

Ver no GitHub
InicialPluginScore · de 0 a 100

Skill para Claude Code que revisa código e texto usando DeepSeek via OpenRouter, com fallback automático entre modelo gratuito e pago. Apresenta achados estruturados e implementa correções diretamente nos arquivos.

Instalação

$npx convez-ai rodolfoostolaza-ux/openrouter-review

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
0
Forks
0
Acompanhando
0
Saúde
28%
Último commit
há 1 mês
Versão
—
Issues abertas
0
Contribuidores
1

Casos de uso

  • Revisar diffs do git antes de commit
  • Auditar qualidade e segurança de código
  • Corrigir automaticamente issues encontradas

Veredito

Ferramenta prática que democratiza revisão de código usando modelos open-source baratos. Funciona bem como alternativa econômica ao Codex, mas qualidade depende da escolha entre o modelo gratuito (mais rápido) e pago (mais preciso).

README

A tradução para o português deste README ainda está na fila.

openrouter-review

A Claude Code skill that reviews code and text using DeepSeek via OpenRouter, with automatic model fallback and direct fix implementation.

What it does

  1. Reviews your current git diff and/or specified files using DeepSeek
  2. Presents numbered, structured findings (bugs, security issues, improvements)
  3. Implements confirmed fixes directly using Claude's Edit/Write tools

Model cascade

StepModelCost
1st attemptdeepseek/deepseek-r1:freeFree
Auto-fallbackdeepseek/deepseek-v4-pro~$0.44/M input tokens

You can also choose free, paid, or auto (default) at invocation time.

Requirements

Installation

# 1. Copy the Python script
mkdir -p ~/.claude/scripts
cp openrouter_review.py ~/.claude/scripts/

# 2. Install the skill
mkdir -p ~/.claude/skills/openrouter-review
cp SKILL.md ~/.claude/skills/openrouter-review/

Set your API key. The easiest way is to add it to ~/.claude/settings.json:

{
  "env": {
    "OPENROUTER_API_KEY": "your-key-here"
  }
}

Or set it per session:

export OPENROUTER_API_KEY="your-key-here"          # bash
$env:OPENROUTER_API_KEY = "your-key-here"           # PowerShell

Usage

/openrouter-review                        # review current git diff
/openrouter-review path/to/notes.md       # review a file
/openrouter-review src/parser.py          # review specific code

Claude will ask which model to use, then present findings and offer to apply fixes.

Files

FilePurpose
SKILL.mdSkill definition — install to ~/.claude/skills/openrouter-review/
openrouter_review.pyPython HTTP client for OpenRouter — install to ~/.claude/scripts/
test_openrouter_review.pyTests (no API key needed)

Running tests

python test_openrouter_review.py

Why this exists

Codex is great but costs credits. This skill gives you a free-first reviewer that falls back to a cheap paid model — useful as a daily driver or Codex backup.

License

MIT

Ver o original no GitHub

Bom para

Relacionados