Giovanni: Command for Claude Code

.claude/commands/digest.md

digest is a command for Claude Code from jaroslavsoucek-art/Giovanni. It costs 25 tokens per session (1,820 once invoked), scanned A, original, MIT.

A slash command that builds a daily digest by collecting sources in parallel, combining the results, detecting changes, creating briefs, and showing the result in chat.

In plain words
What is it for?
Run /digest for the full 12-step digest process, /digest --force to bypass its four-hour timing check, or /digest --source <name> to test one configured source without synthesis.
Why use it?
It gathers recurring source updates into one workflow instead of requiring each source and follow-up step to be handled separately.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths.

This is jaroslavsoucek-art/Giovanni's own configuration. It tells Claude Code how to work on Giovanni itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Giovanni configures →

Reuse

Borrowing it

Nothing to install: this file belongs to jaroslavsoucek-art/Giovanni. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/jaroslavsoucek-art/Giovanni/main/.claude/commands/digest.md
Clone the repo
git clone --depth 1 https://github.com/jaroslavsoucek-art/Giovanni

Made for: Claude Code.

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/jaroslavsoucek-art/giovanni/digest/github.svg)](https://agentmods.dev/commands/jaroslavsoucek-art/giovanni/digest)
Your own site
<a href="https://agentmods.dev/commands/jaroslavsoucek-art/giovanni/digest"><img src="https://agentmods.dev/badge/commands/jaroslavsoucek-art/giovanni/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/jaroslavsoucek-art/giovanni/digest"><img src="https://agentmods.dev/badge/commands/jaroslavsoucek-art/giovanni/digest.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 1,820 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.01820
Opus 5 $0.00013 $0.00910
Sonnet 5 $0.00005 $0.00364
Haiku 4.5 $0.00003 $0.00182

Measured 9d ago against content hash be8e6e4af9da, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 9d 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.

.claude/commands/digest.md · 104 lines

How it starts

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

/digest

Orchestrate the daily digest per .claude/workflows/daily-digest.md. This command is a thin shell — it sets up pre-flight, parses args, fans out source-puller agents in parallel, then hands off to the workflow procedure. The mechanics live in the workflow doc and the agents; this file is the invocation contract.

Usage

/digest                            # default — full 12-step procedure
/digest --force                    # override 4 h cadence guard
/digest --source <name>            # debug mode — run a single source pull only
/digest --source <name> --force    # both

Argument syntax

Arg Type Default Meaning
--force boolean flag off Skip the 4 h cadence guard (Workflow Step 0.3). Use after correcting a botched run or rerunning intentionally.
--source <name> parameterized none Run only the named source pull and render its bullets — bypasses synthesis, drift, briefs, shadow. Debug aid for source config tuning. <name> must match an entry in memory/digest_sources.md.

Quoted strings supported. --flag=value and --flag value both work.

Pre-flight (binding — STOP on failure)

Before spawning any agent, the orchestrator verifies:

  1. CWD check. Working directory contains both memory/digest_sources.md and docs/digest.md. Otherwise STOP: ERROR: not in a Giovanni repo (no memory/digest_sources.md). Reinvoke from repo root.
  2. State file readable. memory/digest_state.md exists and parses last_run_timestamp as ISO 8601. If missing or empty:
    • First run ever → ASK the principal for a manual seed timestamp (e.g. "start window 7 days ago"). Do NOT default.
    • Corrupt / missing field → STOP with a diagnostic line pointing at memory/digest-state.template.md.
  3. Cadence guard. If last_run_timestamp is less than 4 h ago AND --force is not set, STOP: INFO: last digest <Nm> ago — re-running this fast pollutes state. Override with --force.
  4. Source config presence. memory/digest_sources.md parses and lists ≥1 source. Empty config is a setup error, not a "quiet day". STOP: ERROR: memory/digest_sources.md has no configured sources. Seed it per memory/digest-sources.template.md.
  5. Required agent files present. .claude/agents/source-puller.md (parallel pull) and — if Step 9/10 will reach them — profile-bootstrap.md. Missing agent file → STOP with which file is absent.

Read the full file on GitHub · 104 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. 9d ago First seen · 104 lines · 25 tokens per session scan A be8e6e4af9da

Subscribe to this mod's changes

digest is a command published in the GitHub repository jaroslavsoucek-art/Giovanni (2 stars, last pushed 2mo ago), licensed MIT. It adds 25 tokens to every session and 1,820 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.