runbook-creator

Authors, tests, and saves reusable multi-agent workflow scripts as team-shared runbooks.

Updated Jul 23, 2026
One-click install
npx skills add https://github.com/MadhavMareddy/AgentMarvel --skill runbook-creator-madhavmareddy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: runbook-creator
Source: https://github.com/MadhavMareddy/AgentMarvel/tree/main/harness/framework/skills/runbook-creator
Command: npx skills add https://github.com/MadhavMareddy/AgentMarvel --skill runbook-creator-madhavmareddy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Developers often re-run the same multi-step orchestration manually or lose a working workflow when a session ends. This Skill turns a proven orchestration into a named, linted, team-shared runbook while routing simpler tasks to lighter tools first. ## Core Features & Use Cases - Lightest-tool gating: Routes one-off tasks, event triggers, and sequential procedures to simpler tools before committing to a full runbook. - Run-first authoring: Authors Workflow scripts inline, proposes a small-args trial run, and iterates via resumeFromRunId until output is correct. - Promotion and maintenance: Lints scripts, checks name collisions, saves source plus deploy copies, and supports edit, usage tracking, and cleanup of saved runbooks. - Use Case: After a successful ad-hoc fan-out review of a codebase, say "save what I just ran" to promote the session's auto-persisted script into a named, invocable runbook shared with the team. ## Quick Start Ask the assistant to turn the workflow you just ran into a saved runbook named review-sweep and run it on one file first.

Frequently Asked Questions about runbook-creator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I save a workflow I just ran as a reusable runbook?

Say "save what I just ran" and the Skill picks up the auto-persisted script from the session, lints it, checks name collisions, writes the source to the team-shared runbooks directory, and deploys a copy to .claude/workflows for by-name invocation.

When should I use a runbook instead of a hook or a skill?

Use a runbook only for genuine fan-out, multi-stage orchestration, or resumable iteration. One-off tasks should just run directly, event-triggered behavior belongs in hooks, and sequential procedures without fan-out belong in a plain skill.

Can runbook scripts access the filesystem or shell directly?

No. Workflow script bodies are sandboxed to standard JS built-ins only; Date.now(), Math.random(), and fs or shell calls throw at runtime. All file and shell work must happen inside spawned agent() calls that return structured results.

Why does my runbook fail when reading args directly?

The Workflow tool can deliver args as a JSON string or a parsed object depending on invocation path. Always start with the normalization line const parsedArgs = typeof args === 'string' ? JSON.parse(args) : args, then validate parsedArgs before any agent call.

What are the limitations of runbooks versus the locked pipeline?

Runbooks are user automation with no proof-of-behavior guarantee and must never invoke the locked harness pipeline or write harness machinery paths. Code changes needing verified behavior should go through the locked pipeline via start-task instead.