Repository navigation
FAQ
No. The playbook holds instructions, checklists and checks. Your agent does the work, including posting through its own browser tool in your signed-in Chrome. Nothing in the repository runs on a schedule or talks to a platform's posting API.
Any agent that can read files and run shell commands. Claude Code loads it as a skill from
~/.claude/skills/agent-playbook/SKILL.md. For Codex or another agent, point its instructions file (for example
AGENTS.md) at SKILL.md. See Installation.
No, but it is the easy way to read and edit flows. Agents never need it: they use pb.py. You can also edit
everything with pb.py put and JSON files.
Yes. The engine (flows, parts, recipes, checklists, versioned store, lint) knows nothing about social media. The
demo, the QC filter types and the audit log are shaped around posting. The schema's lists are fixed, though:
seven flow groups, 42 icons, 20 platforms (including other) and ten node kinds. Changing them is a code change
in playbook/lib/schema.py and the canvas page (tests/test_page.py checks the two agree).
Not without changing code. Node kinds live in lib/schema.py and the canvas page; filter types are functions in
lib/qcengine.py. Contributions are welcome; see CONTRIBUTING.md.
By design. It prints what the agent needs to act: titles, summaries, details, checklists, folders, links,
accounts. It never prints origin and src (where a rule came from), and it prints a goto as one line because
the target flow holds the instructions.
In playbook/history/, up to 300 versions per document, with a journal of every change in
history/changes.jsonl. That folder is local to your machine and ignored by git. Git is your long-term history.
On the canvas: the flow's clock button, or History, Playbook changes, Versions. On the command line:
python playbook/pb.py changes to see what changed, pb.py versions <col> <id> and
pb.py restore <col> <id> <version> --reason "why".
Whoever saves second is refused, and nothing is overwritten. The canvas loads the newer version and tells you;
pb.py put (which saves against the revision the agent read) exits 1 and tells the agent to read the flow again.
See
The canvas.
Writes to the store, the audit log and the receipts take file locks, so parallel agents can't corrupt them. Only one run checklist can be open per skill folder at a time.
pb.py records each write under the name in the environment variable AGENT_PLAYBOOK_ACTOR, or agent when it
isn't set (restores add (restore)). Give each agent its own value, for example AGENT_PLAYBOOK_ACTOR=codex,
to tell their changes apart. Canvas changes are recorded as canvas.
audit.py add --override "why" logs a send without a passing receipt, and --force gets past a duplicate, an
unknown account, or a retired or skipped one. The override is recorded on the entry and run.py finish lists it
for the report. The gate makes skipping QC visible; it doesn't make it impossible.
No. Pattern filters catch the mistakes someone wrote down; ask filters force a judgment with evidence. When something gets through, add a filter with that text as its bad example.
The engine, the canvas server and the four command lines make no network requests. The canvas page loads its fonts from Google Fonts. Some helper scripts read public APIs (Bluesky, X syndication, LinkedIn guest search), and image generation uses the Codex CLI.
Yes. CI runs on Windows, macOS and Linux. The shortcut differs per OS, and on Linux the clipboard helpers need
wl-clipboard or xclip.
Set its status to retired (or skip): audit.py add, audit.py gap and the QC gate then refuse sends from it.
Or delete it with Delete on its card in Accounts (asks for a reason; steps that showed it keep their text),
or with python playbook/pb.py delete accounts <id> --reason "why".
The demo's folders point at placeholder paths under ~/AcmeNotes/. Point them at real folders on your machine
(absolute, ~/..., or relative to the skill folder). The count never fails the check.
Some scripts mention Facebook groups, LinkedIn jobs and explainer videos. The demo doesn't use them.
They are general helpers that ship with the engine. The demo flows use bank.py, bsky_open.py, xthread.py,
render_carousel.py, doctor.py, run.py, image_gen.py and quota.py; call the others from your own flows if
they fit. Scripts and media tools lists them all.
A private repository, not a fork (a fork of a public repository stays public). See Security and privacy.
MIT. The canvas's icons are a subset of Lucide (ISC).
Agent Playbook is released under the MIT licence. Source: github.com/RandyNorthrup/agent-playbook