How to Summarize YouTube Videos with OpenClaw
Someone shares a link to a 45-minute YouTube video with the message “you should watch this.” You want the gist without the time investment. OpenClaw with AgentPatch can fetch the transcript and give you a summary on the spot, right in your Telegram or Discord chat.
Why This Matters
Getting a useful summary of a YouTube video normally involves watching it, using a browser extension, or pasting the URL into a separate tool. With OpenClaw and AgentPatch, it’s a single message to your agent.
The transcript comes back with timestamps, which means the summary can be grounded — not a hallucinated overview, but one based on what was actually said. You can also ask follow-up questions about specific points or request that OpenClaw pull a particular section.
Setup
Add AgentPatch to ~/.openclaw/openclaw.json:
{
"mcp": {
"servers": {
"agentpatch": {
"transport": "streamable-http",
"url": "https://agentpatch.ai/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}
}
Replace YOUR_API_KEY with your actual key from the AgentPatch dashboard. Restart OpenClaw and it discovers all AgentPatch tools automatically.
Example
A colleague drops a link in your Telegram group:
“This talk on distributed tracing is really good: https://youtube.com/watch?v=example456”
You ask your OpenClaw bot:
“Summarize this video for me: https://youtube.com/watch?v=example456”
OpenClaw calls the YouTube Transcript tool through AgentPatch, gets the full transcript, and sends back a concise summary in your chat. Three sentences, the main points, no fluff.
You can follow up:
“What does the speaker recommend for instrumenting microservices? Pull the exact quote.”
OpenClaw goes back to the transcript and gives you the relevant passage with the timestamp so you can verify it in the video if needed.
This works well for any kind of video: product announcements, technical tutorials, podcast episodes uploaded to YouTube, keynote talks, course material. If the video has a transcript, OpenClaw can summarize it.
Wrapping Up
Video summarization is one small part of what AgentPatch adds to OpenClaw. The same configuration gives your agent access to web search, email, image generation, and more — with no additional setup. Head to agentpatch.ai to grab an API key and see the full tool list.