Coordinates bulk playbook writing using parallel sub-agents — covers org discovery, prompt templates, model selection, batch dispatch, verification, and the parent-saves pattern for working around subagent permission limits.
Ships in registry-maintenance. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Coordinate bulk creation or enrichment of playbook agent notes across many orgs using parallel sub-agents.
A playbook is a per-org skill for fetching that org's releases. Same mental model as the global skills in this corpus (parsing-changelogs, managing-sources, etc.) — but scoped to one organization. It tells a future agent (managed or local) how to pull updates from this org: extraction quirks, naming conventions, which sources are canonical, what to skip, where rollups hide.
Global skills teach general patterns; per-source parseInstructions teach source-specific hints; the playbook is the org-level layer between them. When agents fetch any of an org's sources, they should load that org's playbook into context alongside the global skills — the playbook overrides general rules with specific org behavior.
Write notes as instructions to an LLM, not as human documentation. Imperative voice ("Set version=null", "Parse <h2> as version boundaries"), concrete examples from real data, and only observations that change future fetch behavior.
A local-Claude-Code skill. The dispatch pattern below uses Claude Code's Agent tool, run locally — there is no remote managed-agent fleet in this repo to deploy it to. Onboarding and fetch dispatch for orgs/sources goes through the local-ingest skill or releases admin org|source create instead.
Find orgs that need playbooks. Run this to check coverage:
bun -e "
const orgs = JSON.parse(Bun.spawnSync(['releases', 'admin', 'org', 'list', '--json'], { stderr: 'ignore' }).stdout.toString());
const active = orgs.filter(o => o.sourceCount > 0).sort((a,b) => b.releaseCount - a.releaseCount);
for (const org of active) {
const playbook = JSON.parse(Bun.spawnSync(['releases', 'admin', 'playbook', org.slug, '--json'], { stderr: 'ignore' }).stdout.toString());
const status = playbook.notes?.length > 100 ? 'has notes (' + playbook.notes.length + ' chars)' : 'NEEDS PLAYBOOK';
console.log(org.slug.padEnd(25) + ' sources=' + String(org.sourceCount).padStart(2) + ' ' + status);
}
" 2>/dev/null
This produces a ranked list of orgs with their playbook status. Target orgs showing "NEEDS PLAYBOOK".
Before dispatching agents, collect source metadata for the target orgs. Each agent needs to know the org's sources, types, URLs, and product structure. Gather this in bulk:
for org in <slugs>; do
echo "=== $org ==="
releases admin org get "$org" --json 2>/dev/null | bun -e "
const d = JSON.parse(await Bun.stdin.text());
const products = d.products?.map(p => p.name + ' (' + p.slug + ')').join(', ') || 'none';
console.log('Products:', products);
d.sources?.forEach(s => {
const meta = s.metadata || {};
const parts = [s.slug, 'url=' + s.url, 'type=' + s.type];
if (meta.feedUrl) parts.push('feed=' + meta.feedUrl);
if (s.fetchPriority !== 'normal') parts.push('priority=' + s.fetchPriority);
if (meta.parseInstructions) parts.push('parseInstructions=YES');
console.log(' ' + parts.join(' | '));
});
" 2>/dev/null
done
list <slug> --json) and fetch logs (admin source fetch-log <slug> --json) before writing| Model | Cost/playbook | Best for |
|---|---|---|
| Opus | ~$0.07 (compilation) / ~$0.13 (verified) | Top-10 orgs, complex source sets, first-time verified runs |
| Sonnet | ~$0.01 / ~$0.03 | Sweet spot for quality/cost. Most thorough output. Use for top-20 verified runs |
| Haiku | ~$0.008 / ~$0.009 | Bulk coverage (orgs 20+). Output is usable but may include filler. Cheapest even with higher token count (extra tokens are cached input) |
Launch one agent per org, in parallel. Use batches of 10 to avoid overwhelming the system.
Write playbook agent notes for the org "{slug}" and save them using the CLI.
Playbooks are **skills for agents that will fetch from this org**. Write in imperative voice — tell the agent what to do, not what things are.
Notes have three headings: `### Fetch instructions`, `### Traps`, `### Coverage`.
**{Org name}'s sources:**
{list each source with: slug, type, url, and any notable metadata}
Products: {product list or "none"}
**Fetch instructions**: One paragraph per source in imperative voice. Tell the agent what to do ("Set version=null", "Parse <h2> as version boundaries", "No filtering needed"), what to expect (cadence, content quality), and when to skip.
**Traps**: Bullet list with **bolded trigger labels**. Only include things that would cause wasted work or bad data. Include "Don't re-discover" warnings for disabled sources.
**Coverage**: 2-3 sentences. Which sources are canonical, whether there are gaps.
Save by running:
releases admin playbook {slug} --notes-file - 2>/dev/null <<'NOTES'
YOUR NOTES HERE
NOTES
Verify with: releases admin playbook {slug} 2>/dev/null | tail -20
The playbook header regenerates automatically after any source create/update/delete, and the --notes-file PATCH seeds a fresh header on first write — no separate regenerate step needed.
Write a **verified** playbook for the org "{slug}".
Unlike a basic playbook, you must do actual research first.
Playbooks are **skills for agents that will fetch from this org**. Write in imperative voice — tell the agent what to do, not what things are.
## Step 1: Gather data (run all of these)
releases admin org get {slug} --json 2>/dev/null
{for each source:}
releases list {source-slug} --json 2>/dev/null
releases admin source fetch-log {source-slug} --json 2>/dev/null
## Step 2: Analyze what you found
Before writing, answer these questions from the data:
- What version format does each source actually use? Cite examples.
- What's the real publish cadence? Count releases per month from dates.
- Are there fetch errors in the logs? What kind?
- Are there releases with missing dates, empty content, or data quality issues?
- **Is the source actually being fetched?** Compare `lastFetchedAt` to the cadence you just measured. An empty fetch-log + stale `lastFetchedAt` (older than ~3× the publish interval) means the cron is silently skipping this source — usually because the change-detector quirk is `unreliable`. Do not write "all releases ingested successfully" or "no errors" in that case; the source is stranded, not healthy.
## Step 3: Write skill-style notes grounded in data
Structure: `### Fetch instructions`, `### Traps`, `### Coverage`.
**Fetch instructions**: One paragraph per source in imperative voice. Tell the agent what to do ("Set version=null", "Parse <h2> as version boundaries"), what to expect (cadence, content quality), and when to skip. Cite version format examples from actual data.
**Traps**: Bullet list with **bolded trigger labels**. Only include things backed by evidence from fetch logs or release data. Include "Don't re-discover" warnings for disabled sources.
**Coverage**: 2-3 sentences. Which sources are canonical, whether there are gaps.
Every claim must cite observed data. If uncertain, say so explicitly.
## Step 4: Save
releases admin playbook {slug} --notes-file - 2>/dev/null <<'NOTES'
YOUR NOTES HERE
NOTES
Verify with: releases admin playbook {slug} 2>/dev/null | tail -20
// Launch up to 10 agents in parallel per batch
Agent({
description: "Write playbook: {slug}",
model: "sonnet", // or "haiku" for bulk
prompt: compiledPromptTemplate,
run_in_background: true,
});
Sub-agents may be blocked from saving notes via Bash (heredoc permission issues). When this happens:
releases admin playbook {slug} --notes-file - 2>/dev/null <<'NOTES'
{paste notes from agent result}
NOTES
This is a known limitation of subagent permissions. Plan for it — check each agent's result and save manually if needed.
After all agents complete, verify coverage in bulk:
bun -e "
const orgs = [{target slugs}];
for (const org of orgs) {
const proc = Bun.spawnSync(['releases', 'admin', 'playbook', org, '--json'], { stderr: 'ignore' });
try {
const d = JSON.parse(proc.stdout.toString());
const len = d.notes?.length ?? 0;
console.log(org.padEnd(25) + (len > 100 ? 'OK (' + len + ' chars)' : 'MISSING'));
} catch { console.log(org.padEnd(25) + 'ERROR'); }
}
" 2>/dev/null
Important: Do not pipe bun | bun in shell for-loops — stdin contention causes silent failures. Use Bun.spawnSync in a single process as shown above.
A batch run makes real prod mutations across many orgs. Leave a durable, cost-aware trail in the per-user ~/.releases/work/ workspace so the work is auditable after the transcript scrolls away — don't let it evaporate into the conversation. The workspace is in the home dir (not CWD) so the trail is the same whether you run from the monorepo or the releases-cli checkout. Full layout and templates: docs/architecture/maintenance-workspace.md.
Local Claude Code only. This assumes a persistent local filesystem. The dispatch pattern in this skill is local-driven — run it from a local Claude Code session with a persistent filesystem, not an ephemeral one.
At the start of a batch, start a run so the CLI's mutation log points at it:
releases admin work start <batch>
# Creates ~/.releases/work/runs/<ts>-<batch>/ and writes a sticky
# ~/.releases/work/.current-run pointer the CLI reads on every later call.
mkdir -p ~/.releases/work/{tasks,reports} # for the batch definition + cross-run report below
(Honors RELEASES_DATA_DIR — substitute $RELEASES_DATA_DIR/work for ~/.releases/work if set.) With a run active, every releases admin … write — including the parent-saves fallback above, which is where most playbook saves land — auto-appends a line to the run's mutations.jsonl. You no longer hand-collect the raw --json outputs. Use work start, not export RELEASES_RUN_DIR: each Bash tool call is a fresh shell, so a one-time export stops logging after the first command, while the .current-run pointer is read fresh on every invocation. (RELEASES_RUN_DIR set inline still wins as a one-off override; releases admin work status shows the active run, work end clears it.) Optionally write the batch definition (targets, workflow, model) to ~/.releases/work/tasks/<batch>.md up front so the run is re-runnable.
After all agents complete, write the judgment layer the CLI can't capture:
summary.md in the run dir (the path work start printed; work status reprints it): status, per-target result table, cost, and what changed. mutations.jsonl beside it already holds the raw record of every save.~/.releases/work/reports/<date>-<batch>.md with the cross-run pass-rate / cost table and findings worth acting on.What to capture in the summary and report (these are the data-grounded observations a verified run surfaces):
lastFetchedAt. File or list these as follow-up fixes.What SKILL.md sets; muted values are Claude Code's defaults
/registry-maintenance:seeding-playbooksfrom registry-maintenance
npx claudepluginhub buildinternet/releases --plugin registry-maintenance8 skills in this plugin
/backfilling-sourcesBackfill a changelog source's full history locally in Claude Code via the backfill-source / backfill-sweep dynamic Workflows — preflight-gated, window-capped, budget-gated extraction written through the idempotent /batch upsert, with no remote extraction inference bill. Use when a source has a lot of history to pull in and running the remote update workflow per window would be too expensive. Local Claude Code only./firecrawl-monitoringPut a challenge-blocked or unreliable scrape source on the external Firecrawl monitoring backend, or triage one that's already on it. Use when a page sits behind a bot challenge our Browser Rendering can't clear, when render keeps returning an empty shell, when enabling/disabling/tuning a monitor, or when a Firecrawl-backed source went quiet or ingested wrong content. Operator skill; requires admin API access and prod-only Firecrawl bindings.
/generating-release-contentGenerate the AI fields on releases — `title_generated`, `title_short`, `summary`, and `composition` — for one release, a window, or a backfill, via Claude Code sub-agents and direct SDK calls (OpenRouter/DeepSeek to match production summarize). Use when iterating on prompts, running provider/model experiments, or filling in a small-to-medium backfill outside the production ingest path. Large backfills: prefer scripts/generate-release-content.ts (OpenRouter by default; Anthropic Batches via --anthropic-batch). (Managed agents can spawn sub-agents now too; the dispatch scaffolding for this skill just isn't wired up on that side yet.)
/grouping-releasesGroup releases that cover the same underlying launch so readers see one story instead of three. Use when manually curating an org's coverage — reconciling a window of recent releases, fixing a bad automatic grouping, or linking coverage the deterministic clusterer can't see. Decide which item is the best entry point for the average reader and mark it canonical. Local Claude Code operator skill; ingest-time grouping is deterministic code, not this skill.
/local-ingestOnboard or backfill a company's changelog locally in Claude Code by fetching pages and extracting releases with the agent itself (and parallel sub-agents), then writing through the batch-upsert endpoint — no remote fetch dispatch, no server-side extraction inference billing. Use when you want to onboard a source without triggering the remote update workflow's billed extraction, or recover from a remote fetch that burned tokens and wrote zero releases. Includes a mandatory robots.txt / Content-Signal opt-out gate./maintaining-orgsRoutine maintenance of indexed organizations — fetch all sources, regenerate overviews, verify data quality. Use when asked to "update", "refresh", or "maintain" one or more orgs, or when doing periodic sweeps of the registry.
Other plugins' skills for the same job