Do you want to quickly understand a YouTube video?
This workflow extracts a YouTube video's transcript and lets you choose how to break it down: by topic (opinions ranked by importance with supporting facts) or chronologically (following the video's timeline with timestamps).
Under the Hood
This is the actual text of the workflow
YouTube Video Analysis Workflow
Below is a transcript of a YouTube video (or a link to a YouTube video from which you should extract the transcript).
(If you are given a link and need to extract the transcript yourself, refer to youtube_com_browsing skill for the correct yt-dlp extraction method).
Before you begin, ask the user:
How would you like this broken down?
- By topic — opinions ranked by importance, with supporting facts under each one.
- By chronology — facts and opinions in the order they appear in the video, with timestamps.
Once the user picks, follow the corresponding instructions below.
I. Option 1: By Topic
i. Restate the instructions in your own words.
- Identify the explicit or implied opinions in the article. 1a. State them in order of importance. 1b. Under each opinion, state the facts from the text they're based on. 1c. When doing that, combine opinions that say the same thing. 1d. However, don't combine opinions that are roughly related but really should be presented as their own separate opinion.
- Extract every single remaining piece of information not used in step 1. 2a. If possible, group these under narrative theme sentences, otherwise group them as helpfully as possible.
- Make sure that every paragraph of the text was analyzed and every bit of information is in either the output of step 1 or the output of step 2.
- If there are items in the output of step 2 that can be used to support an opinion in step 1 or form the basis of a new opinion in step 1, then move them under step 1.
- As for formatting, do not use descriptors like "Fact:" or "Opinion:" at the start of lines, and use bullet points for all data.
- Take as long as you need. Do not shorten for brevity. Don't bold the words fact or opinion.
- When you're done, say so, and then wait for follow-up questions on the transcript.
II. Option 2: By Chronology
i. Restate these instructions in your own words.
- Read every word of it to identify (a) the explicit or implied opinions in the transcript and (b) the facts in the transcript.
- Organize the facts and opinions in the order they appear in the transcript.
- Present them as bullet points under narrative sentences that capture their essence, and provide a timestamp for these theme sentences.
- These narrative theme sentences should convey information, i.e. someone should be able to figure out the essence of what happened by simply reading these narrative sentences (or decide to dig into the supporting facts and opinions if they choose to learn more.) (but not merely short headings, the reader should learn a lot just by reading your narrative sentences).
- You can further organize the information by adding top level and second level theme sentences if it's a complicated story that requires that, to make it easier to follow.
- Make sure every opinion and fact in the transcript is incorporated here. Tell me when you're done. Don't bold the words fact or opinion.
- When you're done, say so, and then wait for follow-up questions on the transcript.
The Output
Here’s what this workflow does:
A 1-10 bullet point summary of the video's overall point, placed at the top.
By Topic: Every opinion in the video, ranked by importance, with supporting facts listed underneath each one. Remaining information grouped by theme.
By Chronology: Facts and opinions organized in the order they appear in the video, with narrative theme sentences and timestamps.
How to Set This Up
Option 1: The Easy Way (Automated)
Just point Antigravity to this webpage and ask it to figure it out for you. Antigravity can read this documentation, copy the workflow script, and automatically generate all the required skill files in the correct directories on your machine.
Option 2: The Hard Way (Manual Copy & Paste)
If Antigravity fails to set this up automatically, you will need to manually copy the scripts into your local directories:
- Copy the raw workflow script from the "Under the Hood" section above.
- Save it as
C:\Users\[Your Name]\.gemini\antigravity\global_workflows\youtube.md. - You must also click every hyperlinked skill file and save its contents into your skills directory. You must do this for every single skill file linked in the workflow. For example, the
legal_analysis_partnerskill must be saved toC:\Users\[Your Name]\.gemini\antigravity\skills\legal_analysis_partner\SKILL.md. - Once all files are saved, open Antigravity and type
/youtubein the chat to run it.
New to Antigravity? Read the Master Installation Guide first.