playbook

playbook is a command for Claude Code from DevZonayed/Mochi. It costs 21 tokens per session (423 once invoked), scanned A, original, MIT.

A command set for managing Mochi playbooks, which are saved browser-based procedures. It can list, inspect, run, delete, compare, export, import, and create playbook drafts from a codebase.

In plain words
What is it for?
Use it to maintain playbooks, run them with inputs, search for a matching procedure, export or import bundles, review differences, and check required secret names.
Why use it?
It puts common playbook management tasks in one command interface and can show the result of a run or check for missing secrets without revealing their values.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the mochi plugin — 1 skill, 20 commands, 1 agent, 7 hooks, 3 MCP servers shipped together

Good fit Use it to maintain playbooks, run them with inputs, search for a matching procedure, export or import bundles, review differences, and check required secret names.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/devzonayed/mochi/playbook
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/DevZonayed/Mochi

Made for: Claude Code.

Or install mochi, the plugin that ships this one along with the rest of its 1 skill, 20 commands, 1 agent, 7 hooks, 3 MCP servers.

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 playbook

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/devzonayed/mochi/playbook"><img src="https://agentmods.dev/badge/commands/devzonayed/mochi/playbook.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 423 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.00021 $0.00423
Opus 5.5 $0.00008 $0.00169
Sonnet 5.5 $0.00004 $0.00085
Haiku 4.5 $0.00002 $0.00042

Measured 1mo ago against content hash 40865678f9f8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

playbook 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 1mo 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.

plugins/qa/commands/playbook.md · 22 lines

What it actually says

Parse $ARGUMENTS as a verb plus arguments:

  • list [--origin=…] [--tag=…] [--verifiable] → call browser_playbook_list with the parsed filters; render as a markdown table.
  • show <id> → call browser_playbook_get; render the meta + summary + steps to the user.
  • run <id> [--input.<name>=<value>] … → call browser_playbook_run with parsed inputs; surface the verdict.
  • delete <id> → call browser_playbook_delete; confirm.
  • match <task description> → call browser_playbook_match; render top hits.
  • seed [--domain=<url>] [--dry-run] → call browser_playbook_seed_from_codebase with the parsed args; render the drafts as a markdown table.
  • secret-check <id> → call browser_playbook_secret_check; render a table of secret names + availability + hints (never values).
  • diff accept <id> --run=<runId> [--step=N --step=M] → call browser_playbook_diff_accept; report which steps were blessed and the new playbook_version.
  • export [--ids=<id1,id2>] [--origin=<host>] [--tag=<tag>] [--out=<path>] → call browser_playbook_export; report bundle path + size.
  • import <path-or-url> [--overwrite] [--rewrite-origin=<host>] → call browser_playbook_import; render the imported/skipped lists.
  • ui → call browser_playbook_dashboard (default open: true); the dashboard opens in the user's active browser session.

If no verb given, render help with these verbs and an example.

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. 1mo ago First seen · 22 lines · 21 tokens per session scan A 40865678f9f8

Subscribe to this mod's changes

playbook is a command published in the GitHub repository DevZonayed/Mochi (3 stars, last pushed 2d ago), licensed MIT. It adds 21 tokens to every session and 423 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-08-31.