/synthesis-skills:synthesis-kb-distributionfrom synthesis-skills
Publishes an OKF knowledge base as a Claude/ChatGPT organization plugin and a read-only MCP connector with access control, provenance tracking, and CI/CD deployment.
Ships in synthesis-skills. 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.
Read when SKILL.md points to them; scripts run unread.
An organization's knowledge base (OKF markdown in its own repository) reaches its people two ways
from one published tree: an organization plugin inside the Claude and ChatGPT workspaces, and a
read-only MCP connector for people those workspaces cannot reach, such as executives on personal
accounts. This skill holds the published tree's contract, the scripts that build and publish it
(scripts/build_plugin.py, scripts/publish_plugin.sh) with generic templates, the connector
(scripts/connector/), their tests and the connector's deployment, and a Drive copy for Gemini
Notebook (scripts/publish_drive.py).
/health, and served_commit in fetch). Without them nobody can say what a reader saw.KB_ALLOWED_HOSTED_DOMAINS narrows it further. A removal takes
effect on the person's next request, or at the next group read for a group member.KB_OAUTH_STORE=firestore with KB_STORAGE_ENCRYPTION_KEY. The memory
store loses every sign-in when an instance stops, and Cloud Run stops instances freely. The
connector starts on it only in the operator-only test mode.templates/: the generic SKILL.md and README.md templates, and the example config and exclusion
list to copy.The skill's tests (the build, the publish script and the connector), from the repository root:
python3 -m pytest -q skills/synthesis-kb-distribution/tests
It prints N passed (with M skipped when FastMCP is not installed: the server tests need the
pinned requirements and Python 3.12 or newer; SYNTHESIS_REQUIRE_FASTMCP=1 makes them fail
instead of skipping). To run every test, install the lock into a virtual environment first:
python3.12 -m venv ~/.venvs/kb-connector
~/.venvs/kb-connector/bin/pip install pytest
~/.venvs/kb-connector/bin/pip install --require-hashes --no-deps -r skills/synthesis-kb-distribution/scripts/connector/requirements.txt
~/.venvs/kb-connector/bin/python -m pytest -q skills/synthesis-kb-distribution/tests
The image, from the repository root:
docker build --platform linux/amd64 -f skills/synthesis-kb-distribution/scripts/connector/Dockerfile -t kb-connector .
The build and the publication, from the knowledge base's repository (references/published-layout.md, sections 4 and 6):
python3 <skill>/scripts/build_plugin.py --config distribution/kb-plugin.json --source source --out build/kb-plugin
KB_PUBLISH_REPO=<url> KB_PUBLISH_KNOWN_HOSTS=<line> sh <skill>/scripts/publish_plugin.sh --config distribution/kb-plugin.json --source source
The build prints Built <plugin> <version> from <sha7> (<date>) into <out> and each file left out;
a refusal lists every problem, writes nothing and exits 1. The publication then prints
Published <plugin> <version> to <repository> (<branch>). or ... nothing to push.
templates/, then make
CI run publish_plugin.sh at a pinned release on every merge (references/published-layout.md,
sections 4 to 6)./mcp to add in ChatGPT or Claude (section 6).publish_drive.py, keeping a shared drive
folder current for a notebook (references/published-layout.md, section 8).Published ... or nothing to push, with only the expected
left out lines.curl -s <public-url>/health shows "status": "ok" and the commit CI last pushed.Access denied: <email> is not on this knowledge base's access list.Drive copy of ...; each added or moved to trash file is a
notebook source to add or remove.agents/openai.yaml (opens in a new tab)references/connector.md (opens in a new tab)references/coverage-map.md (opens in a new tab)references/published-layout.md (opens in a new tab)scripts/build_plugin.py (opens in a new tab)scripts/connector/Dockerfile (opens in a new tab)scripts/connector/Dockerfile.dockerignore (opens in a new tab)scripts/connector/kb_connector/__init__.py (opens in a new tab)scripts/connector/kb_connector/__main__.py (opens in a new tab)scripts/connector/kb_connector/access.py (opens in a new tab)scripts/connector/kb_connector/config.py (opens in a new tab)scripts/connector/kb_connector/corpus.py (opens in a new tab)scripts/connector/kb_connector/groups.py (opens in a new tab)scripts/connector/kb_connector/search.py (opens in a new tab)scripts/connector/kb_connector/server.py (opens in a new tab)scripts/connector/kb_connector/source.py (opens in a new tab)scripts/connector/requirements.in (opens in a new tab)scripts/connector/requirements.txt (opens in a new tab)scripts/publish_drive.py (opens in a new tab)scripts/publish_plugin.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub synthesisengineering/synthesis-skills --plugin synthesis-skills73 skills in this plugin
/synthesis-absence-coordinationPlan an absence end to end: who to tell, coverage, meetings released, out-of-office on and off, the return sweep. Use for time off or leave./synthesis-action-sheetOne page of what the principal must still do after agents act: approvals, sends, tasks. Use after a decision packet or daily plan./synthesis-adversarial-reviewBounded adversarial review by differently shaped agents, with a findings table and rulings. Use for red-team or cross-agent review.Other plugins' skills for the same job