@z3z1ma/open-loom-playbooks
v0.3.0
Published
OpenCode playbook package for optional explicit Loom workflow macros; requires @z3z1ma/open-loom-core.
Maintainers
Readme
Agent Loom Playbooks
Optional explicit workflow macros for Loom.
The required package gives agents the record skills and surfaces. Playbooks are explicit optional workflow lenses that help agents move through those surfaces when the task has a familiar shape: debug this, test this first, map this codebase, verify this UI, review this diff, migrate this safely, prepare this for release.
Install loom-core first. Playbooks assume the
using-loom skill is already loaded.
Agent Loom / Protocol / Install / loom-core
What Playbooks Add
A workflow-specific Playbook routes task-shaped work after it is explicitly invoked or after Core routing recommends that lens. A record skill owns a Loom surface and its procedure. Loom records carry durable facts.
A workflow-specific skill gives the agent workflow pressure while results still land in Loom records: reproduction evidence, research, specs, tickets, plans, audit findings, knowledge, or constitution decisions.
When a workflow-specific skill routes results through another Loom skill, follow the target skill's procedure and guidance completely. The route is a required handoff, not a shortcut around the target skill.
Vague work stays in outer-loop shaping until the next Loom surface is clear. A playbook must not turn ambiguity into an implementation shortcut; it should expose the missing scope, system-shape, data-model, state, evidence, and coherence choices. Complex work becomes ticket-ready slices; delegated worker or review work uses ticket-owned Ralph runs.
Use Playbook macros when general Loom routing is too thin for the work and the operator wants that lens. Examples:
- debugging should preserve the failure before the fix
- TDD should preserve red and green evidence
- performance work should measure before changing code
- UI work should use browser observation when runtime behavior matters
- migrations should keep rollout, proof, cleanup, and follow-up connected
- review work should route findings through audit and tickets
- release work should claim only what tickets and evidence support
The Set
The package currently ships 25 playbooks.
Planning and shaping:
loom-idea-refineloom-domain-language-and-decisionsloom-codebase-atlasloom-architecture-deepeningloom-intake-triageloom-prototype-and-spike
Implementation and verification:
loom-incremental-implementationloom-test-driven-developmentloom-source-driven-developmentloom-doubt-driven-developmentloom-frontend-ui-engineeringloom-api-and-interface-designloom-browser-testing-with-devtoolsloom-debugging-and-error-recovery
Coordination and review:
loom-git-workspace-isolationloom-parallel-worker-coordinationloom-code-review-and-qualityloom-review-responseloom-branch-finish
Hardening and release:
loom-code-simplificationloom-security-and-hardeningloom-performance-optimizationloom-ci-cd-and-automationloom-deprecation-and-migrationloom-shipping-and-launch
Playbooks are not the natural-language activation surface. OpenCode and Gemini expose them as explicit commands; Claude, Cursor, and Codex expose them as explicit-only skills where that is the supported harness surface. Do not treat a natural prompt as a reason to auto-load a Playbook.
How They Stay Loom
Playbooks use record skills and their procedures.
- debugging can create evidence, research, specs, tickets, audit, and knowledge
- architecture work can create specs, plans, tickets, evidence, and audit
- review response can update tickets, audit, specs, evidence, research, constitution, or knowledge
- Git coordination can protect branches and worktrees while tickets keep live execution state
- shipping can draft communication while tickets and evidence control what can be claimed
The workflow can end. Loom records keep the result.
Install Or Expose Playbooks
Expose loom-core first, then Playbooks:
/absolute/path/to/agent-loom/loom-core
/absolute/path/to/agent-loom/loom-playbooksOr expose the Core skill tree and the relocated Playbook corpus:
/absolute/path/to/agent-loom/loom-core/skills
/absolute/path/to/agent-loom/loom-playbooks/playbooksOpenCode can load loom-playbooks.mjs. Git-based installs for Claude Code,
Codex, Cursor, and Gemini CLI use the native manifests in this package. The npm
package exposes the OpenCode entrypoint and playbooks/ tree. Harness-specific
commands live in INSTALL.md.
Boundary
Playbooks are reusable explicit routes for coding agents. They do not add durable surfaces or weaken record-skill procedure.
Use a record skill when the next record move is clear. Add a playbook when the workflow itself needs pressure.
