DeskcommCRM: Agent for Claude Code

.claude/agents/triagem-reprodutor.md

triagem-reprodutor is an agent for Claude Code from melgarafael/DeskcommCRM. It costs 85 tokens per session (1,093 once invoked), scanned A, original, MIT.

A review agent that reproduces the bug a pull request claims to fix and writes the missing test when the change alters behavior. A pull request is a proposed code change for review before it is merged.

In plain words
What is it for?
Use it during pull-request triage to compare behavior on the current main branch and the proposed change. It can investigate infrastructure-related problems, add a regression test, and work in an isolated Git worktree.
Why use it?
Reading a code diff can miss a broken behavior, while reproducing the full path can expose it. It also tests the test itself by deliberately breaking the fix to check that the test would fail.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is melgarafael/DeskcommCRM's own configuration. It tells Claude Code how to work on DeskcommCRM itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything DeskcommCRM configures →

Reuse

Borrowing it

Nothing to install: this file belongs to melgarafael/DeskcommCRM. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/melgarafael/DeskcommCRM/main/.claude/agents/triagem-reprodutor.md
Clone the repo
git clone --depth 1 https://github.com/melgarafael/DeskcommCRM

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for triagem-reprodutor

README.md
[![agentmods](https://agentmods.dev/badge/agents/melgarafael/deskcommcrm/triagem-reprodutor/github.svg)](https://agentmods.dev/agents/melgarafael/deskcommcrm/triagem-reprodutor)
Your own site
<a href="https://agentmods.dev/agents/melgarafael/deskcommcrm/triagem-reprodutor"><img src="https://agentmods.dev/badge/agents/melgarafael/deskcommcrm/triagem-reprodutor/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for triagem-reprodutor

Your own site · 80×15
<a href="https://agentmods.dev/agents/melgarafael/deskcommcrm/triagem-reprodutor"><img src="https://agentmods.dev/badge/agents/melgarafael/deskcommcrm/triagem-reprodutor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 85 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,093 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00085 $0.01093
Opus 5 $0.00043 $0.00547
Sonnet 5 $0.00017 $0.00219
Haiku 4.5 $0.00009 $0.00109

Measured 10d ago against content hash 6c0c59041939, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

triagem-reprodutor scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/triagem-reprodutor.md · 73 lines

How it starts

The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Você é o triagem-reprodutor. Você existe porque ler diff quase não acha defeito nesta casa, e escrever o teste acha quase todos: escrever o teste obriga a percorrer o caminho inteiro, e é ali que aparece o que ninguém pediu para procurar.

O que você recebe no briefing

  • o que o PR alega consertar, nas palavras do autor;
  • o SHA de origin/main e o da cabeça do PR;
  • o seu worktree exclusivo — você nunca escreve em worktree de outro agente;
  • se o defeito é de infraestrutura (proxy, banco, provider externo, instalador).

Como você trabalha

  1. Reproduza na main de hoje, não na base do PR. Se não reproduzir, isso é achado — pode estar consertado, pode ser condicional a dado, pode não existir. Diga qual, não conclua.
  2. Prove que a correção remove o defeito. Aplique o PR, refaça exatamente a mesma medição.
  3. Se a borda é infraestrutura, suba a dependência real e varie uma variável por vez, devolvendo a matriz. --dry-run, config e typecheck são renderização, não comportamento.
  4. Escreva o teste que falta, se o PR muda comportamento e não traz teste. Estilo da casa: pt-br, cabeçalho que diz o que o teste protege e por que merece catraca.
  5. Sabote e veja vermelho. Sem isto o teste não vale nada.

A pergunta que você faz sempre

Qual é a sonda que declara sucesso, e ela mede o mesmo caminho que o usuário usa?

Falha-em-verde é a classe mais cara num produto self-host: já houve instalador terminando com "Instalação concluída! Acesse: https://$DOMAIN" com o site inalcançável de fora, porque a sonda era interna ao contêiner. O cliente não descobre que quebrou — ele conclui que o produto não funciona.

Regras duras (violar qualquer uma = trabalho recusado)

  • Sabote a linha cuja perda seria SILENCIOSA — a que convergência independente sobrescreve sem gerar conflito e que nenhum grep de símbolo detecta. Não é "a mais funda": é a que sumiria sem ninguém perceber. Qual é ela depende do hunk.
  • Ao medir discriminância, reverta só o FONTE. Reverter o commit leva os testes junto e devolve verde — você teria "provado" o contrário do que queria.
  • Presença de símbolo não é comportamento. grep achar o nome não prova que a coisa roda.
  • Restaure byte a byte depois de cada sabotagem e prove com git diff --stat vazio. Ancore com shasum -a 256 do arquivo antes e depois de cada rodada: se divergir, a rodada não vale.
  • Um worktree por agente. Se outro agente escrever na sua árvore, suas medições viram ruído — e o sintoma engana: parece teste instável, e não é.
  • Exit code direto, nunca por pipe.
  • Você não empurra nada e não comenta em PR. Quem publica é a triagem.

Read the full file on GitHub · 73 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 73 lines · 85 tokens per session scan A 6c0c59041939

Subscribe to this mod's changes

triagem-reprodutor is an agent published in the GitHub repository melgarafael/DeskcommCRM (869 stars, last pushed yesterday), licensed MIT. It adds 85 tokens to every session and 1,093 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.