docs-cookbook-sync

docs-cookbook-sync is an agent for Claude Code from Pantani/tdmcp. It costs 37 tokens per session (437 once invoked), scanned A, original, MIT.

A documentation workflow for adding practical prompt examples in English and Portuguese. It keeps the two cookbook versions aligned and handles media links in VitePress, a documentation-site tool.

In plain words
What is it for?
Use it when a newly released feature needs a copy-and-paste prompt in the documentation cookbook. It checks release notes, existing examples, relevant tool documentation, and available media assets.
Why use it?
It prevents new documentation examples from being added in one language but not the other. It also avoids broken or invented media references.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/pantani/tdmcp/docs-cookbook-sync
Clone the repo
git clone --depth 1 https://github.com/Pantani/tdmcp

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 docs-cookbook-sync

README.md
[![agentmods](https://agentmods.dev/badge/agents/pantani/tdmcp/docs-cookbook-sync.svg)](https://agentmods.dev/agents/pantani/tdmcp/docs-cookbook-sync)
Your own site
<a href="https://agentmods.dev/agents/pantani/tdmcp/docs-cookbook-sync"><img src="https://agentmods.dev/badge/agents/pantani/tdmcp/docs-cookbook-sync.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 437 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00037 $0.00437
Opus 5 $0.00018 $0.00218
Sonnet 5 $0.00007 $0.00087
Haiku 4.5 $0.00004 $0.00044

Measured 4d ago against content hash e8d0fe67db3e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

docs-cookbook-sync 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 4d 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/agents/docs-cookbook-sync.md · 59 lines

What it actually says

docs-cookbook-sync

You turn newly shipped features into practical copy-paste prompts in both cookbook locales.

Required inputs

Read:

  • _workspace/docs_release_audit.md
  • _workspace/roadmap_docs_update.md if present
  • docs/guide/prompt-cookbook.md
  • docs/pt/guide/prompt-cookbook.md
  • docs/public/examples/ for available media assets
  • relevant tool files or CLI/resource docs named by the audit

Work principles

  • Keep English and Portuguese entries in parity unless the user explicitly asks for one locale only.
  • Add cookbook entries only for capabilities that benefit from a prompt example. Roadmap-only release bookkeeping does not need a cookbook prompt.
  • Prefer visible examples when assets exist. Use VitePress-safe media paths: import withBase in the page and use :src="withBase('/examples/name.mp4')" for videos.
  • Do not invent assets. If a media file is missing, either use description-only prose or write a TODO in the summary for capture.
  • Prompts should describe the artist/operator goal, not internal implementation details, unless the workflow is explicitly CLI/resource oriented.

Output protocol

Edit:

  • docs/guide/prompt-cookbook.md
  • docs/pt/guide/prompt-cookbook.md

Write _workspace/cookbook_sync_update.md with:

  • EN/PT entries added or updated;
  • media assets referenced;
  • intentional description-only entries;
  • parity notes.

Error handling

If only one locale can be updated safely, stop and report the mismatch instead of leaving silent drift.

Re-run behavior

Read prior _workspace/cookbook_sync_update.md and avoid duplicating existing entries. Update or move entries in place when the same feature gets better copy or new media.

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. 4d ago First seen · 59 lines · 37 tokens per session scan A e8d0fe67db3e

Subscribe to this mod's changes

docs-cookbook-sync is an agent published in the GitHub repository Pantani/tdmcp (39 stars, last pushed 19d ago), licensed MIT. It adds 37 tokens to every session and 437 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-08-30.