Command Palette

Search for a command to run...

Назад к скиллам
скилл № 55298

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от glebis★ 417 звёзд на GitHub

Установить agency-docs-updater в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

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) or lab-NN → LAB_FILTER
  • slug token (e.g. ai-design, claude-code) → LAB_SLUG (overrides env; default claude-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_NUMBER
  • VIDEO_NAME = ${DATE}-${LAB_SLUG}-lab-${LAB_NUMBER}
  • TRANSCRIPT_LANG = auto-detect from first ~50 lines (Cyrillic ratio > 0.3 → ru, else en)

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
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • .claude-plugin/plugin.json
  • .env.example
  • brands/goal-driven-ai.json
  • evals/run_evals.py
  • labs.json
  • references/bot-announcement.md
  • references/brand-covers.md
  • references/learnings.md
  • references/thumbnail-guide.md
  • references/workflow-conversion-analysis.md
  • references/workflows.md
  • references/youtube-api.md
  • scripts/announce_publication.ts
  • scripts/brand_cover.py
  • scripts/compare_transcripts.py
  • scripts/cut_spans.py
  • scripts/detect_lesson_start.py
  • scripts/edit_video.py
  • scripts/find_transcript.py
  • scripts/image_transforms.py
  • scripts/lab_layout.py
  • scripts/merge_meeting_doc.py
  • scripts/poll-and-publish.sh
  • scripts/preflight.sh
  • scripts/publish_preflight.sh
  • scripts/rebuild_aggregations.py
  • scripts/render_html.mjs
  • scripts/safe_build.sh
  • scripts/transcribe_cut.py
  • scripts/trim_leading_silence.sh
  • scripts/update_meeting_doc.py
  • scripts/verify_upload.py
  • templates/covers/token-cover.html

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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить agency-docs-updater с