paygap-analysis-generator

paygap-analysis-generator is a skill for Claude Code, Codex from trycomp-io/comp-skills. It costs 164 tokens per session (2,422 once invoked), scanned A, original, MIT.

A report generator that analyses pay differences between genders using an HR employee list in CSV or Excel format. It calculates pay ratios by area and overall, while hiding results for groups with fewer than three people of a gender.

In plain words
What is it for?
Use it to create an HTML report showing median salaries and gender pay ratios across teams and for the organisation.
Why use it?
It turns raw staff and salary data into a consistent pay-gap analysis while applying a basic privacy rule.

Skill for Claude CodeCodex

Part of the comp-skills plugin — 37 skills shipped together

Install

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.

agentmods
npx agentmods add skills/trycomp-io/comp-skills/paygap-analysis-generator
Any agent
npx skills add trycomp-io/comp-skills --skill paygap-analysis-generator
Clone the repo
git clone --depth 1 https://github.com/trycomp-io/comp-skills

Made for: Claude Code, Codex.

Or install comp-skills, the plugin that ships this one along with the rest of its 37 skills.

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 paygap-analysis-generator

README.md
[![agentmods](https://agentmods.dev/badge/skills/trycomp-io/comp-skills/paygap-analysis-generator.svg)](https://agentmods.dev/skills/trycomp-io/comp-skills/paygap-analysis-generator)
Your own site
<a href="https://agentmods.dev/skills/trycomp-io/comp-skills/paygap-analysis-generator"><img src="https://agentmods.dev/badge/skills/trycomp-io/comp-skills/paygap-analysis-generator.svg" alt="Measured on agentmods" height="20"></a>
Per session 164 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,422 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00164 $0.02422
Opus 5 $0.00082 $0.01211
Sonnet 5 $0.00033 $0.00484
Haiku 4.5 $0.00016 $0.00242

Measured 4d ago against content hash 5fd2bcf0db5f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

paygap-analysis-generator 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 4d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (eam_client.py, scripts/paygap_analysis.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/paygap-analysis-generator/SKILL.md · 153 lines

How it starts

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

Dual-mode operation (Code + Cowork)

HTML through the design system (required). Whenever this skill produces HTML, load the comp-html-guidelines skill first and apply the CompDS design system. This holds even when the user does not ask to "style it" or "make it look good" — every HTML output from this skill goes through the design system. It does not change the methodology below; it only governs the HTML's visual layer.

Detect platform at start:

  • If you have the Bash tool 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 confidentiality/privacy rules.

Inline analysis logic (Cowork mode)

Como o usuário fornece os dados

  • Cole uma tabela pequena no chat (colunas: nome, gênero, salário, nível, área) ou anexe um CSV/XLSX.
  • Roster grande (>~50 linhas) fica difícil de processar manualmente sem erro. Sugira rodar em Claude Code (script mode) ou colar só uma amostra representativa.

Normalização (igual ao script)

  • Gênero: f/female/feminino/fem/mulher → F; m/male/masculino/masc/homem → M. Qualquer outro valor → linha excluída (a metodologia é binária por design, pra compatibilidade com reporting regulatório). Mencione isso ao usuário se relevante.
  • Salário: número. Formato brasileiro (. milhar, , decimal) deve ser convertido.
  • Linha com gênero, salário, nível ou área faltando/vazio → excluída. Conte as exclusões.

Metodologia (fixa, idêntica ao script)

  1. Bucket por (área × nível): agrupe colaboradores. Para cada bucket, separe salários de F e de M.
  2. Regra de confidencialidade: um bucket (área × nível) só entra no cálculo de razão ponderada se tiver ≥3 pessoas de CADA gênero (≥3 F e ≥3 M). Buckets que não atingem isso são mostrados como "—" e NÃO entram nas contas. Nunca baixe esse limite de 3, ele protege a privacidade individual e é o padrão de reporting de equidade.
  3. Medianas, não médias: para cada bucket válido, medF = mediana(salários F), medM = mediana(salários M).
  4. Razão do grupo = (medF / medM) × 100 (só se medM > 0). 100% = paridade; <100% = mulheres ganham menos.
  5. Razão ponderada por área = Σ(razão_grupo × hc_total_grupo) ÷ Σ(hc_total_grupo), somando apenas grupos válidos (hc_total = F + M do bucket).
  6. Razão ponderada global = Σ(razão_área × hc_analisado_área) ÷ Σ(hc_analisado_área), onde hc_analisado_área é a soma dos hc dos buckets válidos daquela área.
  7. Gap = razão − 100. Gap negativo = mulheres ganham menos.

Read the full file on GitHub · 153 lines

Files

What ships with it

4 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.

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. 4d ago First seen · 153 lines · 164 tokens per session scan A 5fd2bcf0db5f

Subscribe to this mod's changes

paygap-analysis-generator is a skill published in the GitHub repository trycomp-io/comp-skills (2 stars, last pushed 3mo ago), licensed MIT. It adds 164 tokens to every session and 2,422 once invoked, about $0.0008 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.

Related

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…

autodevx/legal-skills · 107 tokens

contrato-review

Analisa contratos brasileiros identificando cláusulas problemáticas, riscos jurídicos e oportunidades de negociação. Use quando precisar fazer due diligence contratual, revisar minutas antes de assinatura, identificar cláusulas abusivas ou desequilibradas, verificar conformidade com CC/2002, CDC, LGPD ou legislação…

autodevx/legal-skills · 101 tokens

audiencia-classifier

Classifica publicações de audiência judicial por tipo e modalidade. Use quando receber textos de intimações, pautas de audiência ou publicações do diário de justiça e precisar categorizar automaticamente em INICIAL/INSTRUÇÃO/JULGAMENTO/CONCILIAÇÃO × PRESENCIAL/VIRTUAL/HÍBRIDA. Aplicável a publicações de qualquer…

autodevx/legal-skills · 104 tokens

Geração de RIPD (Relatório de Impacto à Proteção de Dados)

Gera o Relatório de Impacto à Proteção de Dados Pessoais (RIPD) conforme exigido pela LGPD (Art. 38), descrevendo o tratamento, identificando riscos, propondo medidas de mitigação e documentando a base legal aplicável.

autodevx/legal-skills · 74 tokens

Triagem e Resposta a Solicitações de Titulares (LGPD)

Classifica solicitações de titulares de dados pessoais recebidas pelo canal de privacidade, verifica prazo legal de resposta, identifica o direito exercido (Art. 18 LGPD) e gera minuta de resposta formal adequada ao pedido.

autodevx/legal-skills · 61 tokens

cnj-parser

Valida, normaliza e extrai componentes de números de processos judiciais brasileiros no formato CNJ (NNNNNNN-DD.AAAA.J.TT.OOOO). Use quando receber números de processo em formatos variados (com ou sem máscara, colados de sistemas diferentes), precisar validar dígitos verificadores, identificar tribunal, instância e…

autodevx/legal-skills · 102 tokens