Master Agent Playbook

Master Agent Playbook is a skill for Claude Code, Codex from CopilotKit/OpenGenerativeUI. It costs 27 tokens per session (4,216 once invoked), scanned A, original, MIT.

A guide for coding agents on choosing how to explain ideas, including when to use a diagram, interactive example, chart, or short written answer.

In plain words
What is it for?
It is for creating educational responses with diagrams, flowcharts, interactive controls, charts, worked examples, and clear explanations.
Why use it?
It helps an agent match the form of an answer to the question, so difficult concepts are easier to understand than they would be from text alone.

Skill for Claude CodeCodex

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 skills/copilotkit/opengenerativeui/master-playbook
Any agent
npx skills add CopilotKit/OpenGenerativeUI --skill master-playbook
Clone the repo
git clone --depth 1 https://github.com/CopilotKit/OpenGenerativeUI

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 Master Agent Playbook

README.md
[![agentmods](https://agentmods.dev/badge/skills/copilotkit/opengenerativeui/master-playbook.svg)](https://agentmods.dev/skills/copilotkit/opengenerativeui/master-playbook)
Your own site
<a href="https://agentmods.dev/skills/copilotkit/opengenerativeui/master-playbook"><img src="https://agentmods.dev/badge/skills/copilotkit/opengenerativeui/master-playbook.svg" alt="Measured on agentmods" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,216 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.00027 $0.04216
Opus 5 $0.00014 $0.02108
Sonnet 5 $0.00005 $0.00843
Haiku 4.5 $0.00003 $0.00422

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

Security

Grade A, and why

Master Agent 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 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.

apps/agent/skills/master-playbook/SKILL.md · 527 lines

How it starts

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

Master Agent Playbook: Making AI Responses Extraordinary

This playbook teaches an AI coding agent how to go beyond plain text and deliver responses that are visual, interactive, and deeply educational. It covers the philosophy, decision-making, and technical skills needed.


Part 1: The Core Philosophy

Think Like a Teacher, Not a Search Engine

Bad: "A load path is the route that forces take through a structure to the ground." Good: [draws an interactive building cross-section with loads flowing downward]

The principle: Show, don't just tell. Before writing any response, ask:

  • Would a diagram make this click faster than a paragraph?
  • Would an interactive widget let the user explore the concept themselves?
  • Would a worked example teach better than a definition?

The Response Decision Tree

User asks a question
  |
  +- Is it a quick factual answer? -> Answer in 1-2 sentences.
  |
  +- Is it conceptual / "how does X work"?
  |   +- Is it spatial or visual? -> SVG illustrative diagram
  |   +- Is it a process/flow? -> SVG flowchart or HTML stepper
  |   +- Is it data-driven? -> Interactive chart (Chart.js / Recharts)
  |   +- Is it abstract but explorable? -> Interactive HTML widget with controls
  |
  +- Is it "build me X"? -> Working code artifact, fully functional
  |
  +- Is it a comparison? -> Side-by-side table or comparative visual
  |
  +- Is it emotional/personal? -> Warm text response. No visuals needed.

The 3-Layer Response Pattern

Great responses layer information:

  1. Hook (1-2 sentences): Validate the question, set context.
  2. Visual (diagram/widget): The core explanation, rendered visually.
  3. Narration (2-4 paragraphs): Walk through the visual, add nuance, connect to what the user already knows. Offer to go deeper.

Never dump a visual without narration. Never narrate without visuals when visuals would help.

This maps directly onto the mandatory tool sequence: Acknowledge in text, call plan_visualization, Build with generateSandboxedUi, then Narrate.

Read the full file on GitHub · 527 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. 4d ago First seen · 527 lines · 27 tokens per session scan A c67ee2f9eaac

Subscribe to this mod's changes

Master Agent Playbook is a skill published in the GitHub repository CopilotKit/OpenGenerativeUI (1,534 stars, last pushed 2mo ago), licensed MIT. It adds 27 tokens to every session and 4,216 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.

Related

Other skills, from other repositories

Advanced Visualization Techniques

UI mockups, dashboards, advanced interactivity, generative art, simulations, math visualizations, and design system rules for producing rich HTML widget output.

bubba2koldd-design/OpenGenerativeUI · 35 tokens

Master Agent Playbook

Philosophy, decision-making framework, and technical skills for delivering visual, interactive, and educational AI responses.

bubba2koldd-design/OpenGenerativeUI · 27 tokens

SVG Diagram Generation

Generating rich inline SVG diagrams to visually explain systems, processes, architectures, and abstract concepts.

bubba2koldd-design/OpenGenerativeUI · 22 tokens

reskin

Author a NEW skin for the reskinnable-demo app. A skin is a self-contained domain plugin under src/skins/ / that implements the frozen Skin contract (src/shell/skin-contract.ts) to swap the app's entire experience — brand, theme, layout, pages, tools, data, and agent — as a live sales demo. Use when the user says "add…

CopilotKit/CopilotKit · 154 tokens

copilotkit-setup

Use when adding CopilotKit to an existing project or bootstrapping a new CopilotKit project from scratch. Covers framework detection, package installation, runtime wiring (managed Intelligence or self-hosted SSE), provider setup, and first working chat integration.

CopilotKit/CopilotKit · 56 tokens

setup-slack-channel

Use for the PROVIDER half of getting a locally running CopilotKit Channels agent to answer in Slack, when no Slack app exists yet — setting up a Channels bot in Slack for the first time, creating the Slack app and its tokens, attaching it to a managed Intelligence Channel, or when a Channel reports setuprequired, sits…

CopilotKit/CopilotKit · 206 tokens