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,699 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 →

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.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.svg" alt="Measured on agentmods" 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,699 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.01699
Opus 5 $0.00059 $0.00849
Sonnet 5 $0.00023 $0.00340
Haiku 4.5 $0.00012 $0.00170

Measured 8d ago against content hash c03911651d43, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 8d 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 · 100 lines

How it starts

The opening of the file, as written. The whole thing — 100 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 no supabase/migrations/MANIFEST.md? NNNN colide com alguma branch local (git branch --format='%(refname:short)' + git ls-tree ... supabase/migrations)? 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 · 100 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. 8d 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 (844 stars, last pushed today), licensed MIT. It adds 117 tokens to every session and 1,699 once invoked, about $0.0006 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.

Related

Other agents, from other repositories

architect

You are the architecture planning agent for Spree Commerce.

spree/spree · 0 tokens

software-engineer

Implements Accepted specs end to end, fixes bugs, and refactors without changing behaviour. Use proactively for new features once the spec is Accepted, domain/Prisma/Server Action changes, and technical approach decisions. Do not use when the request is a problem without a spec — that is product-manager.

krivoox/agent-stack-template · 65 tokens

code-reviewer

Reviews a change against this repository's layer, tenancy, security and testing contracts. Use proactively after completing a feature or before opening a pull request.

krivoox/agent-stack-template · 33 tokens

product-manager

Turns a raw idea or vague request into scoped user stories with acceptance criteria. Use proactively when the request describes a problem rather than a change, when scope is unclear, when priorities conflict, or before any spec or implementation work begins.

krivoox/agent-stack-template · 49 tokens

devops-engineer

Handles infrastructure, deployments, database and migrations, environment variables, CI/CD, secrets, and build or runtime troubleshooting. Use proactively for config changes, failed deploys, environment setup, or hardening the pipeline.

krivoox/agent-stack-template · 47 tokens

domain-architect

Designs domain rules, invariants and pure function contracts before implementation. Use proactively for new features with non-trivial rules, ambiguous or conflicting requirements, calculations and state machines, inconsistencies between a spec and the code, or when deciding what belongs in domain versus services.

krivoox/agent-stack-template · 58 tokens