Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Release Sync?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/yonatangross-release-sync-orchestkit)
---
name: release-sync
compatibility: "Claude Code 2.1.332+"
description: "After a version tag, syncs CHANGELOG and release notes to NotebookLM and the knowledge base, optionally a podcast. Use after tagging a release."
user-invocable: true
argument-hint: "[version]"
context: inherit
metadata:
version: "1.0.0"
author: "OrchestKit"
complexity: "low"
tags: "release, notebooklm, knowledge-base, content-sync, automation"
---
# Release Content Sync
Sync the latest release of the current project to external knowledge systems (NotebookLM, a knowledge-base MCP, Slack). Every sink is opt-in and configured per project.
> **CC ≥ 2.1.118 (M122):** Sync triggers on the new `claude plugin tag` annotated tag (in addition to plain `git tag`). The tag's annotation embeds the plugin manifest version, which release-sync uses as the canonical source-of-truth for the version being synced. See `src/skills/chain-patterns/references/plugin-tag.md`.
## What This Does
1. Reads the latest CHANGELOG entry and the project overview files that exist (README, CLAUDE.md, architecture docs)
2. Updates your NotebookLM notebook with fresh sources
3. Ingests the release digest into a knowledge-base MCP (if you have one)
4. Optionally generates a new podcast from the updated notebook
## Prerequisites
- MCP servers: a NotebookLM server and/or a knowledge-base server (tool names below are examples; probe with ToolSearch for what you have)
- NotebookLM notebook ID stored in `.claude/release-sync-config.json`
## Step 1: Detect Version and Read Sources
```python
# Read the version from the release tag, or from the project's manifest
version = Bash("git describe --tags --abbrev=0")
# Read CHANGELOG, extract latest release section
changelog = Read("CHANGELOG.md", limit=80)
# Read project overview files that exist (skip missing ones)
overview = [Read(f) for f in ("README.md", "CLAUDE.md") if exists(f)]
```
## Step 2: Load Config
```python
config = Read(".claude/release-sync-config.json")
# Expected format:
# {
# "notebooklm_notebook_id": "<your-notebook-id>",
# "kb_project": "<your-project-slug>"
# }
# Older configs name the project key "hq_kb_project"; read it when
# "kb_project" is absent, so an existing setup keeps its destination.
kb_project = config.get("kb_project") or config.get("hq_kb_project")
```
If config doesn't exist, prompt user:
```python
AskUserQuestion(questions=[{
"question": "NotebookLM notebook ID for this project's KB?",
"header": "Configuration",
"options": [
{"label": "I'll provide", "description": "Enter the notebook ID"},
{"label": "Skip NotebookLM", "description": "Sync to the other targets only"}
]
}])
```
## Step 2b: Choose Sync Targets
Ask for the four target values: `notebooklm`, `kb`, `slack`, `notes`.
```python
# Skip the form when targets are explicit:
# release-sync --targets=notebooklm,slack → skip, use those
#
# Otherwise ask. This used to prefer an ork-elicit MCP form and fall back to
# AskUserQuestion; the server was retired (EPIC C mechanism 11) because
# AskUserQuestion is the CC-native surface for this and a permanent MCP tool
# slot to restate it was the parallel mechanism. One path now.
#
# ALL targets default to False: these targets
# (notebook IDs, a knowledge base, Slack) are user-private infrastructure the plugin
# cannot assume is configured. The user explicitly opts in.
targets = {
"notebooklm": ask_yn("Push to NotebookLM?", default=False),
"kb": ask_yn("Push to knowledge base?", default=False),
"slack": ask_yn("Announce in Slack?", default=False),
"notes": ""
}
```
Three AskUserQuestion round-trips. The rest of this skill reads `targets["notebooklm"]`, `targets["kb"]`, `targets["slack"]`, `targets["notes"]` regardless of source.
**Privacy note:** all targets are opt-in (default false). NotebookLM notebook IDs and knowledge bases are user-private, so never assume they exist or push to them implicitly.
## Step 3: Update NotebookLM Sources
```python
# Probe MCP availability
ToolSearch(query="select:mcp__notebooklm-mcp__source_add")
# Add release digest as new source
mcp__notebooklm-mcp__source_add(
notebook_id=config.notebooklm_notebook_id,
source_type="text",
title=f"Release {version}, {date}",
text=release_digest,
wait=True
)
```
## Step 4: Ingest to a Knowledge Base (Optional)
```python
# Probe for a knowledge-base ingest tool (example name; use what your server exposes)
ToolSearch(query="knowledge ingest")
# If available, ingest
mcp__<kb-server>__knowledge_ingest(
title=f"{project} {version} Release Notes",
content=release_digest,
project=kb_project, # from Step 2
content_type="general" # use a type your server accepts
)
```
## Step 5: Generate Podcast (Optional)
```python
AskUserQuestion(questions=[{
"question": "Generate a podcast from the updated notebook?",
"header": "Podcast",
"options": [
{"label": "Yes, deep dive", "description": "~10 min podcast covering all changes"},
{"label": "Yes, brief", "description": "~3 min summary"},
{"label": "No", "description": "Skip podcast generation"}
]
}])
if podcast_requested:
mcp__notebooklm-mcp__studio_create(
notebook_id=config.notebooklm_notebook_id,
artifact_type="audio",
audio_format=selected_format,
confirm=True
)
```
## Output
Report what was synced:
```
Release Sync Complete, v{version}
NotebookLM: source added to {notebook_title}
Knowledge base: ingested {version}
Podcast: generating (poll with studio_status)
```