ClauJev

O Claude Code faz o trabalho.O Jev confere. Claude Code does the work.Jev checks it.

ClauJev é um plugin do Claude Code. Em cada passo do Claude, ele faz perguntas curtas ao Jev, o modelo de julgamento da TypeSafe AI, e avisa quando um comando é perigoso, um pedido está vago ou o trabalho ficou pela metade.

ClauJev is a Claude Code plugin. At each step Claude takes, it asks Jev, TypeSafe AI's judgment model, a few short questions, and speaks up when a command is risky, a request is vague or the work is half done.

/plugin install claujev --marketplace Civalski/claujev
  • ~400 ms por checagem~400 ms per check
  • Zero dependênciasZero dependencies
  • 100% gratuito e de código aberto100% free and open source
Escolha o que o Claude fezPick what Claude did modo enforce

Pergunta ao JevQuestion to Jev

01

Probabilidades reais do Jev, de uma sessão gravada e dos testes da versão 2.5. Textos encurtados.Real Jev probabilities, from a recorded session and the version 2.5 tests. Texts shortened.

Na práticaIn practice

O Claude tinha permissão para qualquer comando git. Mesmo assim, antes do push forçado sobre o main, o Jev marcou efeito destrutivo e o Claude Code parou para perguntar.

Claude was allowed to run any git command. Still, before the force push over main, Jev flagged a destructive effect and Claude Code stopped to ask.

[Jev] Command flagged: destructive effect (p=0.92)

Gravação real de uma sessão do Claude Code com o ClauJev, sem cortes (35 s).
Unedited recording of a Claude Code session with ClauJev (35 s).

Um turno do Claude, quatro pontos de checagemOne Claude turn, four checkpoints

O ClauJev escuta os hooks do Claude Code. Em cada um, monta um resumo pequeno do momento, pergunta ao Jev e devolve ao Claude uma ação ou nada.

ClauJev listens to Claude Code's hooks. At each one it builds a small summary of the moment, asks Jev, and hands Claude an action or nothing.

  1. UserPromptSubmit

    Você pedeYou ask

    Triagem. É pergunta, mudança pequena, grande ou vago demais? O Claude recebe a dica, e com o mod, o ClauJev pergunta se você quer mudar o esforço, de low a xhigh, antes de começar.

    Triage. A question, a small change, a big one, or too vague? Claude gets the hint, and with the mod, ClauJev asks whether you want to change the effort, low to xhigh, before it starts.

  2. PreToolUse

    O Claude roda um comandoClaude runs a command

    Guarda. Push forçado, reset --hard, migration, deploy? Você confirma antes. Comandos só de leitura nem chamam o Jev.

    Guard. A force push, reset --hard, a migration, a deploy? You confirm first. Read-only commands don't even call Jev.

  3. PostToolUse

    O Claude editaClaude edits

    Regras. Cada edição é conferida contra regras que você escreve em texto comum, como "não usar any".

    Rules. Each edit is checked against rules you write in plain words, like "never use any".

  4. Stop

    O Claude diz "pronto"Claude says "done"

    Conferência final. O Jev lê o diff, os comandos e a resposta. Se algo ficou pela metade, o Claude volta antes de você pedir.

    Final check. Jev reads the diff, the commands and the reply. If something is half done, Claude goes back before you ask.

Subagentes também. Tarefas simples vão para um modelo menor e mais barato, e um relatório de subagente que diz ter feito algo que não fez é apontado.

Subagents too. Simple tasks go to a smaller, cheaper model, and a subagent report that claims work it didn't do gets flagged.

Sinal, não sentençaA signal, not a verdict

Cada resposta do Jev é uma probabilidade, e cada pergunta tem dois limiares que a dividem em três faixas. Só a faixa alta age.

Every Jev answer is a probability, and every question has two thresholds that split it into three bands. Only the high band acts.

  • Pronto para usar.Já vem agindo onde um alarme falso custa pouco. Quer só observar? Uma resposta em /claujev:configure põe tudo em observe.
  • Ready out of the box.It acts where a false alarm is cheap. Rather just watch? One answer in /claujev:configure sets everything to observe.
  • Nunca apaga nem desfaz nada.Um alarme falso custa uma frase do Claude, não o seu trabalho.
  • Never deletes or undoes anything.A false alarm costs one sentence from Claude, not your work.
  • Nunca quebra a sessão.Se a API cair, vai para o log e o Claude segue. Em enforce, comandos claramente destrutivos ainda pedem confirmação, por uma checagem local.
  • Never breaks the session.If the API is down, it goes to the log and Claude carries on. In enforce, plainly destructive commands still ask, from a local check.

