DeskcommCRM: Skill for Codex

.agents/skills/deskcomm-doutrina/SKILL.md

deskcomm-doutrina is a skill for Codex from melgarafael/DeskcommCRM. It costs 97 tokens per session (1,058 once invoked), scanned A, original, MIT.

A repository-specific coding guide for DeskcommCRM. It tells an agent which project documents and rules to check before changing code, including tenant separation, database migrations, messaging channels, and self-hosting.

In plain words
What is it for?
Use it when writing or reviewing DeskcommCRM code, answering questions about database structure or customer separation, or changing WhatsApp, installation, or completion rules.
Why use it?
It prevents changes that violate the project's current design or isolate customer data incorrectly. It also avoids relying on outdated summaries by directing the agent to the source documents.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions CLAUDE.md; installed under .agents/ (shared by several agents).

This is melgarafael/DeskcommCRM's own configuration. It tells Codex 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/.agents/skills/deskcomm-doutrina/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/melgarafael/DeskcommCRM

Made for: Codex.

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 deskcomm-doutrina

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/melgarafael/deskcommcrm/deskcomm-doutrina"><img src="https://agentmods.dev/badge/skills/melgarafael/deskcommcrm/deskcomm-doutrina.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,058 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.00097 $0.01058
Opus 5.5 $0.00039 $0.00423
Sonnet 5.5 $0.00019 $0.00212
Haiku 4.5 $0.00010 $0.00106

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

Security

Grade A, and why

deskcomm-doutrina 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.

.agents/skills/deskcomm-doutrina/SKILL.md · 67 lines

How it starts

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

DeskcommCRM — doutrina de código

A fonte da verdade é o CLAUDE.md da raiz, lido do origin/main e não de um resumo. Esta skill existe para te fazer abri-lo na hora certa e para carregar as três regras que mais custam caro quando esquecidas.

1. Leia antes de escrever

arquivo quando
CLAUDE.md sempre, antes de qualquer código — contém a Definition of Done, que muda
VISION.md antes de decidir escopo, ou de dizer não a uma feature
docs/doctrine/ ao mexer em canal, agente, ou peça que se conecte a outra
ARCHITECTURE.md para a visão de uma página

Não confie em resumo de doutrina — nem neste arquivo. A Definition of Done já foi de 13 para 14 itens; cópia congelada ensina a regra de ontem. Abra o CLAUDE.md.

2. As três que mais custam

Multi-tenancy. Toda tabela tenant-aware leva organization_id uuid not null e RLS com policy tenant_isolation_<tabela>_all via fn_user_org_ids(). Service role bypassa RLS — handler que o usa filtra organization_id manualmente, resolvido de fonte confiável (cookie, JWT, segredo de webhook, token de path), nunca do body. No backend é sempre getUser(), nunca getSession().

Schema sai em tripla. Arquivo em supabase/migrations/, apêndice idempotente no supabase/baseline.sql, e linha -- manifest: <o quê e por quê> no cabeçalho do .sql (o MANIFEST.md é histórico; não recebe linha nova). O kit self-host aplica só o baseline — o que não chega lá não chega em quem instalou numa VPS, que é o cliente que paga. Constraint nova exige corrigir os dados antes, senão o update.sh do clone quebra.

Nenhuma feature nomeia um provider. Provider vive em lib/channels/. pnpm lint:channels é catraca com lista de dívida: arquivo novo sujo reprova — e arquivo que ficou limpo e não saiu da lista também reprova.

3. O eixo que não é técnico

A monetização é self-host em VPS, não assinatura: quem instala é o cliente. Então uma mudança pode ser tecnicamente impecável e ainda assim ser recusada — env var nova sem default quebra instalação fresca, dependência de serviço pago obrigatório quebra o modelo, e a pior de todas é a falha-em-verde: a sonda que declara sucesso medindo caminho diferente do que o usuário usa. Num produto que a pessoa instala sozinha, ela não descobre que está quebrado.

Read the full file on GitHub · 67 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 14546943b666
  2. 1mo ago Changed · +6 lines 63357101036a
  3. 1mo ago Changed ae26a0d4fa3a
  4. 1mo ago First seen · 61 lines · 97 tokens per session scan A 3173a2de92bc

Subscribe to this mod's changes

deskcomm-doutrina is a skill published in the GitHub repository melgarafael/DeskcommCRM (5,198 stars, last pushed today), licensed MIT. It adds 97 tokens to every session and 1,058 once invoked, about $0.0004 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-09-12.

Related

deskcomm-doutrina compared with skills from other repositories

deskcomm-doutrina next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
deskcomm-doutrinamelgarafael/DeskcommCRMSkill5.2ktodayMITA97Codex
trigger-convextriggerdotdev/trigger.devSkill17k3d agoApache-2.0A93Claude Code, Codex
system-design-data-architectureHoangNguyen0403/agent-skills-standardSkill583todayMITA60Claude Code, Codex
postgres-semantic-searchlaguagu/claude-code-nextjs-skillsSkill724d agoMITA84Claude Code
create-migrationtale-project/taleSkill42todayMITA173Claude Code, Codex
oracle-mcp-server-helperoracle-devrel/oracle-ai-developer-hubSkill4.5kyesterdaynoneA0Claude Code, Codex
vector-backend-operationsKnuckles-Team/vector-mcpSkill16yesterdayMITA113Claude Code, Codex