Chat with any YouTube video from your terminal using AI
Enable AI coding assistants (Claude Code, Cursor, Codex, etc.) to use AskVideo:
npx skills add IndianAppGuy/askvideo-cliOnce installed, your AI agent can automatically summarize and answer questions about YouTube videos.
- Fast: Chat with YouTube videos in seconds without leaving your terminal
- AI-Powered: Leverage advanced AI to understand and answer questions about video content
- Interactive Mode: Have flowing conversations with video content
- Scriptable: One-shot question mode perfect for automation and piping
- Developer-Friendly: Built for developers who live in the terminal
- Easy Auth: Simple email OTP verification - no passwords needed
npm install -g askvideo
# or
yarn global add askvideo-
Login or create an account (email OTP verification):
askvideo login
Enter your email, receive a 6-digit code, and you're in!
-
Start chatting with any YouTube video:
askvideo chat "https://youtube.com/watch?v=dQw4w9WgXcQ"
That's it! No API keys to manage manually.
Authenticate with email OTP or API key.
# Interactive login with email OTP (recommended)
askvideo login
# Direct login with API key (if you have one)
askvideo login --key av-api-your-key-hereThe login command handles both new signups and existing users:
- New users: Account is created automatically after OTP verification
- Existing users: Just verify and you're logged in
Start an interactive chat session with a YouTube video.
# Chat with a YouTube video
askvideo chat "https://youtube.com/watch?v=VIDEO_ID"
# Chat with an already indexed video by ID
askvideo chat --id abc123Ask a single question and get an answer (great for scripts).
# Ask a question about a video
askvideo ask "What are the main topics covered?" --url "https://youtube.com/watch?v=VIDEO_ID"
# Use video ID instead of URL
askvideo ask "Summarize this video" --id abc123
# Use simple mode (non-streaming, better for piping)
askvideo ask "List the key points" --url "..." --simpleList all your indexed videos.
askvideo videos
# or
askvideo listCheck your remaining credits.
askvideo credits$ askvideo chat "https://youtube.com/watch?v=dQw4w9WgXcQ"
π¬ AskVideo Chat
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
πΉ Video: Never Gonna Give You Up
ID: dQw4w9WgXcQ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Type your questions below. Use "exit" or Ctrl+C to quit.
You: What is this song about?
π€ This song is about unwavering commitment and devotion in a
relationship. The lyrics express a promise to never abandon
or hurt the person they love...
You: Who wrote this song?
π€ "Never Gonna Give You Up" was written by the production trio
Stock Aitken Waterman - Mike Stock, Matt Aitken, and Pete
Waterman...# Get a quick summary
askvideo ask "Give me a 3-bullet summary" --url "..." --simple
# Pipe to other commands
askvideo ask "List all timestamps" --url "..." --simple | grep "00:"
# Use in shell scripts
VIDEO_SUMMARY=$(askvideo ask "Summarize" --url "..." --simple)
echo "Summary: $VIDEO_SUMMARY"Configuration is stored in ~/.config/configstore/askvideo-cli.json.
ASKVIDEO_API_URL- Override the API URL (useful for development)
- Free Plan: 1 video + 10 messages per month
- Pro Plan: Unlimited videos and messages
Check your remaining credits anytime:
askvideo creditsUpgrade at askvideo.ai/pricing
Run askvideo login to authenticate with your email.
You've used all your video credits for the month. Upgrade to Pro or wait for the next month.
You've used all your message credits. Upgrade to Pro for unlimited messages.
Some YouTube videos don't have transcripts available. Try a different video.
Longer videos take more time to transcribe and index. The CLI will wait up to 10 minutes.
Check your spam folder. The email is sent from hey@mail.askvideo.io.
# Clone the repo
git clone https://github.com/IndianAppGuy/askvideo-cli
# Install dependencies
yarn install
# Build
yarn build
# Run locally
node dist/index.jsMIT License - see LICENSE for details.