Skip to content
Skill

Playbook

Runs an end-to-end integration check of the mokata pipeline on a repository

Playbook is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
19
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Playbook

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).

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (4 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

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

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

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

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.

Claude Code docs on skills

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

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.

Codex docs on skills

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

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.

Cursor docs on skills

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

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

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

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

Playbook 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.

More from JasGujral/mokata-oss

  1. Makes the agent design API contracts first and check callers before changing them

    • Open source
    • 19 GitHub stars
    • Developer tools
  2. Gives an agent NestJS rules for guards, DTO validation, modules and tests

    • Open source
    • 19 GitHub stars
    • Developer tools
  3. Guides an agent through Socratic exploration of an approach before any spec or code

    • Open source
    • 19 GitHub stars
    • Developer tools
  4. Guides an agent to capture live browser console, network and page state for tests

    • Open source
    • 19 GitHub stars
    • Developer tools
  5. Guides the agent to reproduce a reported bug with a failing test before fixing it

    • Open source
    • 19 GitHub stars
    • Developer tools
  6. Guides an agent on CI/CD pipelines, release builds and pinned supply-chain posture

    • Open source
    • 19 GitHub stars
    • Developer tools