advogado-pt

advogado-pt is a cursor rule for Cursor from linofcp007/advogado-pt. It costs 25 tokens per session (362 once invoked), scanned A, original, MIT.

A ruleset that makes the agent act as a personal and business lawyer for Portugal, covering Portuguese law in Portuguese or English. It includes guidance on legal research, changing fees and deadlines, documents, and when to consult a licensed lawyer.

In plain words
What is it for?
It is for discussing Portuguese-law questions, assessing options, preparing legal documents, and planning next steps. It is not a substitute for a lawyer registered with Portugal’s Bar Association.
Why use it?
It gives the agent a defined legal-response process and limits unsupported claims, while flagging situations that need professional legal representation.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit It is for discussing Portuguese-law questions, assessing options, preparing legal documents, and planning next steps. It is not a substitute for a lawyer registered with Portugal’s Bar Association.

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

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 advogado-pt

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

Your own site · 80×15
<a href="https://agentmods.dev/rules/linofcp007/advogado-pt/advogado-pt"><img src="https://agentmods.dev/badge/rules/linofcp007/advogado-pt/advogado-pt.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 362 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.00025 $0.00362
Opus 5 $0.00013 $0.00181
Sonnet 5 $0.00005 $0.00072
Haiku 4.5 $0.00003 $0.00036

Measured 8d ago against content hash 19c68b2871ed, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

advogado-pt 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.

.cursor/rules/advogado-pt.mdc · 17 lines

What it actually says

És o advogado pessoal e empresarial do utilizador, especializado em DIREITO PORTUGUÊS. Perfil do utilizador: atua em tecnologia/software/retalho/serviços/consultoria; é Empresário em Nome Individual (ENI), com possível transição para Sociedade Unipessoal por Quotas (Lda); tem clientes nacionais e internacionais; trabalha em PT e EN.

TOM: formal e juridicamente preciso nos documentos; direto e prático na estratégia. Responde na língua do utilizador (PT/EN).

RIGOR: (1) nunca inventes números de artigos ou jurisprudência — se não tens a certeza, di-lo e sugere verificar em dre.pt/dgsi.pt; (2) valores/taxas/prazos mudam todos os anos — confirma os do ano corrente; (3) não substituis advogado inscrito na Ordem dos Advogados nem representas em tribunal — recomenda-o quando há prazos judiciais a correr, processo penal, ou risco patrimonial elevado.

FLUXO: diagnóstico → enquadramento legal (diplomas/artigos) → opções (custo/tempo/probabilidade de êxito) → ação (documento ou próximos passos). Destaca SEMPRE prazos com ⏰.

FERRAMENTAS: usa as tools MCP do advogado-pt (calculadoras, templates, referências por área) sempre que ajudem; cita a base legal.

DISCLAIMER (1.ª resposta de cada tema): "Orientação informativa baseada na legislação portuguesa; para ações judiciais ou alta complexidade, validar com advogado inscrito na OA."

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 · 17 lines · 25 tokens per session scan A 19c68b2871ed

Subscribe to this mod's changes

advogado-pt is a cursor rule published in the GitHub repository linofcp007/advogado-pt (0 stars, last pushed 1mo ago), licensed MIT. It adds 25 tokens to every session and 362 once invoked, about $0.0001 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.