Ajustado com 18 dias de uso realTuned on 18 days of real use

Para a versão 2.5, cruzamos 7.643 eventos dos logs com as sessões que os geraram e reaplicamos as perguntas antigas e as novas nos mesmos casos.

For version 2.5 we matched 7,643 logged events to the sessions behind them and replayed the old and new questions on the same cases.

244

alertas na conferência finalfinal-check alerts

Em 40 turnos que antes eram barrados. Os 4 que sobraram estavam mesmo inacabados. O Jev agora lê a resposta final do Claude.

Out of 40 turns that used to be held. The 4 left were truly unfinished. Jev now reads Claude's final reply.

100

alarmes falsos em turnos completosfalse alarms on finished turns

Em 40 turnos em que o trabalho estava mesmo pronto, o Jev não segurou nenhum.

On 40 turns where the work really was done, Jev held none.

12%

dos comandos nem chamam o Jevof commands skip Jev

Encadeamentos só de leitura, como cd x && git log | head, passam direto. Nenhum alerta antigo se perdeu.

Read-only chains like cd x && git log | head go straight through. No past alert was lost.

O ClauJev é gratuito. O único custo é a API do Jev, cobrada pela TypeSafe AI, e é pequeno: seis dias de uso diário saíram por US$ 0,07. Esforço low em perguntas simples e subagentes num modelo menor ainda economizam tokens do Claude. Veja tudo o que mudou na 2.5.

ClauJev is free. The only cost is the Jev API, billed by TypeSafe AI, and it's small: six days of daily use cost US$0.07. low effort on simple questions and subagents on a smaller model also save Claude tokens. See everything new in 2.5.

O que sai da sua máquinaWhat leaves your machine

O Jev não vê a conversa toda, só o resumo montado para cada pergunta, sem chaves nem tokens.

Jev never sees the whole conversation, only the summary built for each question, with keys and tokens removed.

Vai para api.typesafe.aiSent to api.typesafe.ai

  • O pedido e o anterior, como contexto
  • Os comandos e os trechos editados
  • O diff e os comandos do turno
  • A resposta final do Claude, até 3.000 caracteres
  • The request, and the previous one as context
  • Commands and edited snippets
  • The turn's diff and commands
  • Claude's final reply, up to 3,000 characters

Fica com vocêStays with you

  • Logs em ~/.claude/claujev/ com as respostas e só um hash do conteúdo
  • A chave da TypeSafe AI, no cofre seguro do sistema
  • Logs in ~/.claude/claujev/ with the answers and only a hash of the content
  • Your TypeSafe AI key, in the system's secure store

InstalarInstall

O ClauJev é 100% gratuito. Você precisa do Claude Code e de uma chave da TypeSafe AI, que cobra o uso da API do Jev.

ClauJev is 100% free. You need Claude Code and a TypeSafe AI key; TypeSafe AI bills Jev API usage.

  1. Instale o plugin no Claude CodeInstall the plugin in Claude Code

    /plugin install claujev --marketplace Civalski/claujev
  2. Cole a chave da TypeSafe AIPaste your TypeSafe AI key

    É a única coisa que a instalação pede. Depois, reinicie o Claude Code.

    It's the only thing the install asks for. Then restart Claude Code.

  3. Siga a configuração guiadaFollow the guided setup

    Na primeira conversa, o Claude oferece configurar idioma, modo e recursos. Para mudar depois, rode /claujev:configure.

    In the first conversation, Claude offers to set language, mode and features. To change them later, run /claujev:configure.

ContribuaContribute

O ClauJev é gratuito, de código aberto e melhora com quem usa. Toda contribuição é bem-vinda, de um relato de alarme falso a uma pergunta nova para o Jev.

ClauJev is free, open source, and gets better with the people who use it. Every contribution is welcome, from a false-alarm report to a new question for Jev.

Abra uma issueOpen an issue

Achou um bug, o Jev errou um caso ou você tem uma ideia? Conte o que aconteceu e o que esperava.

Found a bug, saw Jev get a case wrong, or have an idea? Tell us what happened and what you expected.

Abrir uma issueOpen an issue

Envie um PRSend a PR

Faça um fork, mude o que quiser e abra um pull request. npm test roda os testes, e o núcleo é um arquivo só, sem dependências.

Fork it, change what you like and open a pull request. npm test runs the tests, and the core is a single file with no dependencies.

Ver pull requestsSee pull requests