# A cheap AI classifier: how I review text and code at scale with Claude Code

Author: Carlos Imlau, AI Product Builder · Certified trainer (CCP) · AI applied to work. Creator of Tapinfy, FalaTuga and Sourmize.
Published on 2026-11-27 · Updated on 2026-11-27
URL: https://www.carlosimlau.com/blog/classificador-ia-barato

## Summary

A cheap AI classifier answers one closed question (yes, no or unsure) about hundreds of texts and settles the obvious cases on its own. With Jev, a skill of mine that I use with Claude Code, I reviewed 164 sentences for less than 1 euro cent, and 197 of the 328 decisions were automatic.

## Key points

- A classifier always answers the same closed question, with fixed answers such as YES, NO or UNSURE
- Only the unsure cases reach a person or a bigger model
- On 20 October 2026 I reviewed 164 sentences for less than 1 euro cent, with 197 of 328 decisions made automatically
- It works for reviewing text, checking code changes against rules and filtering long histories
- It is not for writing, fact-checking or anything a script can check without error

**How do you review text and code at scale without spending much on AI?** Instead of asking a large model to "review everything", I ask one closed question, always the same, about each sentence or each change, and let a cheap classifier answer YES, NO or UNSURE. The obvious cases get settled on their own and only the unsure ones reach me. On 20 October 2026 I reviewed 164 sentences of European Portuguese this way for less than 1 euro cent.

I apply this idea through Jev, a skill of mine that I call from inside Claude Code. The skill itself is not shared, but the method is simple and anyone can use it. In this guide I explain how it works, where it pays off and where it does not, with the numbers I have.

## What is an AI classifier?

A classifier is an AI you do not ask to write anything: you ask it to pick one answer from a closed list. "Does this sentence contain Brazilian Portuguese? YES, NO or UNSURE." "Is this customer request about billing, deliveries or something else?"

Anthropic has an [official guide to classifying support tickets](https://platform.claude.com/docs/en/about-claude/use-case-guides/ticket-routing) that explains why a language model suits this job: it can classify with just a few dozen labelled examples and adapts when categories change, without training a model from scratch.

The difference from a normal prompt is the shape of the answer. A short, fixed answer is fast, cheap and, above all, countable: you know how many YES, NO and UNSURE answers you got.

## Why is a small question cheaper than a big model?

Because most review work is repetitive and the answer is obvious. In a 160-sentence text, most sentences are fine. Asking a large model to read everything and comment on every line costs money and time, and gives you back a long list of suggestions, some useful, some not.

With a closed question, the cost per sentence is tiny and the result is triage:

- **YES or NO:** settled, nobody needs to look.
- **UNSURE:** comes to me, or to a bigger model, with the sentence and the reason.

If you are not in a hurry, there is one more saving: Anthropic says its [Message Batches API processes requests asynchronously at a 50% discount](https://platform.claude.com/docs/en/build-with-claude/batch-processing), with most batches finishing in under an hour. For reviews that can wait, it is worth it.

## How do I use Jev with Claude Code?

Claude Code lets you create [skills](https://code.claude.com/docs/en/skills): a `SKILL.md` file with instructions that Claude uses when relevant, or when you call it by name. According to the documentation, a skill's content only loads when it is used, so it does not weigh on the rest of the work.

Jev is one of those skills. In practice, Claude Code handles the big work (writing, editing, deciding) and hands the repetitive questions to the classifier. I use it in three places, which I described in detail in my tips (in Portuguese):

1. **Reviewing European Portuguese.** I am Brazilian and I write for Portugal. The question is "does this sentence use Brazilian Portuguese vocabulary or grammar?". On 20 October 2026 I reviewed 164 sentences for less than 1 euro cent and, of the 328 decisions, 197 were automatic, about 60%. It is in the [cheap classifier tip](https://www.carlosimlau.com/dicas/classificador-barato-para-perguntas-fechadas).
2. **Checking code changes against project rules.** Since 8 October 2026, before merging a change, each rule becomes the question "does this change break the rule?", with BREAKS, DOES NOT BREAK or UNSURE. Only what fails reaches me. Details in the [tip on reviewing the diff](https://www.carlosimlau.com/dicas/rever-o-diff-com-uma-lista-de-regras).
3. **Filtering long histories before reading them.** Each paragraph answers "is this relevant to my question?". A project's history became between 93% and 96% shorter. It is in the [tip on filtering the history](https://www.carlosimlau.com/dicas/filtra-o-historico-antes-de-o-ler).

## How to build your own classifier, step by step

You do not need your own skill to start. A chat or Claude Code is enough.

1. **Pick a question you ask often.** If you ask it about 5 texts a month, it is not worth the effort. At 200, it is.
2. **Close the answers.** Two or three options, always including UNSURE. Without it, the AI is forced to guess.
3. **Write the question with examples.** Two or three YES and NO cases, with the reason. This changes the result more than switching models.
4. **Test with cases you already know.** Set aside 20 or 30 examples you reviewed by hand and see how many the classifier gets right. Anthropic's guide starts here too: evaluate before you trust.
5. **Count, and decide what to do with the unsure cases.** If almost everything is unsure, the question is badly written. If there are few, you only review those.
6. **Check now and then what was settled automatically.** A small sample is enough to notice if something has started to fail.

## When is a classifier not worth it?

It pays to be honest here, because it is easy to overdo it:

- **For exact checks.** A date in the right format, a link that responds, a missing file: a script does that with no margin of error, for free.
- **For writing or rewriting.** A classifier picks an answer; it does not improve a text.
- **For fact-checking.** Knowing whether a number is right takes a source, not an AI's opinion.
- **For small volumes.** If you can read the text in two minutes, read it.
- **For high-stakes decisions.** Payments, personal data or permissions: a human review of the whole diff is still a must, even if the classifier says DOES NOT BREAK.

## Frequently asked questions

### Do I need to know how to code to use an AI classifier?

No. You can start in an ordinary chat: paste the list, write the closed question and ask for one answer per line. Once the question works and you use it a lot, it makes sense to turn it into a Claude Code skill or an automation.

### Which model is right for classifying?

The smallest one that passes your tests. Start with a cheap model, measure it on cases where you know the answer, and only move up if there are too many errors. I wrote about this when [Claude Haiku 5.5](https://www.carlosimlau.com/blog/claude-haiku-5-5-o-que-muda) came out.

### Can I use this with customer data?

Carefully. Before sending customer text to any API, check what the provider does with the data and what the GDPR requires of your business. If in doubt, test with your own texts first.

### Where can I learn to set this up in my company?

In the ["Automating work with AI"](https://www.carlosimlau.com/formacao) training, for companies in Portugal, I work with your company's own cases, including repetitive reviews like this one. If you would rather start on your own, my article on [using Claude Code without knowing how to code](https://www.carlosimlau.com/blog/claude-code-sem-saber-programar) covers the first steps with the agent.
