Onboards changelogs locally in Claude Code by fetching pages and extracting releases with the agent, then batch-upserting — avoiding remote extraction billing. Use for cost-effective onboarding or recovery from failed remote fetches.
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.
Onboard a changelog without dispatching the remote fetch path. The remote path (releases admin source fetch → POST /v1/workflows/update → the API worker's DeterministicUpdateWorkflow, #1946) runs the body→records extraction server-side (incremental Haiku or the tool-loop) and bills that inference — even when it writes zero releases. A local Claude Code agent is already a capable model with web-fetch + file tools, so it can do the per-page extraction inline (folded into the session you're already in) and only needs a deterministic write path.
Core principle: the agent is the extractor. You fetch, you parse, you structure the records, and you POST them to the batch endpoint, which does an idempotent upsert. The remote extraction loop never runs. After the insert, the batch effects enqueue summarization (honoring metadata.summarize=false) and, when metadata.marketingFilter is set, marketing classification. The HTTP response does not wait on those model calls.
Local Claude Code only. This skill uses the Agent tool for sub-agent fan-out and assumes a persistent local filesystem and the CLI's RELEASES_API_* env. It sits alongside seeding-playbooks as a local-only operator skill.
State this explicitly to the operator before a large run, and honor it:
sonnet for quality, haiku for bulk).web_fetch extraction, no feed enrichment. POST /v1/workflows/update is never called.autoGenerateContent on, and metadata.summarize is not false) and the marketing classifier (only when metadata.marketingFilter is set). Both run in waitUntil after the response. Summarization runs in sequential waves of 20; classification runs on every inserted row. A large insert is processed in full. Set metadata.summarize=false before a boilerplate backfill if those summary calls should not run. Feed enrichment still does not run on this path. See Manual enrichment below for the deliberate override paths.The negative signal that confirms no remote run happened: in Axiom releases-cloudflare-logs there is no POST .../fetch?sessionId=det-… and no extract-deps-worker event for the source.
max_tokens failure mode) — extracting inline sidesteps the loop entirely.When NOT to use:
managing-sources) and let the cron pipeline fetch it. Local-ingest is for cases where the agent doing the extraction inline is the right tool, not a replacement for feed/GitHub adapters.Run the opt-out check before fetching or writing anything:
bun .claude/skills/local-ingest/preflight.ts <url> --json
It fetches robots.txt (following apex→www redirects), parses the Cloudflare Content Signals policy, and gates on exit code:
| Exit | Verdict | Action |
|---|---|---|
0 | proceed | Permissive or absent — continue. |
1 | refuse | ai-input=no declared. STOP. Surface to the user. Do not fetch or write. |
2 | unknown | Couldn't fetch/parse robots.txt. Retry once; if still unknown, surface to the user — don't assume proceed. |
The gate is on ai-input only. Local ingest is search/input ingestion — feeding a search index — which is exactly what ai-input governs. ai-train=no opts out of model training, a use this path doesn't perform, so ai-train=no alone (e.g. vercel.com) correctly proceeds.
This is the Conductor lesson. conductor.build serves Content-Signal: ai-train=no, search=yes, ai-input=no — its org/source already sits paused in the registry for exactly this reason (releases admin playbook conductor). A local onboard must not silently spend tokens or ingest content against a publisher opt-out. conductor.build must be refused (via its ai-input=no) — it is the regression target for this gate.
The refusal is a policy choice, not a technical limitation: web_fetch and CF Browser Rendering can still retrieve these pages (only Cloudflare's /crawl endpoint hard-enforced the signal for Conductor). Honor the opt-out anyway. Override only with explicit publisher permission documented by the operator — there is no silent bypass.
The preflight also prints any Sitemap: URLs from robots.txt — keep them for Step 3.
Ensure the org and source exist before writing — releases attach to a source_id. Defer to managing-sources for create/naming/primary rules and to finding-changelogs for whether a structured feed exists (if it does, prefer the normal pipeline). Then:
releases admin playbook <org> (see managing-sources → Playbooks).sourceSlug and the src_… id from the created/resolved row — you need one of them for the batch URL.If the source is brand-new, create it (e.g. releases admin source create "<name>" --url <url> --org <org> [--primary]) but do not trigger a fetch — that would dispatch the remote update workflow you're trying to avoid.
Classify the page shape (releases admin discovery evaluate <url> --json reports pageStructure: single-page | index | unknown):
/sitemap.xml (the preflight surfaced it) filtered to the changelog path; otherwise parse the index HTML for per-release links.curl/non-JS scrape returns zero entries. Enumerate by rendering: drive the index with Claude in Chrome (or fan out a rendering sub-agent), paginating if the list is windowed, and collect the per-release links. Then check whether the detail pages are statically rendered — they often are even when the index isn't — and if so bulk-curl those directly (HTML→markdown locally, no render, no AI bill). Harvey's help.harvey.ai/release-notes is exactly this: client-rendered index, static detail pages. Don't conclude "no releases" from an empty non-JS scrape of the index.Cap to a recent window (default ~25–50 most-recent releases) and log what you skipped — never silently truncate. Re-runs are idempotent, so a deeper backfill later just adds rows.
Reuse the parsing-changelogs conventions for type/version/date/media (see Parity below).
Agent-tool dispatch pattern from seeding-playbooks (and superpowers:dispatching-parallel-agents for the fan-out discipline). Do not fetch release URLs in the parent agent — delegate to keep the parent's context clean.seeding-playbooks uses for note-saving.media, unwrapping _next/image / _vercel/image optimizer wrappers to the underlying CDN URL (normalizeMediaUrl from packages/rendering/src/media-url.ts). A text-only first pass is a common miss caught only on operator review (Harvey shipped text-only, then had to re-extract _next/image → cdn.sanity.io and re-seed); the enrichment re-POST is mode: "upsert-content" (Step 5).Each record must match the batch schema (see Step 5) and the parity rules.
Optional — deterministic extraction (Approach A, monorepo only): instead of extracting by hand you can call the production extract libs in packages/adapters/src/extract/ — extractFromBody, extractWithTools, runDirectFetchExtraction. ExtractDeps.cloudflare is nullable and repo can be a noop, so they run with just an Anthropic key (proof: scripts/smoke-toolloop.ts). This trades agent tokens for direct Anthropic-API tokens but reproduces the production tool-loop exactly. These packages are private: true — reachable from the monorepo only, never the thin CLI. The default remains Approach B (the agent is the extractor).
POST records to the batch endpoint in chunks (~50/request keeps requests bounded; the handler does the D1 bind-limit chunking server-side):
# Use the org-scoped path. The bare /v1/sources/:slug form accepts ONLY a typed
# `src_…` id — a human slug there returns 400 bare_slug_rejected (slugs are
# org-scoped, #690). With a typed id the bare form also works:
# POST $RELEASES_API_URL/v1/orgs/<orgSlug>/sources/<sourceSlug>/releases/batch
# POST $RELEASES_API_URL/v1/sources/<src_…>/releases/batch
curl -sS -X POST "$RELEASES_API_URL/v1/orgs/<orgSlug>/sources/<sourceSlug>/releases/batch" \
-H "Authorization: Bearer $RELEASES_API_KEY" \
-H "Content-Type: application/json" \
-d @chunk.json # { "releases": [ … ] }
Per-release fields (the real accepted shape — apps/api/src/routes/sources.ts, postReleasesBatchHandler):
{
"version": "1.4.0", // optional; omit/null for date-headed or blog sources
"title": "Dark mode", // required
"content": "Markdown body…", // required
"url": "https://…/changelog/dark-mode", // optional but ALWAYS populate — it's the dedup key
"contentHash": "…", // optional
"publishedAt": "2026-05-30", // optional; ISO-8601 (see Parity)
"media": "https://…/shot.png", // optional
"type": "feature", // optional; "feature" | "rollup"
"prerelease": false, // optional
}
UNIQUE(source_id, url), fill-don't-clobber: on collision it only backfills content/media when the stored row is empty, so a re-run never overwrites a good row. Safe to re-run and to page — same url updates rather than duplicates.mode: "upsert-content"). Because the default is fill-only, re-POSTing richer content for a URL that already has content is a no-op — the stub stays. For a deliberate second pass (seed index summaries first, then full detail-page bodies + media), add "mode": "upsert-content" at the top level of the batch body: it overwrites content/media on a same-URL collision and skips the scrape title-dedup pre-filter (#1526). Use it only for intentional enrichment; the default path stays fill-only so a routine re-fetch can't clobber. The url must be identical to the seeded row — enrich keys on URL, so a changed URL scheme inserts a duplicate instead. If the URL scheme changed, re-seed instead: releases release delete --source <src_…> --hard then a fresh /batch (default mode).write scope; the static RELEASES_API_KEY (root) satisfies it. .env autoloads RELEASES_API_URL + RELEASES_API_KEY in this repo.Chunking helper (reads a records.json array, posts in batches of 50):
bun -e '
const orgSlug = process.argv[1], sourceSlug = process.argv[2], file = process.argv[3];
const all = JSON.parse(await Bun.file(file).text());
const base = process.env.RELEASES_API_URL, key = process.env.RELEASES_API_KEY;
for (let i = 0; i < all.length; i += 50) {
const releases = all.slice(i, i + 50);
const res = await fetch(`${base}/v1/orgs/${orgSlug}/sources/${sourceSlug}/releases/batch`, {
method: "POST",
headers: { Authorization: `Bearer ${key}`, "Content-Type": "application/json" },
body: JSON.stringify({ releases }),
});
console.log(`chunk ${i / 50}: ${res.status} ${(await res.text()).slice(0, 200)}`);
}
' <orgSlug> <sourceSlug> records.json
releases tail <slug> --json # or the MCP get_latest_releases tool
Confirm releases have non-empty titles, dates, content, and media. If a row is empty, fix the extraction and re-run — the default upsert backfills empty rows safely. If a row already has thin-but-non-empty content (e.g. an index-summary stub you now want to replace with the full body), a plain re-run is a no-op — use the mode: "upsert-content" enrichment re-POST from Step 5.
Recovering a source, not onboarding one? This step only confirms what got written — it says nothing about what didn't. Before telling anyone a source is "recovered" or "nothing is missing," see backfilling-sources → Before declaring a source "clean" or "recovered" for the required live-page spot check.
Record how this source was ingested so future agents don't re-derive it. Via releases admin playbook <org> --notes-file -. Note that the source was locally ingested (not on the cron path yet), its observed cadence, and any extraction quirks. Follow the managing-sources playbook-authoring rubric (imperative voice, keep-test, ### Fetch instructions / ### Traps / ### Coverage). Don't restate metadata the header already carries.
Local output must match production shape so the source can later be picked up by the normal pipeline with no cleanup:
| Axis | Rule |
|---|---|
type | feature vs rollup per parsing-changelogs → Classifying Rollups. Leave unset/feature by default. |
version | Real version string, or omit. Pre-clean <UNKNOWN> / n/a placeholders — the batch path does not strip them (the single-insert path does, server-side). |
publishedAt | ISO-8601. Approximate from month/quarter/year headings rather than omit (parsing-changelogs → Dates): month → first of month, etc. |
media | Unwrap _next/image / Vercel optimizer wrappers before storing — use normalizeMediaUrl from packages/rendering/src/media-url.ts. |
url | Always populate. Dedup relies on a stable per-release url; without it the upsert can't collapse re-runs. |
Eligible sources get title_generated / title_short / summary from the post-insert summarizer. Org overviews are still a separate step. When you want to set the fields yourself, or the source opted out:
PATCH /v1/releases/:id accepts summary, titleGenerated, titleShort, composition, version, … and re-embeds when content/title/AI-fields change./batch): the single-release insert POST /v1/sources/:slug/releases accepts summary? / titleGenerated? / titleShort? — use this path instead of /batch when you want enrichment set in the same write. It also strips <UNKNOWN>/n/a versions server-side.bun scripts/generate-release-content.ts --orgs=<slug>.conductor.build must be refused.url. Breaks idempotency — re-runs duplicate instead of upserting.releases admin source fetch starts the remote update workflow (billed server-side extraction) — the cost you're avoiding. Create the source, then write via /batch.finding-changelogs — is there a feed/GitHub source that makes local-ingest unnecessary? Page-structure evaluation.managing-sources — create org/source, naming, primary, playbook authoring.parsing-changelogs — the extraction conventions you must match (type, dates, rollups).seeding-playbooks — the parallel Agent-tool dispatch + parent-saves pattern reused in Step 4.What SKILL.md sets; muted values are Claude Code's defaults
8 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.
/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.
/regenerating-overviewsGenerate or refresh an org's AI overview from recent releases. Use when asked to "regenerate", "rewrite", or "refresh the overview" for one or more orgs, or as the regen step inside a maintaining-orgs run.
/registry-maintenance:local-ingestfrom registry-maintenance
npx claudepluginhub buildinternet/releases --plugin registry-maintenanceOther plugins' skills for the same job