court-calendar

court-calendar is a command for Claude Code from gonzalezpazmonica/savia. It costs 47 tokens per session (591 once invoked), scanned A, original, MIT.

A calendar tool for court hearings and other legal appearances. It can add dates, import ICS calendar files, list upcoming events, detect scheduling conflicts, and export calendar data; ICS is a common calendar-file format.

In plain words
What is it for?
Use it to manage hearings, trials, and appearances, link imported dates to legal deadlines, and check or share the resulting calendar.
Why use it?
It keeps case dates in one place and helps find overlapping appointments involving the same lawyer. It also accounts for travel time when suggesting schedule changes.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the pm-workspace plugin — 124 commands, 75 agents shipped together

Good fit Use it to manage hearings, trials, and appearances, link imported dates to legal deadlines, and check or share the resulting calendar.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/gonzalezpazmonica/savia/court-calendar
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/gonzalezpazmonica/savia

Made for: Claude Code.

Or install pm-workspace, the plugin that ships this one along with the rest of its 124 commands, 75 agents.

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 court-calendar

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/gonzalezpazmonica/savia/court-calendar"><img src="https://agentmods.dev/badge/commands/gonzalezpazmonica/savia/court-calendar.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 591 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.00047 $0.00591
Opus 5 $0.00023 $0.00296
Sonnet 5 $0.00009 $0.00118
Haiku 4.5 $0.00005 $0.00059

Measured 6d ago against content hash 2bd12f05917f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

court-calendar 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 6d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/commands/court-calendar.md · 92 lines

What it actually says

Calendario Judicial

Organiza y sincroniza comparecencias y vistas judiciales con detección de conflictos.

Uso

court-calendar import <caso> <juzgado> <fecha> <hora> [tipo]
court-calendar sync <archivo-ics>
court-calendar list [próximos-días]
court-calendar conflict
court-calendar export <formato>

Subcomandos

import

Añade fecha judicial manualmente.

  • caso: referencia del caso
  • juzgado: nombre/número del juzgado
  • fecha: fecha (YYYY-MM-DD)
  • hora: hora (HH:MM)
  • tipo: vista|juicio|comparecencia (default: comparecencia)

Almacena en: projects/{proyecto}/legal/court-calendar.json

sync

Lee e importa fechas desde archivo ICS.

  • archivo-ics: ruta del archivo de calendario
  • Parsea eventos y crea entradas
  • Vincula a plazos legales existentes

list

Muestra próximas comparecencias judiciales.

  • próximos-días: rango de visualización (default: 30)
  • Muestra: caso, juzgado, fecha, hora, tipo, abogado

conflict

Detecta conflictos de agenda.

  • Identifica: mismo abogado, horarios superpuestos
  • Considera tiempo de desplazamiento (1h por defecto)
  • Sugerencias de reprogramación
  • Filtra por abogado/período

export

Exporta calendario a formato ICS.

  • Compatible con Outlook, Google Calendar, Apple Calendar
  • Incluye detalles: caso, juzgado, contactos

Almacenamiento

{
  "court_dates": [
    {
      "id": "cd-001",
      "case": "C-2024-001",
      "court": "Juzgado 5 Mercantil",
      "date": "2026-03-25",
      "time": "10:30",
      "type": "vista",
      "assigned_to": "Abogado 1",
      "address": "Paseo de Recoletos 25",
      "deadline_id": "plazo-001"
    }
  ]
}

Vinculación

  • Cada entrada de juzgado vincula a plazo legal
  • Alertas sincronizadas con deadline
  • Historial de cambios registrado
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. 6d ago First seen · 92 lines · 47 tokens per session scan A 2bd12f05917f

Subscribe to this mod's changes

court-calendar is a command published in the GitHub repository gonzalezpazmonica/savia (50 stars, last pushed yesterday), licensed MIT. It adds 47 tokens to every session and 591 once invoked, about $0.0002 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-09-06.