Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/trycomp-io/comp-skills/comp-ratio-analyzernpx skills add trycomp-io/comp-skills --skill comp-ratio-analyzergit clone --depth 1 https://github.com/trycomp-io/comp-skillsWrote 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.
[](https://agentmods.dev/skills/trycomp-io/comp-skills/comp-ratio-analyzer)<a href="https://agentmods.dev/skills/trycomp-io/comp-skills/comp-ratio-analyzer"><img src="https://agentmods.dev/badge/skills/trycomp-io/comp-skills/comp-ratio-analyzer.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00145 | $0.01587 |
| Opus 5 | $0.00072 | $0.00794 |
| Sonnet 5 | $0.00029 | $0.00317 |
| Haiku 4.5 | $0.00015 | $0.00159 |
Grade A, and why
comp-ratio-analyzer 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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 129 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Dual-mode operation (Code + Cowork)
HTML pelo design system (obrigatório). Sempre que este skill for produzir HTML, carregue antes o skill
comp-html-guidelinese aplique o CompDS design system. Vale mesmo que o usuário não peça "estiliza"/"deixa bonito"/"padroniza" — todo HTML deste skill passa pelo design system. Isso não altera a metodologia abaixo; governa só a camada visual do HTML.
Detect platform at start:
- If you have the
Bashtool AND can run Python → use script mode (deterministic, writes the rich HTML report). This is the existing workflow below. - Otherwise (e.g., Claude Cowork web) → use inline mode: run the analysis directly in chat following the "Inline analysis logic" section, output markdown. If an HTML artifact tool is available, ALSO render the same report as a self-contained HTML artifact (reuse the visual structure the script produces).
Both modes apply the same methodology and the same privacy rules.
Inline analysis logic (Cowork mode)
Como o usuário fornece os dados
- Precisa de DUAS entradas: (1) roster com colunas
name,salary,level(opcionalarea); (2) bandas com colunaslevel,mid(mediana). Cole as duas tabelas no chat ou anexe dois CSVs. - Roster grande (>~50 linhas) é difícil de processar manualmente, então sugira rodar em Claude Code (script mode).
- Salário em formato brasileiro (
.milhar,,decimal) deve ser convertido pra número.
Metodologia (fixa, idêntica ao script)
- Para cada colaborador: precisa de salário, nível, e o nível tem que existir na tabela de bandas com
mid > 0. Senão, a linha é ignorada na análise. - Compa ratio =
salário ÷ mid(arredonde a 3 casas). - Classificação:
| Faixa | Compa ratio | Interpretação |
|---|---|---|
| under | <0,80 | Crítico: revisão urgente |
| below | 0,80–0,95 | Abaixo do target |
| at | 0,95–1,05 | No target |
| above | 1,05–1,20 | Acima do target (ok) |
| over | >1,20 | Crítico: provável legacy/exceção |
- Custo mensal pra equalizar = soma de
(mid − salário)para TODOS comratio < 1.0(abaixo da mediana). - Custo anual com encargos =
custo_mensal × 12 × 1,555. - Por nível: compa ratio médio, mínimo e máximo.
- Top 10 under (menores ratios) e top 10 over (maiores ratios), com gap =
salário − mid.
What ships with it
3 files 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.
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.
- 5d ago First seen · 129 lines · 145 tokens per session scan A 4188dc245bc8
comp-ratio-analyzer is a skill published in the GitHub repository trycomp-io/comp-skills (2 stars, last pushed 3mo ago), licensed MIT. It adds 145 tokens to every session and 1,587 once invoked, about $0.0007 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-31.
Other skills, from other repositories
contingencia-report
Gera relatórios estruturados de contingência jurídica para uso em balanços, auditoria e compliance. Use quando o usuário precisar classificar processos por probabilidade de perda (provável/possível/remota) conforme CPC art. 95-96 e IAS 37 / CPC 25, calcular impacto financeiro no passivo contingente, ou preparar…
Classificação de Risco e Provisão (CPC 25)
Classifica o risco de cada processo judicial como Provável, Possível ou Remoto conforme CPC 25 e calcula o valor de provisão contábil recomendado, com memória de cálculo auditável para reporte ao financeiro e auditoria externa.
Revisão de Fatura Jurídica (Billing Guidelines)
Revisa faturas de escritórios externos contra as billing guidelines da organização, identificando linhas não conformes (horas excessivas, atividades não faturáveis, profissionais não aprovados) e calculando o valor a glosar com justificativa por linha.
irpf-brasil
Use para declaração de IRPF guiada passo a passo, análise de pré-preenchida, cálculo de imposto, deduções, bens e direitos, rendimentos, restituição, malha fina, carnê-leão. Conduz o usuário como se estivesse declarando de verdade.
design-compensation-structure
Use when building or redesigning a salary band structure, total rewards framework, or compensation philosophy for an organization.
fiscaliste
Fiscaliste IA pour la fiscalité personnelle des particuliers français : optimisation et déclaration de l'impôt sur le revenu, IFI, revenus du capital, revenus fonciers, equity salarial, crypto-actifs et PER. Couvre le calcul de l'IR (barème, quotient familial, décote, PAS, CEHR, revenus exceptionnels), la déclaration…