agency-docs-updater
БесплатноЗапускает вложенные скриптыНе проверенEnd-to-end pipeline for publishing Claude Code lab meetings. Accepts optional args: date (YYYYMMDD, "yesterday", "today") and lab number (e.g. "04")…
от glebis★ 417 звёзд на GitHubОб этом скилле
Agency Docs Updater
Execute ALL steps automatically in sequence. Only pause if a step fails and cannot be recovered. Read references/learnings.md before starting for known pitfalls.
Configuration: paths are read from .env in the skill root (see .env.example). Defaults work for the standard setup. Key env vars: VAULT_DIR, DOCS_SITE_DIR, YOUTUBE_UPLOADER_DIR, PRESENTATIONS_DIR, SKILLS_REPO_DIR, SKILLS_LOCAL_DIR, ZOOM_CREDENTIALS_DIR, GITHUB_REPO, SITE_DOMAIN.
Dependencies (verify these exist before running):
- zoom — Zoom recording download (
scripts/zoom_meetings.py) - fathom — Fathom video fallback (
scripts/download_video.py) - nano-banana — thumbnail overlay generation (
scripts/generate_image.sh) - calendar-sync — local-only, calendar event sync (
sync.sh) - youtube-uploader — video processing, upload, and YouTube API auth
Step 0: Parse Arguments & Load Config
Load .env from skill root. Then split args by whitespace:
- 8-digit token (
YYYYMMDD) →DATE - "yesterday" →
DATE = $(date -v-1d +%Y%m%d) - "today" or missing →
DATE = $(date +%Y%m%d) - 2-digit token (
NN) orlab-NN→LAB_FILTER - slug token (e.g.
ai-design,claude-code) →LAB_SLUG(overrides env; defaultclaude-code)
Expand env vars for paths used in subsequent steps:
VAULT_DIR="${VAULT_DIR:-$HOME/Brains/brain}"
DOCS_SITE_DIR="${DOCS_SITE_DIR:-$HOME/Sites/agency-docs}"
YOUTUBE_UPLOADER_DIR="${YOUTUBE_UPLOADER_DIR:-$HOME/ai_projects/youtube-uploader}"
SKILLS_REPO_DIR="${SKILLS_REPO_DIR:-$HOME/ai_projects/claude-skills}"
SKILLS_LOCAL_DIR="${SKILLS_LOCAL_DIR:-$HOME/.claude/skills}"
ZOOM_CREDENTIALS_DIR="${ZOOM_CREDENTIALS_DIR:-$HOME/.zoom_credentials}"
PRESENTATIONS_DIR="${PRESENTATIONS_DIR:-$HOME/ai_projects/claude-code-lab}"
GITHUB_REPO="${GITHUB_REPO:-glebis/agency-docs}"
SITE_DOMAIN="${SITE_DOMAIN:-agency-lab.glebkalinin.com}"
LAB_SLUG="${LAB_SLUG:-claude-code}" # e.g. ai-design for the AI Design Lab
LAB_TITLE="${LAB_TITLE:-$(echo $LAB_SLUG | tr '-' ' ' | awk '{for(i=1;i<=NF;i++) $i=toupper(substr($i,1,1)) substr($i,2)}1' | sed 's/^Ai /AI /')}" # "Claude Code", "AI Design"
Step 0a: Preflight (recommended)
Run the preflight doctor to catch the three common mid-pipeline failures up front (missing youtube-uploader Python deps, missing Playwright/chromium, dead Groq key):
bash ${SKILLS_LOCAL_DIR}/agency-docs-updater/scripts/preflight.sh
Hard blockers (deps/Playwright) exit non-zero with the exact fix command — run it, then re-run preflight. A dead Groq key is a soft warning: the LLM metadata step will 401, so plan to supply title/description/tags manually (build a VideoConfig and call upload.py directly, then set the thumbnail and playlist separately).
Step 1: Find Fathom Transcript
Resolve with the script. Transcripts live in ${VAULT_DIR}/Sessions/ since the 2026-06-12 restructure, and naming differs per lab (claude-code-lab-05, goal-driven-ai-01, goal-driven-design). The patterns are vault_names in labs.json:
python3 ${SKILLS_LOCAL_DIR}/agency-docs-updater/scripts/find_transcript.py ${DATE} [--slug ${LAB_SLUG}] [--lab ${LAB_FILTER}] --json
# → {"path": ".../Sessions/20261010-goal-driven-ai-01.md", "slug": "goal-driven-ai", "lab": "01"}
Use its slug as LAB_SLUG and lab as LAB_NUMBER (pass --lab to update_meeting_doc.py too).
If missing: run ${SKILLS_LOCAL_DIR}/calendar-sync/sync.sh and re-check. If calendar-sync finds nothing, check that icalBuddy eventsToday doesn't say "No calendars." (calendar access lost). Then check the other sources before stopping. No Fathom recording is a normal case (GDA 01 #02): Zoom cloud has the video (zoom_meetings.py recordings) and Wispr Flow has the text (flow.sqlite Meetings + meetings/<id>/refined.ndjson). Write Sessions/${DATE}-<vault_name>.md from Wispr's refined text, with a frontmatter note on its source, late start and clock. update_meeting_doc.py no longer requires a Fathom URL. Zoom cloud processing of a 2.5 h meeting took ~2 h 10 min (file shows "processing", 0 MB, empty recording_end). Publish the summary first and the video second rather than blocking.
Extract from YAML frontmatter and store:
FATHOM_FILE,SHARE_URL,MEETING_TITLE,DATE,LAB_NUMBERVIDEO_NAME=${DATE}-${LAB_SLUG}-lab-${LAB_NUMBER}TRANSCRIPT_LANG= auto-detect from first ~50 lines (Cyrillic ratio > 0.3 →ru, elseen)
Resolve the lab layout FIRST — paths, page URLs, and playlist names differ per lab. Never build them by hand; resolve through the registry:
python3 ${SKILLS_LOCAL_DIR}/agency-docs-updater/scripts/lab_layout.py ${LAB_SLUG} --lab ${LAB_NUMBER} --meeting ${MEETI
Установить agency-docs-updater в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл agency-docs-updater?
End-to-end pipeline for publishing Claude Code lab meetings. Accepts optional args: date (YYYYMMDD, "yesterday", "today") and lab number (e.g. "04"). Examples: "yesterday 04", "20260420 05", "04" (today, lab 04), "" (today, auto-detect lab).
Как установить скилл agency-docs-updater?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл agency-docs-updater запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic