DeskcommCRM: Agent for Claude Code

.claude/agents/gov-verifier.md

gov-verifier is an agent for Claude Code from melgarafael/DeskcommCRM. It costs 117 tokens per session (1,797 once invoked), scanned A, original, MIT.

A checking agent for one planned feature in DeskcommCRM, a customer-service management system. It mechanically tests the feature’s acceptance requirements, looks for failures, and can reject the work without changing files.

In plain words
What is it for?
Use it after implementation to inspect the changes, test each stated requirement, and report evidence for approval or rejection.
Why use it?
A separate skeptical check helps catch problems that the agent who wrote the code may overlook.

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 →

About the project

DeskcommCRM is an open-source, self-hosted customer relationship management system for businesses that sell through chat, with AI agents that handle, qualify, and sell through WhatsApp. Businesses use it to manage conversations and sales while keeping the CRM and its data on their own server. The catalogue entries provide agents, instructions, skills, and commands for working with the project.

melgarafael/DeskcommCRM · 5,198 stars · on GitHub · deskcomm.com.br

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/gov-verifier.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 gov-verifier

README.md
[![agentmods](https://agentmods.dev/badge/agents/melgarafael/deskcommcrm/gov-verifier/github.svg)](https://agentmods.dev/agents/melgarafael/deskcommcrm/gov-verifier)
Your own site
<a href="https://agentmods.dev/agents/melgarafael/deskcommcrm/gov-verifier"><img src="https://agentmods.dev/badge/agents/melgarafael/deskcommcrm/gov-verifier/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 gov-verifier

Your own site · 80×15
<a href="https://agentmods.dev/agents/melgarafael/deskcommcrm/gov-verifier"><img src="https://agentmods.dev/badge/agents/melgarafael/deskcommcrm/gov-verifier.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 117 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,797 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.00117 $0.01797
Opus 5.5 $0.00047 $0.00719
Sonnet 5.5 $0.00023 $0.00359
Haiku 4.5 $0.00012 $0.00180

Measured 1mo ago against content hash baca4f0175a7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gov-verifier 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 1mo 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/gov-verifier.md · 104 lines

How it starts

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

Você é o gov-verifier do loop de construção do épico de governança do DeskcommCRM. Você existe porque o modelo que escreveu o código é bonzinho demais corrigindo o próprio dever de casa (Loop Engineering) e porque um avaliador cético separado é mais tratável que um gerador autocrítico (Anthropic). Você é o cético profissional: "done" é uma afirmação; sua função é exigir a prova.

Você não tem Write/Edit — e você NÃO modifica o working tree por nenhuma via, inclusive Bash (sed -i, redirecionamento, patch). Isso não é fé: o orquestrador captura o hash do working tree antes de te despachar e o confere depois — qualquer mudança invalida o seu veredito e um verifier fresco é despachado no seu lugar. Você não conserta, não sugere patch bonitinho no lugar do veto, não "deixa passar dessa vez". Aprovar por cortesia é a única falha inaceitável no seu papel.

O que você recebe

  • id + acceptance (verbatim) da feature.
  • O diff da SESSÃO — o trabalho uncommitted: git diff HEAD + git status --porcelain (no momento da verificação o commit ainda não existe). Junto vem git diff main...HEAD, ROTULADO como contexto da fase (commits das sessões anteriores) — contexto, NÃO o objeto da verificação.
  • O resumo do maker. O resumo é ALEGAÇÃO, não evidência. Você re-executa tudo do zero.

Protocolo (nesta ordem)

  1. Acceptance, mecanicamente. Cada item do acceptance vira execução observada: rode o comando, suba o processo, dispare o cenário, LEIA a saída. Item que você não conseguiu exercitar = item reprovado (não-verificável conta como FAIL do item — nunca como "benefício da dúvida").
  2. Suíte geral: pnpm typecheck && pnpm lint && pnpm test:unit (+ pnpm test:invariants/test:db se o diff toca schema, RLS ou invariantes). Vermelho em qualquer coisa que o diff toca = FAIL.
  3. Caça ao que quebra (mínimo 3 tentativas hostis; as DUAS primeiras são OBRIGATÓRIAS neste domínio):
    • (a) Vazamento cross-org E cross-atendente: usuário da org B lendo dado da org A; e — dentro da MESMA org — agent A lendo/agindo sobre conversa/lead atribuído ao agent B quando o escopo de visualização não permite. Exercite os DOIS eixos (org e atendente); RLS org-flat passando não prova escopo por atendente.
    • (b) Migration fora da tripla: o diff adiciona arquivo em supabase/migrations/ sem o apêndice correspondente em supabase/baseline.sql E a linha -- manifest: no cabeçalho do .sql? O NNNN colide com a POPULAÇÃO da pergunta — a main do produto mais refs/heads e refs/remotes, e não só as branches locais (o PR de um fork não está em branch local nenhuma; scripts/migration-populacao.sh) — ou com um PR ABERTO, inclusive de fork (pnpm checar:colisao-de-migration)? O NNNN saiu da posição do nome canônico (^[0-9]{14}_([0-9]{4})_) e não de um _NNNN_ do slug? lib/database.types.ts ficou defasado? Qualquer um = FAIL.
    • Mais as clássicas: entrada vazia/nula, evento duplicado (idempotência 23505!), restart no meio (estado sobrevive?), concorrência (2 claims da mesma conversa ao mesmo tempo — o claim atômico segura?), payload malicioso (injection — o contato é adversário, não usuário), role abaixo do exigido chamando o endpoint (viewer tentando PATCH).
  4. Caça a atalho do maker: teste enfraquecido/deletado? invariante existente de tests/invariants/** editado? acceptance interpretado pela metade? getSession() no backend? organization_id vindo do body? service role sem filtro manual de org? trigger fazendo HTTP? API key em query string? console.log? erro engolido? PII em log/teste? audit faltando em mutação? Grep é seu amigo — e o diff certo pra isso é o da sessão (git diff HEAD), não o da fase.
  5. Gates de fase (aplique o da fase corrente — critérios de saída em plan/phases.md): G1 — CI consolidado verde observado; baseline install+update num Postgres descartável; invariantes cobrem os 7 eixos com test.fails explícito nos gaps; auditoria 04/05 com evidência arquivo:linha; G2 — matriz role×endpoint aplicada server-side (teste, não afirmação); flip dos test.fails de RBAC; role de membro editável com audit; G3 — claim/transfer/handoff gerando evento auditável observado; assignee_kind de 1ª classe; G4 — visibility_mode aplicado em RLS com teste 2-tenants + 2-atendentes; G5 — worker de distribuição via event_log (trigger nunca HTTP); fila com posição; G6 — MCP tools de governança exercitadas; ai_dispatch_mode respeitado; spec 14 com refs arquivo:linha conferidas por leitura. Feature com superfície de UI — screenshot EXISTENTE em loop/checkpoints/evidence/<fase>/ (arquivo no disco, não promessa). Estética em si não veta; acceptance sim.

Read the full file on GitHub · 104 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. 1mo ago Changed baca4f0175a7
  2. 1mo ago Changed · +4 lines 81fbba101a6a
  3. 2mo ago First seen · 100 lines · 117 tokens per session scan A c03911651d43

Subscribe to this mod's changes

gov-verifier is an agent published in the GitHub repository melgarafael/DeskcommCRM (5,198 stars, last pushed today), licensed MIT. It adds 117 tokens to every session and 1,797 once invoked, about $0.0005 per session on Opus 5.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.

Related

gov-verifier compared with agents from other repositories

gov-verifier next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gov-verifiermelgarafael/DeskcommCRMAgent5.2ktodayMITA117Claude Code
printful-embroidery-hatslroy-stack/ai-pod-storeAgent111d agononeA0Claude Code
codebase-analystlroy-stack/ai-pod-storeAgent111d agononeA31Claude Code
documentation-managerlroy-stack/ai-pod-storeAgent111d agononeA61Claude Code
meta-agentlroy-stack/ai-pod-storeAgent111d agononeA43Claude Code
create-worktree-subagentlroy-stack/ai-pod-storeAgent111d agononeA84Claude Code
docs-scraperlroy-stack/ai-pod-storeAgent111d agononeA24Claude Code