playbook

playbook is a command for Claude Code from komunite/kalfa. It costs 18 tokens per session (833 once invoked), scanned A, original, MIT.

Workflow recorder that turns a manually explained sequence of actions into a reusable command. It records what each step does, where it happens, why it is needed, and what it produces.

In plain words
What is it for?
Use it to capture development or operational workflows, identify steps that can run in parallel, and create a command with the right inputs, conditions, and tools.
Why use it?
It removes the need to remember or repeatedly explain the same multi-step process. The recorded procedure can be documented and repeated consistently.

Command 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 commands/komunite/kalfa/playbook
Clone the repo
git clone --depth 1 https://github.com/komunite/kalfa

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 playbook

README.md
[![agentmods](https://agentmods.dev/badge/commands/komunite/kalfa/playbook.svg)](https://agentmods.dev/commands/komunite/kalfa/playbook)
Your own site
<a href="https://agentmods.dev/commands/komunite/kalfa/playbook"><img src="https://agentmods.dev/badge/commands/komunite/kalfa/playbook.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 833 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.00018 $0.00833
Opus 5 $0.00009 $0.00417
Sonnet 5 $0.00004 $0.00167
Haiku 4.5 $0.00002 $0.00083

Measured 5d ago against content hash a73110eda67e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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/playbook.md · 88 lines

How it starts

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

Manuel bir iş akışını izle, ardından ondan otomatik olarak yeniden kullanılabilir bir komut oluştur. Adımları sen anlatırsın, bu komut onları tekrarlanabilir, belgelenmiş bir prosedüre dönüştürür.

Adımlar

Adım 1: Oyun kitabını adlandır

Argümandan oyun kitabı adını al. Belirtilmediyse, bu iş akışının ne yaptığını bir cümlede sor ve kebab-case bir isim türet.

Adım 2: İş akışını yakala

Kullanıcıdan iş akışını adım adım anlatmasını iste. Her adım için şunları yakala:

  • Ne: Yapılan eylem
  • Nerede: Hangi dosya, araç veya sistem dahil
  • Neden: Bu adımın amacı
  • Girdiler: Hangi bilgi gerekli
  • Çıktı: Bu adım ne üretiyor

Onlara rehberlik et: "Önce ne yapıyorsun?" → "Sonra ne?" → "Sırada ne var?"

Bitti dediklerinde devam et.

Adım 3: Kalıpları belirle

Yakalanan iş akışını analiz et:

  • Hangi adımlar paralel çalıştırılabilir? (bağımsız okumalar, aramalar)
  • Hangi adımlar kullanıcı girdisi gerektirir? (kararlar, onaylar)
  • Hangi adımlar koşullu? (yalnızca X ise, o zaman Y)
  • Her adım hangi araçlara ihtiyaç duyar? (Read, Write, Agent, Bash, WebSearch, vb.)
  • Adımlarla eşleşen mevcut skill'ler var mı? (.claude/skills/ kontrol et)

Adım 4: Argümanı belirle

Bu iş akışı her çalıştırıldığında hangi değişken girdiye ihtiyaç duyar?

  • Bir proje adı mı? Bir dosya yolu mu? Bir konu mu? Bir müşteri adı mı?
  • Mantıklı olan argument-hint'i tanımla

Adım 5: Komutu oluştur

Komut dosyasını .claude/commands/[oyun-kitabi-adi].md konumuna yaz:

---
description: [iş akışından türetilen bir satırlık açıklama]
argument-hint: "[belirlenen argüman]"
allowed-tools:
  - [adım analizinden türetilen gerekli araç listesi]
---

[Bu komutun ne yaptığının kısa açıklaması]

## Adımlar

### Adım 1: [İlk eylem]
[Yakalanan iş akışından türetilen talimatlar]

### Adım 2: [İkinci eylem]
[Talimatlar]

[Her adım için devam et, paralel adımlar işaretli]

### Adım [N]: Çıktı
[Son çıktının neye benzediği]

Adım 6: Doğrula ve iyileştir

Read the full file on GitHub · 88 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. 5d ago First seen · 88 lines · 18 tokens per session scan A a73110eda67e

Subscribe to this mod's changes

playbook is a command published in the GitHub repository komunite/kalfa (244 stars, last pushed 4mo ago), licensed MIT. It adds 18 tokens to every session and 833 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-30.