irc

irc is a command for Claude Code from linofcp007/advogado-pt. It costs 45 tokens per session (504 once invoked), scanned A, original, MIT.

A corporate income tax calculator for Portuguese companies. Corporate income tax is the tax a company pays on taxable profit; the calculation can also include local surcharges, extra tax on some expenses, and earlier losses.

In plain words
What is it for?
Use it to estimate IRC, compare the tax effect of company cars and expenses, account for past losses, and review related filing and payment dates.
Why use it?
It breaks down the main parts of a company tax estimate instead of treating the final amount as a single unexplained figure. It also checks whether the company is a small or medium-sized business.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the advogado-pt plugin — 2 skills, 30 commands, 2 hooks, 1 MCP server shipped together

Good fit Use it to estimate IRC, compare the tax effect of company cars and expenses, account for past losses, and review related filing and payment dates.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/linofcp007/advogado-pt/irc
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.

Clone the repo
git clone --depth 1 https://github.com/linofcp007/advogado-pt

Made for: Claude Code.

Or install advogado-pt, the plugin that ships this one along with the rest of its 2 skills, 30 commands, 2 hooks, 1 MCP server.

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 irc

README.md
[![agentmods](https://agentmods.dev/badge/commands/linofcp007/advogado-pt/irc/github.svg)](https://agentmods.dev/commands/linofcp007/advogado-pt/irc)
Your own site
<a href="https://agentmods.dev/commands/linofcp007/advogado-pt/irc"><img src="https://agentmods.dev/badge/commands/linofcp007/advogado-pt/irc/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 irc

Your own site · 80×15
<a href="https://agentmods.dev/commands/linofcp007/advogado-pt/irc"><img src="https://agentmods.dev/badge/commands/linofcp007/advogado-pt/irc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 504 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.00045 $0.00504
Opus 5.5 $0.00018 $0.00202
Sonnet 5.5 $0.00009 $0.00101
Haiku 4.5 $0.00005 $0.00050

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

Security

Grade A, and why

irc 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 17d 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.

commands/irc.md · 16 lines

What it actually says

Ativa a skill advogado-pt para o IRC: $ARGUMENTS.

  1. Confirma no perfil (obter_perfil_empresa) que é uma sociedade e se é PME (certificação IAPMEI). Pede o que faltar: lucro tributável (ou prejuízo), prejuízos de anos anteriores, taxa da derrama do município, viaturas (custo de aquisição, tipo e encargos anuais), despesas de representação, ajudas de custo.
  2. Calcula com a tool MCP calc_irc e explica cada parcela (IRC, derrama municipal, derrama estadual, tributação autónoma) com a base legal (CIRC arts. 52.º, 87.º, 87.º-A e 88.º; Lei 64/2025 para as taxas de 2026-2028).
  3. Quando houver viaturas, compara o impacto de combustão, plug-in e elétrico (limiares de 37.500 €, 45.000 € e 62.500 €). Lembra o agravamento de 10 p.p. com prejuízo e as exceções.
  4. Para os prazos (Modelo 22, pagamentos por conta, IES), usa calendario_obrigacoes. Para faturação ao estrangeiro, usa calc_iva_operacao e a referência iva-internacional. Fundamenta com ler_referencia fiscal e os valores de valores-2026.

EN: Activate the advogado-pt skill for corporate income tax: $ARGUMENTS. Check the profile, compute with the calc_irc MCP tool and explain each component (CIT, municipal and state surcharges, autonomous taxation). Use calendario_obrigacoes for the filing and payment deadlines.

Exemplos · Examples: "/irc lucro 120.000 € PME Lisboa", "/irc quanto pago de tributação autónoma num carro de 40.000 €", "/irc tivemos prejuízo de 30.000 €".

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. 17d ago First seen · 16 lines · 45 tokens per session scan A e97a69f6390c

Subscribe to this mod's changes

irc is a command published in the GitHub repository linofcp007/advogado-pt (0 stars, last pushed 18d ago), licensed MIT. It adds 45 tokens to every session and 504 once invoked, about $0.0002 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-10-05.

Related

Other commands, from other repositories

aposentadoria

Slash command /aposentadoria — calcula imediatamente quando o usuário pode se aposentar e qual regra é mais vantajosa. Ativa quando o usuário digita /aposentadoria, "quando posso me aposentar", "planejamento INSS", "quantos anos faltam para aposentadoria", "planejamento previdenciário".

AlissonSantos1/brasil-legal-skills · 71 tokens

clt-pj

Slash command /clt-pj — compara imediatamente uma oferta CLT com uma oferta PJ. Ativa quando o usuário digita /clt-pj, "CLT ou PJ", "vale mais a pena CLT ou PJ", "comparar proposta CLT PJ", "quanto preciso ganhar como PJ".

AlissonSantos1/brasil-legal-skills · 68 tokens

rescisao

Slash command /rescisao — calcula imediatamente as verbas rescisórias CLT. Ativa quando o usuário digita /rescisao, "calcular rescisão", "quanto recebo se for demitido", "verbas rescisórias".

AlissonSantos1/brasil-legal-skills · 58 tokens

simples

Slash command /simples — calcula imediatamente o DAS do Simples Nacional e compara regimes tributários. Ativa quando o usuário digita /simples, "calcular DAS", "quanto pago de Simples Nacional", "regime tributário empresa".

AlissonSantos1/brasil-legal-skills · 54 tokens

irpf

Slash command /irpf — inicia imediatamente o fluxo guiado de declaração do Imposto de Renda Pessoa Física 2026. Ativa quando o usuário digita /irpf, com ou sem argumentos adicionais.

AlissonSantos1/brasil-legal-skills · 46 tokens

gsd:debug

Systematic debugging with persistent state across context resets.

swisstruthorg/swiss-truth-mcp · 0 tokens