digest

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

An Italian weekly legal briefing command covering recent decisions and measures from courts, regulators, and European institutions, including the Italian Supreme Court, tax courts, TAR/Council of State, CJEU, Privacy Authority, and CONSOB.

In plain words
What is it for?
Use it on demand, optionally filtered by a topic, or schedule it as a weekly digest of legal developments.
Why use it?
It gathers updates from several official legal sources in one briefing and removes duplicate entries.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

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

Good fit Use it on demand, optionally filtered by a topic, or schedule it as a weekly digest of legal developments.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/capazme/mcp-legal-it/digest"><img src="https://agentmods.dev/badge/commands/capazme/mcp-legal-it/digest.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,019 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.00051 $0.01019
Opus 5 $0.00026 $0.00509
Sonnet 5 $0.00010 $0.00204
Haiku 4.5 $0.00005 $0.00102

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

Security

Grade A, and why

digest 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 10d 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/digest.md · 48 lines

How it starts

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

Digest giuridico settimanale

Produce un briefing markdown delle ultime novita da tutte le fonti istituzionali.

Esecuzione on demand

Se l'argomento NON e' schedule (o e' vuoto / un tema), esegui subito il briefing:

  1. Interroga tutte e sei le fonti ultime_*:
    • legal-it:ultime_pronunce (Cassazione)
    • legal-it:ultime_sentenze_tributarie (CeRDEF/MEF)
    • legal-it:ultimi_provvedimenti_amm (TAR/CdS)
    • legal-it:ultime_sentenze_cgue (CGUE)
    • legal-it:ultimi_provvedimenti_garante (Garante Privacy)
    • legal-it:ultime_delibere_consob (CONSOB) Se l'utente ha indicato un tema/settore, applica i filtri pertinenti (materia, argomento, ente, sede, tipologia); altrimenti chiama senza filtri.
  2. Deduplica per estremi (numero + anno + organo).
  3. Raggruppa per fonte (ometti le sezioni vuote; dichiara le fonti non disponibili).
  4. In evidenza: scegli le 3 piu' rilevanti; per la Cassazione approfondisci con legal-it:leggi_sentenza.
  5. Norme citate: recupera il testo vigente con legal-it:cite_law. Mai a memoria.
  6. Intesta con # Briefing settimanale — settimana del <data corrente>.

Per il workflow dettagliato e la struttura completa dell'output, delega all'agente digest-giuridico.

Pianificazione settimanale (one-time setup)

Se l'argomento e' schedule, NON eseguire il briefing: configura un cron settimanale durevole una sola volta.

Registra il job tramite la CronCreate dell'harness con durable: true (persiste in .claude/scheduled_tasks.json e sopravvive ai riavvii):

  • cron: 37 8 * * 1 — lunedi alle 08:37. Usa un minuto diverso da :00 e :30 per non far convergere tutte le richieste sullo stesso istante (qui :37).
  • prompt: Esegui /digest e salva il briefing settimanale.
  • recurring: true
  • durable: true

⚠️ AVVERTENZA — i job ricorrenti durevoli scadono dopo 7 giorni. Un job recurring: true viene eseguito un'ultima volta e poi eliminato automaticamente dopo 7 giorni (limite dell'harness, vale anche per i durevoli). Per una pianificazione settimanale stabile occorre ri-registrarlo periodicamente oppure, per durabilita' reale, usare il cron di sistema del sistema operativo (crontab -e) che invochi il client in modalita' headless. Comunica sempre questo limite all'utente quando pianifichi.

Read the full file on GitHub · 48 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. 10d ago First seen · 48 lines · 51 tokens per session scan A 46fce466e576

Subscribe to this mod's changes

digest is a command published in the GitHub repository capazme/mcp-legal-it (15 stars, last pushed 11d ago), licensed Apache-2.0. It adds 51 tokens to every session and 1,019 once invoked, about $0.0003 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.