playbook
Playbook
Prozeduren als JSON. Durchsuche sie nach Absicht, gehe Titel durch, lade jeweils ein do nach dem anderen.
Playbook ist ein kleiner CLI- und MCP-Server, damit ein Agent (oder du) Anleitungen schreiben, finden und befolgen kann, ohne das gesamte Playbook in den Kontext zu laden. CLI-Verben bleiben getrennt. MCP komprimiert verwandte Verben in weniger Werkzeuge. Alles ist JSON.
Python 3.10+, nur Standardbibliothek zur Laufzeit.
Installation
pip install -e .
playbook searchPyPI ist noch nicht veröffentlicht.
Related MCP server: sop-mcp
Wo Dateien liegen
Eine JSON-Datei pro Prozedur, im Plattform-Datenverzeichnis:
Betriebssystem | Verzeichnis |
Linux |
|
macOS |
|
Windows |
|
Beachte XDG_DATA_HOME / APPDATA / LOCALAPPDATA. Befehle nehmen eine Prozedur-id, keinen Pfad.
Form
{
"id": "follow-playbook",
"title": "Follow a playbook procedure",
"description": "When to pick this file. Can be verbose.",
"tags": ["playbook", "follow"],
"steps": [
{
"id": "a1b2c3…",
"title": "Search by intent",
"do": "Call playbook_search with a sentence for the job."
}
]
}title — kurzer Name auf Suchkarten
description — wann diese Prozedur gewählt werden soll
steps — seriell. Eindeutige Titel. Zufällige Schritt-IDs.
doist die Arbeit.
CLI
Jeder Befehl gibt JSON aus (einschließlich Fehlern).
playbook create demo --title "Demo" --description "when to pick this" --tags demo
playbook add-step demo --title "First" --do "Do the first thing."
playbook add-step demo --title "Middle" --do "Do the middle." --after "First"
playbook edit demo --title "Better title"
playbook search "I want to follow a procedure"
playbook load demo
playbook load demo --full
playbook start demo --title "First"
playbook validate demo
playbook mcpsearch ist BM25 plus Zeichen-n-Gramme. Treffer sind nur id, title, description (Standard 8, Maximum 50). Schwache Übereinstimmungen werden verworfen.
load ist nur Titel. --full enthält jedes do. start ist ein do plus before / after-Titel.
MCP (Grok)
grok mcp add --scope user playbook -- playbook mcpVerwende einen absoluten Pfad zu playbook, wenn der gestartete Prozess dein Shell-PATH nicht hat. Dann /mcps und r, oder eine neue Sitzung.
Werkzeug | Rolle |
| Absichtssuche |
| Titel laden, |
| Neue Prozedur |
| Titel / Beschreibung / Tags |
|
|
| Validieren |
Tests
pip install -e .
python -m pytest tests/ -qLizenz
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
- mcp-serverOAuthcom.make
Give your AI agents the tools to build, manage, and run automation workflows.
Build and run agents and automations across hundreds of apps using natural language.
The governed runtime for agent skills. Search the catalog and inspect a skill before running it.
- SkilderOAuthai.skilder
One place to build, share, and govern the skills and tools your AI agents use at work.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to create, share, discover, and execute reusable multi-step workflow templates.MIT
- AlicenseAqualityAmaintenanceEnables AI agents to execute multi-step Standard Operating Procedures step by step, with enforcement of completion at each step, making LLM behavior predictable and auditable.53Apache 2.0
- AlicenseNot gradedqualityBmaintenanceGuides AI agents through structured, multi-step workflows with discovery, navigation, and fidelity enforcement.2Apache 2.0
- AlicenseAqualityBmaintenanceEnables AI agents to manage, search, plan, and execute reusable skills while automatically enforcing always-on coding and reasoning guidelines. It provides workflow orchestration, permission-controlled execution, dynamic skill registration, and feedback-based ranking.96 npm1MIT