ge-demo-video
Skill18k starsChanged 2 months agoApache-2.0View on GitHub
Records, edits, and delivers automated executive demo videos for agents deployed to Gemini Enterprise. Verifies typography fonts across all languages, connects to live Chrome via CDP (:9222) with automatic display/xvfb adaptation, automatically discovers and applies customer logo & corporate palette (default ON, --no-brand to opt out), enforces strict zero-mock live recording of the deployed agent chat interface, applies modern SaaS video styling in Remotion with dynamic zoom/pan and 4x wait-time acceleration, synthesizes Gemini 3.8 Flash TTS (with Google Cloud TTS Chirp 3: HD fallback) neural narration with synchronized subtitles (pure speech narration, optional ambient BGM), and delivers the rendered MP4 to the demo's Google Drive folder. Also triggered by /ge-demo-video.
- Reads credentials
Trending
Quiet since October.about the whole repository
Who's talking about GoogleCloudPlatform/generative-ai
- langchain-ai/langchain“Feature request: Vertex AI Function Calling”GitHub · Dec 22, 2023 · 9 reactions
- A Hacker News story“Google Always-On Memory Agent”Hacker News · Mar 7, 2026 · 5 points
- langchain-ai/langchain-google“support for JSON output mode in ChatGoogleGenerativeAI”GitHub · Sep 6, 2024 · 4 reactions
- cicero-im/generative-ai“Jsje”GitHub · May 17, 2025 · 3 reactions
- @github-trending.bsky.social“📦 GoogleCloudPlatform / generative-ai ⭐ 9,197 (+20) 🗒 Jupyter Notebook Sample code and notebooks for …”Bluesky · Feb 7, 2025 · 2 likes
The biggest 5 of 52 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 52
Talked about on GitHub, Bluesky and Hacker News (52 times).
On GitHub · 43
- Dec 22, 2023Feature request: Vertex AI Function Calling — langchain-ai/langchain9 reactions · 1 comment
- Sep 6, 2024support for JSON output mode in ChatGoogleGenerativeAI — langchain-ai/langchain-google4 reactions · 7 comments
- May 17, 2025Jsje — cicero-im/generative-ai3 reactions · 35 comments
- Jan 25, 2025error occurring while using Gemini with multiple tools — agno-agi/agno2 reactions · 2 comments
- Apr 26, 2025Use PCM instead of OGG_OPUS for Google TTS — livekit/agents1 reaction · 6 comments
38 more on GitHub
- May 7, 2024[FEAT]: Add a "SQL Talk Agent" — Mintplex-Labs/anything-llm1 reaction · 5 comments
- Jan 13, 2024Google Official API — dsdanielpark/Bard-API1 reaction
- Oct 29, 2026agent-plugins.github.googlecloudplatform.generative-ai: 0-unstable-2026-10-12 → 0-unstable-2026-10-29 — sudosubin/agents.nix0 reactions
- Oct 21, 2026ImageLab prepara y termina la imagen del carril en lote (Vertex batch) y envía el lote por /api/lote — unrealvillestudio-hub/ImageLab0 reactions · 2 comments
- Oct 14, 2026agent-plugins.github.googlecloudplatform.generative-ai: 0-unstable-2026-10-13 → 0-unstable-2026-10-12 — sudosubin/agents.nix0 reactions
- Oct 14, 2026agent-plugins.github.googlecloudplatform.generative-ai: init at 0-unstable-2026-10-13 — sudosubin/agents.nix0 reactions
- Sep 5, 2026Gemini 3.8 Flash only for end users — Gugurbuz/JETWORK0 reactions · 1 comment
- Aug 17, 2026Session.CallTool appends one message per tool call, so a parallel tool turn is answered in several turns — gollem-dev/agentkit0 reactions · 1 comment
- Aug 14, 2026chore: remove relocated experiment stubs (storycraft, VeoStart) — GoogleCloudPlatform/genmedia-creative-studio0 reactions · 1 comment
- May 18, 2026feat: token harvester, always-on memory system, and conductor track references — rb1whitney/agentic-project-factory0 reactions
- May 18, 2026feat: Token Harvester Cost Reduction + Always-On Memory System — rb1whitney/agentic-project-factory0 reactions
- Apr 16, 2026feat: add bigquery ai-ml skills — GoogleCloudPlatform/bigquery-data-analytics-plugin0 reactions
- Mar 24, 2026Add support for vector search 2.0 — GoogleCloudPlatform/genai-factory0 reactions · 1 comment
- Mar 13, 2026Memory Bank - Memory Generation with Files — google/adk-python0 reactions · 4 comments
- Mar 11, 2026📈 Bản tin xu hướng AI mã nguồn mở 2026-03-11 — compasify/agents-radar0 reactions
- Mar 10, 2026📈 Bản tin xu hướng AI mã nguồn mở 2026-03-10 — compasify/agents-radar0 reactions
- Dec 19, 2025google veo 3.1 preview has extend video functionality — griptape-ai/griptape-nodes-library-standard0 reactions
- Dec 14, 2025Integrate with Gemini Live API — changtimwu/you-kb0 reactions · 1 comment
- Nov 24, 2025Fix GoogleSearchRetrieval import to use proper grounding module — anonx00/phantom0 reactions · 1 comment
- Oct 14, 2025 — Chaiyphopnilpat/generative-ai0 reactions
- Oct 14, 2025## Code Review — Chaiyphopnilpat/generative-ai0 reactions
- Aug 22, 2025[Bug]: — Michael-Santoro/generative-ai-evaluation-framework0 reactions · 1 comment
- Apr 18, 2025chore: Migrate Notebooks to Generative AI Repository — GoogleCloudPlatform/applied-ai-engineering-samples0 reactions · 1 comment
- Mar 15, 2025VertexAIServerModel Integration to Enable Openinference instrumentation with Phoenix — huggingface/smolagents0 reactions · 1 comment
- Mar 10, 2025Fix LiveConnectConfig validation error — heiko-hotz/gemini-multimodal-live-dev-guide0 reactions
- Feb 13, 2025All .ipynb page lengths are infinitely extended — StylishThemes/GitHub-Dark0 reactions · 1 comment
- Feb 3, 2025Add Gemini models native support as LLM judge — confident-ai/deepeval0 reactions · 10 comments
- Dec 12, 2024GoogleCloudPlatform/generative-ai, Google, 2024.12 — AkihikoWatanabe/paper_notes0 reactions · 2 comments
- Dec 12, 2024Gemini 2.0 Flash released (12, Dec) — gongqi-zhen/HealthBuddy-QA0 reactions
- Sep 21, 2024googleapi/vertex: fix multi-tool call error, Invalid argument — tmc/langchaingo0 reactions · 3 comments
- Jun 6, 2024[Bug]: SQLTalk demo is using VertexAI SDK, not Gemini SDK but is branded as GeminiAI — google-gemini/deprecated-generative-ai-python0 reactions · 1 comment
- May 18, 2024Content has no parts — google-gemini/deprecated-generative-ai-python0 reactions · 5 comments
- Jan 9, 2024feat: add image gen and image processing — String-sg/ai-starter-kit0 reactions
- Dec 8, 2023Google Gemini LLM — ObrienlabsDev/blog0 reactions · 8 comments
- Nov 23, 2023Google Palm API should(?) also support the Vertex AI — patterns-ai-core/google_palm_api0 reactions · 1 comment
- Oct 20, 2023fix: Empty Page SubElements — googleapis/python-documentai-toolbox0 reactions · 1 comment
- Aug 18, 2023Gen AI module - roles and api — GoogleCloudPlatform/rad-lab0 reactions · 7 comments
- Aug 8, 2023Question Answering Over Documents — NeroCube/bookmark0 reactions
On Bluesky · 6
- Feb 7, 2025📦 GoogleCloudPlatform / generative-ai ⭐ 9,197 (+20) 🗒 Jupyter Notebook Sample code and notebooks for Generative AI on Google Cloud, with… — @github-trending.bsky.social2 likes and reposts
- Dec 13, 2024📦 GoogleCloudPlatform / generative-ai ⭐ 8,514 (+48) 🗒 Jupyter Notebook Sample code and notebooks for Generative AI on Google Cloud, with… — @github-trending.bsky.social2 likes and reposts · 1 reply
- Sep 1, 2026🚀 GitHub Intelligence Drop generative-ai (Jupyter Notebook • 🟢) ⭐ 17.6K → https://github.com/GoogleCloudPlatform/generative-ai… — @githubfeed.bsky.social1 likes and repost
- Dec 15, 2023🔥 Hot Repo! 🔥 (100+ new stars) 📦 GoogleCloudPlatform / generative-ai ⭐ 3,014 (+181) 🗒 Jupyter Notebook Sample code and notebooks for… — @github-trending.bsky.social1 likes and repost · 1 reply
- Mar 7, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 GoogleCloudPlatform / generative-ai ⭐ 13,222 (+348) 🗒 Jupyter Notebook Sample code and notebooks… — @github-trending.bsky.social0 likes and reposts · 1 reply
1 more on Bluesky
- Nov 16, 2024🔥 Hot Repo! 🔥 (100+ new stars) 📦 GoogleCloudPlatform / generative-ai ⭐ 7,628 (+163) 🗒 Jupyter Notebook Sample code and notebooks for… — @github-trending.bsky.social0 likes and reposts · 1 reply
On Hacker News · 3
- Mar 7, 2026Google Always-On Memory Agent5 points · 1 comment
- Oct 1, 2024Analyze a Codebase with the Vertex AI Gemini 1.5 Pro2 points
- Dec 12, 2024Multimodal Live API with Gen AI SDK1 point
In this repository10 other files it gives its agents.
- search/gemini-enterprise/ge-demo-generator/AGENTS.mdAGENTS.md
- search/gemini-enterprise/group-licensing/AGENTS.mdAGENTS.md
- professional-documentSkill
- professional-presentationSkill
- web-reportSkill
- ge-demo-generatorSkill
- professional-documentSkill
- professional-presentationSkill
- web-reportSkill
- migration-config-skillSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 1 is distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
If missing, the automated font engine (ensure_fonts.py) installs them via system packages (apt-get) or downloads Google Noto font assets …
- Very specific: line 28
Before executing any recording commands (generate_demo_video.py), the agent MUST ALWAYS formulate and present the proposed demo plan to the …
- Distinctive: line 30
No recording or video compilation commands may be executed without explicit user sign-off.
- Very specific: line 34
If executed in a remote terminal or SSH session lacking a display (DISPLAY unset), the engine automatically wraps browser launch with …
- Very specific: line 134
Before launching recording or rendering, run font verification to eliminate tofu (□) characters:
- Very specific: line 148
Default: GUI Chrome (--no-headless) with persistent profile ~/.config/ge-demo-video/chrome-profile.
- Very specific: line 152
If the browser encounters the Google login screen (accounts.google.com):
- Very specific: line 224
If Tier 1 is unavailable or unconfigured, falls back to Google Drive API using the deploy user/service account ADC credentials (gcloud auth …
- Very specific: line 226
If Drive upload cannot proceed or fails, securely delivers the video to Google Cloud Storage (gs://<project-id>-ge-demo-artifacts/videos/ …
- Very specific: line 249
Zero Copy-Paste Mandate: If the video was successfully generated and staged in ./deliverables/[Demo-Video]_<Company>_-<Role>.mp4 but Google …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
GE Demo Video Generator Skill (v2.3.0)
Automates the end-to-end production and delivery of professional 90–120s executive highlight reel demo videos showcasing autonomous AI agents deployed on Gemini Enterprise.
🌟 Core Architectural Invariants
- Authentic Screen Recording Exclusively (Zero-Mock Invariant):
- The skill strictly forbids synthetic mock video generation, mock SVG frames, and fallback presentation slides.
- Video capture is executed directly against the live Gemini Enterprise chat session (
https://vertexaisearch.cloud.google.com/home/cid/.../r/agent/.../session/-) of the deployed agent via Chromium DevTools Protocol (CDP, port 9222). - The chat interface DOM elements (
div.ProseMirror,div[contenteditable="true"], or shadow DOM chat inputs) must be probed and verified before recording starts.
- Universal Multi-Language Font Verification & Provisioning:
- Before recording or rendering, the skill verifies that the necessary typography fonts for the target locale (e.g., Japanese CJK for
ja-JP, Simplified/Traditional Chinese forzh, Korean Hangul forko, Arabic forar, Thai forth, Devanagari forhi, etc.) are installed on the host environment. - If missing, the automated font engine (
ensure_fonts.py) installs them via system packages (apt-get) or downloads Google Noto font assets directly into~/.local/share/fonts/followed byfc-cacherefresh, eliminating tofu (□) characters. - Remotion composition incorporates Google Web Fonts as a secondary defensive layer.
- Before recording or rendering, the skill verifies that the necessary typography fonts for the target locale (e.g., Japanese CJK for
- Mandatory Pre-Recording Demonstration Plan & Interactive Approval Gate:
- Before executing any recording commands (
generate_demo_video.py), the agent MUST ALWAYS formulate and present the proposed demo plan to the user for review. - In interactive agent environments (e.g. when supported by tools like
ask_question), the agent MUST ALWAYS prompt the user to obtain explicit approval or modifications. - No recording or video compilation commands may be executed without explicit user sign-off.
- Before executing any recording commands (
- Automated Display & Browser Environment Adaptation:
- Chrome launches with a graphical window (
--no-headless) by default on port 9222 with persistent profile~/.config/ge-demo-video/chrome-profile. - If executed in a remote terminal or SSH session lacking a display (
DISPLAYunset), the engine automatically wraps browser launch withxvfb-runto maintain authentic DOM rendering and screencast streaming.
- Chrome launches with a graphical window (
🚀 Execution Lifecycle & Step-by-Step Workflow
[Phase 1: Dynamic Demo Plan Formulation]
↓ Read .env, target company, role, language, session URL, and 7 demo prompts
[Phase 2: Interactive Plan Presentation & User Approval Gate (ask_question)]
↓ Explicit approval received
[Phase 3: Multi-Language Font Verification & Provisioning (ensure_fonts.py)]
↓ Host fonts verified / auto-installed, Remotion WebFonts loaded
[Phase 4: Browser Session Verification & Interactive Authentication Handoff]
↓ Live Chrome CDP (port 9222) verified, chat input DOM element ready
[Phase 5: Automated Execution, TTS Synthesis & Remotion Video Rendering]
↓ Gemini 3.8 Flash TTS (Chirp 3: HD fallback), Bézier typing jitter, 4x fast-forward thinking, dynamic camera
[Phase 6: Google Drive Delivery & Local Staging]Phase 1 & 2: Mandatory Demonstration Plan & Interactive Approval Gate
- Pre-Flight Verification & Demonstration Plan Formulation:
Dynamically inspect environment and execute pre-flight destination verification:
- Company Name:
${COMPANY_NAME}(e.g.Acme Corp) - Agent Persona:
${DEMO_DISPLAY_NAME}or${AGENT_ROLE}(e.g.Supply Chain Director) - Target Locale & Voice:
${LANG}(e.g.en-USwithgemini-3.8-flash-ttsprimary andChirp3-HDfallback, orja-JP,de-DE, etc.) - Session URL:
${GE_SESSION_URL}or derived fromCONFIG_IDandAGENT_ID - 3-Tier Storage Delivery Hierarchy & Destination Pre-Flight:
- Tier 1 (Primary): Host Operator Drive (via
gdriveCLI if configured and authorized) - Tier 2 (Secondary): Deploy Tenant Drive (via
gcloudADC credentials of the deploying user/service account) - Tier 3 (Fallback): Cloud Storage (
gs://<project-id>-ge-demo-artifacts/or custom--gcs-bucket) - Confirmed Destination: Locked in prior to presenting the plan (Tier 1 if ready, else Tier 2, else Tier 3 GCS)
- Tier 1 (Primary): Host Operator Drive (via
- Company Name:
Present Structured Demo Plan Table: Output a comprehensive markdown table and verified delivery parameters in chat:
Scene # Scenario / Topic Prompt Text Visual & Camera Highlights Voice Narration (3-Part: Purpose, Results & Benefits) Intro Branded Welcome (None) Google Cloud 4-color strip, title card with company & persona badge Executive intro greeting (~10s) Agenda Walkthrough Roadmap (None) Dedicated AgendaCardwith 5 scenarios & icons, 180px bottom marginRoadmap overview (~16s) Scene 1 Welcome & Situational Briefing <Prompt 1 from Playbook>1.50x typing zoom, welcome card reveal Intent, key capabilities, operational value (~24s) Scene 2 Catalog & Metadata Discovery <Prompt 2 from Playbook>1.50x typing zoom, shadow DOM smooth scrolling Intent, catalog structure, eliminating manual lookup (~27s) Scene 3 Cross-Source Anomaly WOW <Prompt 3 from Playbook>1.50x typing zoom, 4x fast-forward thinking, A2UI table zoom Intent, anomaly detection findings, preventing losses (~28s) Scene 4 Workflow Action & Approval <Prompt 4 from Playbook>1.50x typing zoom, 1.45x button close-up zoom on click Intent, one-click execution approval, cycle time reduction (~28s) Scene 5 Operational Summary & Handover <Prompt 7 from Playbook>1.50x typing zoom, rating button delta verification Intent, structured handover report, operational continuity (~27s) Outro Next Steps & CTA (None) Google Cloud 4-color strip, outro card with Next Steps CTA Executive closing & call-to-action (~10s) Display verified pre-flight demonstration plan card:
================================================================================ 🎬 PRE-RECORDING DEMONSTRATION PLAN & PRE-FLIGHT VERIFICATION ================================================================================ 🏢 Company Name : <Company Name> 🤖 Agent Persona : <Agent Role> 🤖 GE Agent Name : <GE Agent Display Name> 🔗 GE Direct Agent Link : <Direct Chat Session URL> 🌐 Target Locale : <Target Locale (e.g. en-US, ja-JP)> 🎙️ Selected Neural Voice : <Selected Cloud TTS Voice> 💬 Subtitle Mode : Clean Lower-Third (Synchronized) 🎼 Ambient BGM & Ducking : Disabled (Pure Speech Narration) 📦 Delivery Destinations (3-Tier Storage Hierarchy): • Tier 1 (Primary) : Host Operator Drive (<account>) • Tier 2 (Secondary) : Deploy Tenant Drive (<deploy_account>) • Tier 3 (Fallback) : Cloud Storage (gs://<bucket>/) 🔒 Confirmed Destination : <Tier 1 / Tier 2 / Tier 3 Destination> ================================================================================If Pre-Flight indicates expired credentials (
reauth_required), append notice:⚠️ Note: Credentials expired for <account>. Run to re-authenticate: gcloud auth login <account> --enable-gdrive-access [--no-launch-browser]The pipeline prints the exact command for this host. On a host with no local browser it appends
--no-launch-browser; quote it verbatim rather than reconstructing it, because the plain form opens nothing and looks like a hang.Mandatory
ask_questionApproval Gate: Executeask_questionwith the following selectable options. (Ifreauth_requiredis detected on Tier 1, prioritize the single-click re-authentication action):- (If reauth required):
(Recommended) Re-authenticate Google account now (Agent will run the re-authentication command the pre-flight printed) (Recommended) Approve and proceed with video generation as plannedModify demo prompts / Select specific scenariosChange language / voice settings (e.g. ja-JP / en-US)Enable ambient background music (--enable-bgm)Disable voice narration (--no-narration) or subtitles (--no-subtitles)Change Google Drive / GCS delivery targetCancel video generation
If the user selects re-authentication, execute the login command directly via
run_commandand re-verify pre-flight before continuing. If the user requests modifications, update the plan and prompt again. Never start recording without explicit user approval.- (If reauth required):
Phase 3: Multi-Language Font Verification
Before launching recording or rendering, run font verification to eliminate tofu (□) characters:
python3 skills/ge-demo-generator/templates/video/scripts/ensure_fonts.py --lang "<LANG>"The script automatically detects missing typography (Kanji/Kana, Hanzi, Hangul, Arabic, Thai, Devanagari) and installs the required Noto font family via system packages or downloads them directly to ~/.local/share/fonts/ followed by fc-cache -fv.
Phase 4: Browser Session Verification & Authentication Handoff
- Port 9222 & Session URL Check:
The engine checks if Chrome CDP port 9222 is active. If not listening, it auto-launches Chrome pointing directly to the agent session URL:
- Default: GUI Chrome (
--no-headless) with persistent profile~/.config/ge-demo-video/chrome-profile. - Headless / SSH environments: Auto-detected and launched under
xvfb-runto provide a full virtual display buffer.
- Default: GUI Chrome (
- Authentication Step-Up Handoff:
If the browser encounters the Google login screen (
accounts.google.com):- The skill strictly halts (never falls back to mock).
- In interactive agent environments, prompt the user (e.g. via
ask_questionor interactive modal):"Chrome window has been launched. Please complete Google Account login (and 2FA) in the opened browser window, then select 'Login Complete'."
- Once confirmed, the engine re-probes the session URL and verifies that the chat input area is active.
- Chat Interface Readiness Probe:
The engine checks for
div.ProseMirror,div[contenteditable="true"], or textarea elements (including recursive shadow DOM search). Once verified, live recording proceeds.
Phase 5: Automated Execution & Video Composition
The pipeline executes through scripts/generate_demo_video.py.
Working directory: run this, and every other command in this skill, from the repository root. Every path here is relative to it, and so are the outputs:
./deliverables/and./deliverables/delivery_report.jsonare written relative to the working directory, not to the script.
# Standard Production Run
python3 scripts/generate_demo_video.py \
--company "<Company Name>" \
--role "<Agent Persona>" \
--lang "<Locale (e.g. ja-JP, en-US)>" \
--session-url "<Direct Chat Session URL>"
# Optional Flags:
# --enable-bgm : Enables ambient background music with dynamic ducking
# --no-narration : Generates video without voice track
# --no-subtitles : Generates video without subtitle overlays
# --drive-account : Overrides destination Google Drive accountThe process exit code is the delivery verdict: 0 delivered, 3 Drive was
expected and Cloud Storage caught the fall, 1 nothing accepted the video. See
Phase 6.
Key execution features:
- Zero Dead Air: Voice narration begins immediately at scene start, introducing operational intent during prompt typing.
- 1.50x Prompt Typing Zoom: Camera zooms into prompt input field
(960, 920)with natural human typing jitter. - ⏩ 4x Fast-Forward Thinking: Accelerates model thinking and tool execution with speedup badge and explanatory narration.
- 1.45x Action Button Zoom: Dynamically identifies action buttons (e.g. "Execute Reallocation Now"), zooms in, and executes the click.
- Synchronized Response Scrolling: Traverses shadow DOM
.chat-mode-scrollerto smoothly scroll tall data tables and A2UI cards.
Phase 6: Delivery to Google Drive / GCS & Local Staging
Delivery Account Precedence (Tier 1 / Tier 2 target): The video must land in the same Drive as the rest of the demo — the PDFs, spreadsheets and scans that
generate_and_upload_external_files.pyalready uploaded. The account is resolved in this order:- Explicit
--drive-accountorDRIVE_ACCOUNT(from the environment or.env). owner_accountin the demo'sdrive_upload_summary.json, if that account still has credentials on this host. This is the Drive the demo's own files are in.- The active
gcloudaccount — the identity the demo was deployed with. - An account whose local part matches the host login name.
- Any other credentialed non-service account.
- The active account, or
default.
The host login match used to sit near the top, which sent the video to a corporate account under forced re-authentication while the demo itself was in a different tenant's Drive. One demo, two Drives, and a re-authentication prompt for an account nobody asked for.
- Explicit
- 3-Tier Fallback Storage Delivery Mechanism:
- Tier 1: Host Operator Drive:
Uploaded via
gdriveCLI using operator user credentials if configured. Saves to folderGE Demo - <Company>with owner-only private permissions (or--share-publicif explicitly requested). - Tier 2: Deploy Account Drive:
If Tier 1 is unavailable or unconfigured, falls back to Google Drive API using the deploy user/service account ADC credentials (
gcloud auth application-default print-access-token/ service account key). - Tier 3: Google Cloud Storage (GCS) Fallback:
If Drive upload cannot proceed or fails, securely delivers the video to Google Cloud Storage (
gs://<project-id>-ge-demo-artifacts/videos/or custom--gcs-bucket), generating an authenticated or signed URL (https://storage.cloud.google.com/<bucket>/...).
- Tier 1: Host Operator Drive:
Uploaded via
- Local Staging Guarantee:
- The final video is always staged locally in
./deliverables/[Demo-Video]_<Company>_-<Role>.mp4regardless of remote upload status.
- The final video is always staged locally in
- Read the delivery verdict — never assume success:
Delivery writes
./deliverables/delivery_report.jsonand exits with a distinct code. The agent MUST read one of the two before reporting an outcome:Exit code headlinemeansAgent action 0Delivered to Drive, or Cloud Storage was the intended destination, or the upload was skipped on request Report the destination URL 3Cloud Storage caught the fall — Drive was expected and did not accept the upload Fire the recovery gate in step 6 1No destination accepted the video Report the local path and the error - The report carries
delivery_tier,target_account,target_account_reason,drive_url,gcs_uri,headlineandaction_required. - Exit code
3is not a success. The video exists, but it is not where the rest of the demo is.
- Present Output:
- Display local deliverable path, remote delivery destination (Tier 1 Drive / Tier 2 Drive / Tier 3 GCS), the account it went to and why, video duration, and resolution (1080p 30fps).
- Automated Post-Generation Interactive Delivery Recovery Gate:
- Trigger: delivery exit code
3, ordelivery_report.jsonreporting a non-emptyaction_required, ortier_1_status: reauth_required. - Zero Copy-Paste Mandate: If the video was successfully generated and staged in
./deliverables/[Demo-Video]_<Company>_-<Role>.mp4but Google Drive delivery failed or was skipped due to expired OAuth credentials (reauth_required), the agent MUST NEVER ask the user to manually copy and paste bash upload commands. - Interactive Recovery via
ask_question: The agent MUST IMMEDIATELY invokeask_questionoffering automated re-authentication and recovery upload:(Recommended) Authenticate now and upload the generated video to Google DriveKeep local deliverable only (and Cloud Storage if uploaded)
- Single-Click Automated Execution: Upon user selection of the recommended option, the agent automatically executes:
- Re-authentication via
run_command. Use the command printed by the pipeline verbatim — on a host with no local browser (remote shell, Cloud Shell, noDISPLAY) it carries--no-launch-browser, and without that flag the command waits on a browser that will never open:gcloud auth login <account> --enable-gdrive-access [--no-launch-browser] - Standalone Drive delivery via
run_command, from the repository root:
Omitpython3 skills/ge-demo-generator/templates/video/scripts/upload_to_drive.py \ --video "./deliverables/[Demo-Video]_${COMPANY}_-_${ROLE}.mp4" \ --company "${COMPANY}" \ --role "${ROLE}" \ --drive-account "${DRIVE_ACCOUNT}"--drive-accountto let the precedence in step 1 pick the Drive the demo already lives in. - Present the confirmed Google Drive file URL and folder URL directly in the chat response.
- Re-authentication via
- Trigger: delivery exit code
🛠️ CLI Options Reference (generate_demo_video.py)
| Option | Default | Description |
--session-url, --ge-url | (from .env) | Direct Gemini Enterprise chat session URL (Required) |
--env-file | .env | Path to environment configuration file |
--cdp-url | http://localhost:9222 | Chrome remote debugging endpoint |
--company | (from .env) | Company name override |
--role | (from .env) | Agent persona / role override |
--agent-name | (from .env) | Gemini Enterprise agent display name override |
--lang | (auto-detected) | Voice & subtitle language (ja-JP, en-US, de-DE, etc.) |
--project | (from .env) | Google Cloud project ID for TTS quota and GCS fallback |
--deploy-account | (auto-detected) | Target deploy Google Cloud account for Tier 2 Drive |
--gcs-bucket | (auto-detected) | Target Google Cloud Storage bucket for Tier 3 delivery |
--mock | false | Enable synthetic mock mode for test and offline pipeline execution |
--no-headless | true | Launch Chrome with visible GUI window (Default) |
--headless | false | Launch Chrome in headless mode |
--enable-bgm, --bgm | false | Enable ambient background music with dynamic ducking |
--no-brand, --disable-brand | false | Disable automatic customer logo and corporate palette discovery (default: branding enabled) |
--brand-domain | (auto-detected) | Custom domain override for logo and corporate palette discovery |
--no-narration | false | Disable voice narration audio tracks |
--no-subtitles | false | Disable subtitle overlays |
--skip-recording | false | Reuse existing browser recording from working directory |
--skip-tts | false | Reuse existing TTS audio from working directory |
--skip-drive | false | Skip Google Drive upload (save to ./deliverables/ only) |
--drive-account | (auto-detected) | Target Google Drive account override (Tier 1) |
--drive-folder | GE Demo - <Company> | Google Drive folder name override |
--share-public | false | Enable public reader link sharing |
--output | ./output/demo_video/rendered_demo_video.mp4 | Final MP4 output path |
Delivery environment variables
| Variable | Effect |
DRIVE_ACCOUNT | Highest-precedence delivery account (same as --drive-account) |
GE_DRIVE_SUMMARY | Explicit path to the demo's drive_upload_summary.json, when it is not beside the deliverables |
GE_NONINTERACTIVE / CI | Declines every re-authentication prompt instead of waiting for an answer nobody is there to give |
SKIP_VIDEO_DRIVE_UPLOAD | Skips Drive delivery for the video only (does not affect the demo's other files) |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

