# Playbook

> Playbook is an open-source agent skill for developer tools. Runs an end-to-end integration check of the mokata pipeline on a repository. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/JasGujral/mokata-oss/tree/main/src/mokata/skills/playbook
- **Repository:** https://github.com/jasgujral/mokata-oss
- **GitHub stars:** 19
- **License:** Apache-2.0
- **Skill name:** playbook
- **Collection:** https://github.com/JasGujral/mokata-oss
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

This skill drives the full mokata v1 workflow across a repository, moving through each phase and gate in order so the whole brainstorm-to-ship path can be exercised as one check. It is meant for validating a fresh install or smoke-testing the complete flow rather than for routine coding tasks.

The workflow runs through a bundled Python engine invoked from the shell, with options for parallel subagents, a fan-out mode and compressed sub-agent hand-backs. Long runs can be inspected or resumed, and pending human approvals can be listed, so an interrupted run keeps its state on disk. Durable writes stay behind human approval, and the skill asks for confirmation before running on a repository with uncommitted changes.

It expects a Python environment, the mokata toolchain, and a repository where test writes are acceptable. The skill is designed to run only when explicitly requested.

## When your agent uses it

> mokata · Run the full v1 story end-to-end on this repo (integration check).

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/JasGujral/mokata-oss/tree/HEAD/src/mokata/skills/playbook)
- [License: Apache-2.0](https://github.com/JasGujral/mokata-oss/tree/HEAD/src/mokata/skills/playbook)

## Features

- **End-to-end pipeline run:** Executes every mokata phase and gate in sequence on the target repository.
- **Parallel subagent mode:** Runs phases with subagents, falling back to sequential execution when none are available.
- **Human-gated writes:** Requires preview and explicit approval before any durable write is performed.
- **Dirty tree check:** Asks for confirmation before running on a repository with uncommitted changes.
- **Resume and approval listing:** Shows where a stalled run stands and which items are waiting for a human.
- **Health diagnostics:** Points to hung MCP servers or hooks that are not firing during a run.

## Good for

- Check that a fresh mokata install completes a full run
- Smoke-test the brainstorm-to-ship workflow on a repository
- Run the full pipeline in parallel with subagents
- Resume an interrupted mokata integration run
- Verify approval gates are enforced across all phases

## Install

### Claude Code

This skill ships in the `mokata` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add JasGujral/mokata-oss
/plugin install mokata@mostack
```

Or copy only this skill to `~/.claude/skills/playbook`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JasGujral/mokata-oss.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/playbook &&
cp -R "$tmp/src/mokata/skills/playbook" ~/.claude/skills/playbook &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/playbook` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/playbook` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JasGujral/mokata-oss.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/playbook &&
cp -R "$tmp/src/mokata/skills/playbook" ~/.agents/skills/playbook &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/playbook` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/playbook` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JasGujral/mokata-oss.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/playbook &&
cp -R "$tmp/src/mokata/skills/playbook" ~/.cursor/skills/playbook &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/playbook` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/JasGujral/mokata-oss.git --path src/mokata/skills/playbook
```

Or copy the folder to `~/.gemini/skills/playbook` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/playbook`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JasGujral/mokata-oss.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/playbook &&
cp -R "$tmp/src/mokata/skills/playbook" ~/.copilot/skills/playbook &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/playbook` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/JasGujral/mokata-oss.git
```

Then copy `mokata-oss/src/mokata/skills/playbook` into your agent's skills folder as `playbook`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Playbook trigger?

Only when the user explicitly asks to run mokata's full pipeline end-to-end as an integration check, or to smoke-test the whole flow. It is not meant to engage on its own initiative.

### What does Playbook need to run?

A Python environment, the bundled mokata engine (or a mokata CLI on PATH), and a repository where test writes are acceptable.

### Does Playbook write changes without approval?

No. Every durable write it performs is human-gated with a preview and explicit approval step.

### What happens if I have uncommitted changes?

The skill asks for confirmation before starting, since uncommitted work could be affected.

### How do I install Playbook in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/playbook to use it in all your projects, or to .claude/skills/playbook in one project. Or install the mokata plugin, which includes it: /plugin marketplace add JasGujral/mokata-oss, then /plugin install mokata@mostack.

### Does Playbook run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Playbook?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Playbook?

The closest alternatives to Playbook are Ci cd, Agent runtime gateway smoke test, Test, Shipping and Quality playbook.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Ci cd](https://ai-powered.com/skills/ci-cd): Ci cd is an open-source agent skill for developer tools.
- [Agent runtime gateway smoke test](https://ai-powered.com/skills/agent-runtime-gateway-smoke-test): Agent runtime gateway smoke test is an open-source agent skill for developer tools.
- [Test](https://ai-powered.com/skills/test): Test is an open-source agent skill for developer tools.
- [Shipping](https://ai-powered.com/skills/shipping): Shipping is an open-source agent skill for developer tools.
- [Quality playbook](https://ai-powered.com/skills/quality-playbook): Quality playbook is an open-source agent skill for developer tools.
- [Develop](https://ai-powered.com/skills/develop): Develop is an open-source agent skill for developer tools.
- [Figure it out](https://ai-powered.com/skills/figure-it-out): Figure it out is an open-source agent skill for developer tools.
- [Deploy runbook](https://ai-powered.com/skills/deploy-runbook): Deploy runbook is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/playbook-jasgujral
