katashiro-guided-runbook

katashiro-guided-runbook is a skill for Claude Code, Codex from brettchien/katashiro. It costs 163 tokens per session (2,413 once invoked), scanned A, original, MIT.

A live runbook that guides a human through a multi-step operational task. A runbook is a written sequence of commands and checks for work such as a production change, migration, outage test, or incident fix.

In plain words
What is it for?
Use it to document and execute production changes, migrations, data backfills, load or outage tests, and incident fixes. It helps compare each command's output with the expected result.
Why use it?
It keeps the operator on the next safe step and checks pasted results against what was expected. The human remains responsible for running every command.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to document and execute production changes, migrations, data backfills, load or outage tests, and incident fixes. It helps compare each command's output with the expected result.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/brettchien/katashiro/katashiro-guided-runbook
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.

Any agent
npx skills add brettchien/katashiro --skill katashiro-guided-runbook
Clone the repo
git clone --depth 1 https://github.com/brettchien/katashiro

Made for: Claude Code, Codex.

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 katashiro-guided-runbook

README.md
[![agentmods](https://agentmods.dev/badge/skills/brettchien/katashiro/katashiro-guided-runbook/github.svg)](https://agentmods.dev/skills/brettchien/katashiro/katashiro-guided-runbook)
Your own site
<a href="https://agentmods.dev/skills/brettchien/katashiro/katashiro-guided-runbook"><img src="https://agentmods.dev/badge/skills/brettchien/katashiro/katashiro-guided-runbook/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 katashiro-guided-runbook

Your own site · 80×15
<a href="https://agentmods.dev/skills/brettchien/katashiro/katashiro-guided-runbook"><img src="https://agentmods.dev/badge/skills/brettchien/katashiro/katashiro-guided-runbook.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 163 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,413 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.00163 $0.02413
Opus 5.5 $0.00065 $0.00965
Sonnet 5.5 $0.00033 $0.00483
Haiku 4.5 $0.00016 $0.00241

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

Security

Grade A, and why

katashiro-guided-runbook 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 3d 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.

skills/katashiro-guided-runbook/SKILL.md · 171 lines

How it starts

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

katashiro-guided-runbook

The operator executes; you navigate. You write the runbook as a canvas, keep the next command marked, read the output they paste, compare it with what the step expects, and log every step in the canvas. You never run a command that changes a system — not even "just this once".

Uses katashiro-point-at (§3–4, canvas pointing) and katashiro-ask-user (cards). Install both.

Requirements

  • The current chat is a Katashiro chat, so katashiro.canvas_* and katashiro.ask_user are available. Not in Discord/Slack threads or cron turns.
  • Pointing (canvas_highlight, canvas_inject_css) works only while your conversation is the one on screen. From a background conversation they are refused: keep logging, point again when the user is back.

1. Draft the runbook canvas

katashiro.canvas_open a markdown canvas with this shape:

# <Goal> — runbook
Ticket: <link> · Owner: <operator> · Order: stg → prd-a → prd-b · Timezone: <operator's, e.g. TPE>
Rollback summary: <one or two lines>

## Prerequisites
### pre · 1 · <tools / access check>
...

## stg
### stg · 1 · <short name>
Command:
```sql
SELECT ...
```
Expected: <counts, %, states the output must show>
Stop if: <the condition that halts the run>

### stg · 2 · ⚠️ DESTRUCTIVE · <short name>
...
Rollback (stg): <commands>

## prd-a
...

## Execution log
| Time (TPE) | Env | Step | Before → after | Verdict | Notes |
|---|---|---|---|---|---|
| — | — | — | — | — | end of log |
  • Every step gets its own heading, unique in the whole canvas (### <env> · <n> · <name>). The same command often runs in every environment; canvas_highlight's find must match exactly one block, so always point with heading.
  • One command per code block, copy-pasteable. Mark destructive steps ⚠️ DESTRUCTIVE in the heading.
  • A read-only helper you may run yourself (a SELECT through a tool you have) is labelled (read-only, agent may run) in its heading. Anything else, the operator runs.
  • The execution log is the last section, and its last row is the fixed anchor | — | — | — | — | — | end of log |. New rows go just above it, so the lines of every step above never move (§2 relies on that).
  • Commands read secrets from the operator's environment or vault ($CH_PASSWORD, vault read …). Never put a key, a password, a real IP list or other sensitive identifier in the canvas or chat.

Read the full file on GitHub · 171 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. 3d ago First seen · 171 lines · 163 tokens per session scan A f38972fe31a0

Subscribe to this mod's changes

katashiro-guided-runbook is a skill published in the GitHub repository brettchien/katashiro (10 stars, last pushed today), licensed MIT. It adds 163 tokens to every session and 2,413 once invoked, about $0.0007 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-10-19.