dati

dati is a command for Claude Code from capazme/mcp-legal-it. It costs 33 tokens per session (746 once invoked), scanned A, original, Apache-2.0.

A data-freshness and reconciliation report for a legal project's tables. Reconciliation means checking stored data against its stated public source and recording differences or updates.

In plain words
What is it for?
Use it to inspect a table's status and source, compare it with official information, record verified values and dates, and update linked data files after confirmation.
Why use it?
It shows which tables are stale or blocking work, so you can address the most consequential data problems without searching through the code first.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the legal-it plugin — 23 skills, 10 commands, 6 agents, 1 hook, 1 MCP server shipped together

Good fit Use it to inspect a table's status and source, compare it with official information, record verified values and dates, and update linked data files after confirmation.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/capazme/mcp-legal-it/dati
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/capazme/mcp-legal-it

Made for: Claude Code.

Or install legal-it, the plugin that ships this one along with the rest of its 23 skills, 10 commands, 6 agents, 1 hook, 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 dati

README.md
[![agentmods](https://agentmods.dev/badge/commands/capazme/mcp-legal-it/dati/github.svg)](https://agentmods.dev/commands/capazme/mcp-legal-it/dati)
Your own site
<a href="https://agentmods.dev/commands/capazme/mcp-legal-it/dati"><img src="https://agentmods.dev/badge/commands/capazme/mcp-legal-it/dati/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 dati

Your own site · 80×15
<a href="https://agentmods.dev/commands/capazme/mcp-legal-it/dati"><img src="https://agentmods.dev/badge/commands/capazme/mcp-legal-it/dati.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 746 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.00033 $0.00746
Opus 5.5 $0.00013 $0.00298
Sonnet 5.5 $0.00007 $0.00149
Haiku 4.5 $0.00003 $0.00075

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

Security

Grade A, and why

dati 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 26d 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.

plugin/commands/dati.md · 50 lines

How it starts

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

Comando /dati — aggiornare le tabelle senza aprire il codice

Chiama legal-it:backlog_riconciliazione e mostra il risultato così com'è: le tabelle da riconciliare (o scadute) con il loro stato, chi le legge e con quale esito previsto, e — quando LEGAL_REFUSAL_LEDGER=on — i rifiuti osservati che le mettono in cima alla lista.

Se l'utente ha indicato una tabella ($ARGUMENTS)

  1. Trovala nella lista del backlog e mostra: stato (non_verificata / scaduta), fonte dichiarata, nota, tool coinvolti (rifiutano / degradano) e l'azione suggerita.
  2. Guida la verifica della fonte: apri nel browser (o cerca nel web) la fonte indicata nel campo fonte, confronta i valori della tabella con quelli ufficiali e riferisci le differenze una per una.
  3. Dopo la conferma dell'utente, aggiorna il file indicato dall'azione (src/data/<tabella>.json): i valori, poi verifica: manuale e aggiornato_al di oggi nel blocco _vintage. Se la fonte pubblica un periodo coperto, imposta anche copre_fino_a.
  4. Aggiorna la coppia speculare se esiste (il file vive in plugin/server/src/data/, con src/data come symlink): non duplicare.
  5. Riesegui python3 scripts/update-data.py per la conferma, e la suite dei golden (GOLDEN_UPDATE=1 pytest tests/unit/test_golden_calcoli.py) se dei numeri sono cambiati. Riporta il riepilogo.

Se l'utente non ha indicato nulla

Mostra il backlog in forma di tabella (tabella | stato | rifiutano | degradano) e proponi la prima della lista, spiegando in una riga perché è in cima (più tool bloccati, o più rifiuti osservati dal verbale).

Note

  • Il verbale_rifiuti nel risultato del tool ha disponibile: false quando il ledger è spento: è il comportamento previsto, non un errore. Per attivarlo, LEGAL_REFUSAL_LEDGER=on nell'ambiente del server.
  • Lo stesso comando esiste per la manutenzione da terminale: python3 scripts/update-data.py (stessa derivazione, vista da CLI).
  • La serie storica dei rifiuti osservati (mese su mese) è il comando /verbale (legal-it:verbale_mensile, scripts/verbale-report.py da terminale).
  • Non modificare mai il codice dei tool per cambiare un importo: gli importi vivono solo in src/data/*.json, e la suite segnala ogni effetto collaterale.

Read the full file on GitHub · 50 lines

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. 26d ago First seen · 50 lines · 33 tokens per session scan A d952489acba9

Subscribe to this mod's changes

dati is a command published in the GitHub repository capazme/mcp-legal-it (24 stars, last pushed 2d ago), licensed Apache-2.0. It adds 33 tokens to every session and 746 once invoked, about $0.0001 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-09-22.