Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add capazme/mcp-legal-it/plugin install legal-itWrote 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/capazme/mcp-legal-it/esporta-documento)<a href="https://agentmods.dev/skills/capazme/mcp-legal-it/esporta-documento"><img src="https://agentmods.dev/badge/skills/capazme/mcp-legal-it/esporta-documento/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.
<a href="https://agentmods.dev/skills/capazme/mcp-legal-it/esporta-documento"><img src="https://agentmods.dev/badge/skills/capazme/mcp-legal-it/esporta-documento.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00157 | $0.02093 |
| Opus 5 | $0.00078 | $0.01046 |
| Sonnet 5 | $0.00031 | $0.00419 |
| Haiku 4.5 | $0.00016 | $0.00209 |
Grade A, and why
esporta-documento 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 12d 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 — 145 lines — stays where its author put it; the contents beside it link to each section on GitHub.
esporta-documento — Word/PDF di un deliverable legale
Scopo
Rendere un deliverable testuale gia' prodotto (un parere, un'informativa privacy, un DPA, una DPIA, un registro trattamenti, una parcella, un atto, una sintesi giurisprudenziale) in un file .docx e/o .pdf salvato nella cartella attiva, applicando — quando disponibile — il canone tipografico dello Studio SAPG (Times New Roman 12, interlinea 1,5, rientro prima riga 0,5 cm, corpo giustificato).
Lo skill NON richiama alcun tool MCP: si limita a invocare due script locali via Bash. La generazione del contenuto (il parere, l'informativa, ecc.) avviene PRIMA, con i tool o le skill appropriate; questo skill prende quel testo e lo trasforma in un file consegnabile.
Quando usare lo skill
- L'utente chiede esplicitamente di esportare / salvare un documento in Word o PDF.
- Al termine di un workflow (
/parere,/giurisprudenza,/compliance, oppure le skillparere-legale,analisi-giurisprudenziale,compliance-privacy) quando l'utente vuole il deliverable come file. - L'utente ha appena ricevuto da un tool un dict con un campo
testo(es.genera_informativa_privacy,genera_dpa,genera_dpia,genera_registro_trattamenti,genera_notifica_data_breach) e vuole il file finito.
Sorgente del contenuto
Due casi, entrambi gestiti dallo stesso flusso:
- Markdown dal transcript — il documento e' gia' stato scritto nella conversazione come testo markdown. Riusa quel markdown tale e quale.
- Campo
testodi un tool — un tool GDPR/Privacy ha restituito un dict{"testo": "...", ...}. Estrai il valore ditesto(e' gia' markdown/testo formattato) e usalo come contenuto.
In entrambi i casi: scrivi il contenuto in un file markdown temporaneo con lo strumento
Write, poi passalo agli script con --input. In alternativa puoi passarlo via stdin.
Cartella attiva (active folder)
Il file viene scritto nella cartella attiva, cioe' la directory di lavoro del processo
(process.cwd() / os.getcwd()). L'utente puo' forzare una cartella diversa con --dir.
Lo script stampa su stdout il path assoluto del file creato: riportalo SEMPRE all'utente.
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.
- 12d ago First seen · 145 lines · 157 tokens per session scan A 41f2075e584f
esporta-documento is a skill published in the GitHub repository capazme/mcp-legal-it (15 stars, last pushed yesterday), licensed Apache-2.0. It adds 157 tokens to every session and 2,093 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-30.
Other skills, from other repositories
contract-analyzer
OCR a contract PDF with mistralocr, then extract structured clauses and risk scores with mistralchat + jsonschema. Use when the user provides a contract document to analyze for risks, obligations, and key terms.
meta-pdf-reformat-pipeline
Modernize a legacy PDF: structural extraction → natural-language rewrite of problem pages → audit summary → re-merge into the final PDF.
audit-export
Export the full CocoAudit trail as a stakeholder-ready compliance document.
pdf-invoice-extractor
OCR a PDF invoice with mistralocr and extract structured line-item data (vendor, date, amounts, VAT) for accounting reconciliation. Use when the user provides an invoice PDF to process.
official-doc
Produce a 31C official document (board resolution, formal notice, letter of position, certificate of authority) using the locked corporate template. Authoritative voice, declarative language, reference numbering, and official seal block. Renders to PDF + DOCX. Trigger when the user says "board resolution", "formal…
partnership-doc
Produce a 31C partnership document (MOU, Letter of Intent, or term sheet) using the locked corporate template. Legal-adjacent document defining mutual obligations, governance, territory, exclusivity, and confidentiality between 31 Concept and a counterparty. Renders to PDF + DOCX. Trigger when the user says "MOU"…