More screenshots

    Works with the AI Agents you already use

    YT Quiz: Turn Videos into Practice

    by Vít Trubák

    1

    Turn any YouTube video you've watched into a quiz, interactive test or hands-on coding exercise. It reads both the transcript and the code and slides shown on screen, then checks your answers with timestamps to rewatch.

    $2

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    YT Quiz: Turn Videos into Practice

    YT Quiz: Turn Videos into Practice

    Example session with this skill installed

    /yt-quiz https://www.youtube.com/watch?v=FsAPt_9Bf3U

    I watched this Python decorators tutorial yesterday and I've already forgotten most of it. Quiz me on it and give me a small coding exercise so I actually practise it.

    • Read your context and instructions
    • Compiled the yt quiz

    Processed "Python Tutorial: Decorators – Dynamically Alter The Functionality Of Your Functions" (Corey Schafer, 30:27).

    • 913 candidate frames → 40 key frames with code and terminal output
    • The manual subtitles stop at 02:20, so I used the automatic captions for the full transcript
    • Wrote 2026-11-28-python-decorators/context.md · video deleted · temp folder 0.00 MB

    What the video covered

    TimeIdea
    [00:31]First-class functions and closures: an inner function remembers variables from the scope it was created in
    [04:39]A decorator takes a function, adds behaviour in a wrapper, and returns the wrapper without touching the original code
    [09:31]@decorator_function above def display() is exactly display = decorator_function(display)
    [12:13]Decorating display_info(name, age) raises TypeError: wrapper_function() takes 0 positional arguments but 2 were given. Fix: *args, **kwargs
    [13:35]The same thing as a class: __init__ stores the function, __call__ acts as the wrapper
    [17:44]Practical decorators: my_logger writes calls to <name>.log, my_timer prints the run time
    [22:24]Stacking both gives wrong names (wrapper ran in: 1.0 sec, wrapper.log), because stacked decorators are applied bottom-up
    [27:02]@wraps(orig_func) from functools copies the original name and docstring onto the wrapper

    The pitfall, as shown on screen at [24:33]:

    @my_logger
    @my_timer
    def display_info(name, age): ...
    
    # is the same as:
    display_info = my_logger(my_timer(display_info))
    
    # my_logger receives my_timer's wrapper, so it logs to wrapper.log
    

    Quick check: answer these, then I'll grade them

    1. Why does a decorator return wrapper_function and not wrapper_function()? What would break if it returned the call? (see [05:58])
    2. What does this print, and why?
      @my_timer
      def display_info(name, age): ...
      print(display_info.__name__)
      
    3. With @my_logger above @my_timer, which decorator is applied first, and why does the log end up in wrapper.log?
    4. Why does my_timer store result = orig_func(*args, **kwargs) instead of returning it straight away? (see [20:29])
    5. When would you write a class decorator instead of a function decorator? What do __init__ and __call__ each do in it?

    Coding exercise: exercise/

    exercise/
    ├── TASK.md
    ├── call_stats.py        ← skeleton with TODOs
    └── test_call_stats.py   ← 6 unittest tests
    

    TASK.md (short version): You'll build two decorators for an API client.

    • count_calls(func) counts calls in wrapper.calls and records each call's (args, kwargs) in wrapper.history.
    • flag_slow(func) times each call, like my_timer, and appends the function's name to SLOW_CALLS when a call takes longer than SLOW_LIMIT.
    • Both decorators must keep __name__ and the docstring.
    • Extra step: fetch_report uses both decorators. After a slow call, SLOW_CALLS must contain "fetch_report", not "wrapper".

    Hints point back to the video: [12:13] arguments, [20:29] timing, [24:03] stacking order, [27:02] wraps.

    
    # call_stats.py
    import functools
    import time
    
    SLOW_LIMIT = 0.1   # seconds
    SLOW_CALLS = []    # names of functions that were slow
    
    def count_calls(func):
        # TODO: wrapper that counts calls (wrapper.calls), records (args, kwargs)
        #       in wrapper.history, returns func's result and keeps func's metadata
        raise NotImplementedError
    
    def flag_slow(func):
        # TODO: time each call; if it took longer than SLOW_LIMIT,
        #       append the function's name to SLOW_CALLS; return the result
        raise NotImplementedError
    
    @count_calls
    @flag_slow
    def fetch_report(report_id, delay=0.0):
        """Pretend to download a report."""
        time.sleep(delay)
        return {"id": report_id, "status": "ok"}
    
    $ python -m unittest -v
    test_counts_calls_and_records_arguments ... ERROR
    test_fast_call_not_flagged ... ERROR
    test_flags_slow_call ... ERROR
    test_keeps_metadata ... ERROR
    test_returns_result ... ERROR
    test_stacked_decorators_keep_real_name ... ERROR
    ----------------------------------------------------------------------
    Ran 6 tests in 0.005s
    FAILED (errors=6)
    

    Next steps

    • Answer the 5 questions above. I'll grade each one (✅ / 🟡 / ❌), explain the principle and point you to the exact timestamp.
    • Implement the two decorators, then say

    "check it". I'll run the tests, review your code and give you a harder follow-up.

    • Want this topic to stick? Say

    "long-term" and I'll write a note for your vault and schedule reviews in 1, 3 and 7 days.

    TASK.md

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Watched a tutorial and forgot half of it by the next day? This skill turns a YouTube video into active practice, so you actually remember what it taught.

    How it works

    • Reads what is said AND what is shown. It pulls the transcript and extracts key frames wherever the picture changes (new code, terminal output, slides, diagrams), while ignoring the presenter's webcam.
    • Understands the demos. It transcribes code and commands from the screen and follows how the code evolves step by step.
    • Writes a clean context.md with a timestamped summary, key concepts, transcribed code and the exact steps from the demos. Everything later is built from this file.
    • Deletes the video right away. Only your notes stay. All temporary files are cleaned up automatically.

    Then you choose how to practise

    • Quick check: 5 questions right in the chat, graded instantly, with timestamps to rewatch what you missed.
    • Interactive test: a self-contained HTML page with 8–12 questions (multiple choice, "what does this code print", ordering steps, open questions with model answers), a score, and an explanation for every mistake linking to the exact moment in the video.
    • Coding exercise: a task, skeleton code and failing tests. It is similar to the demo but not a copy, so you have to apply the approach yourself. Say "check it" to get feedback on your code and a harder follow-up.
    • Long-term: a note for your Obsidian (or any Markdown) vault, plus review sessions after 1, 3 and 7 days that get harder each time (if your agent supports scheduled tasks).

    Built for real learning

    • Questions test understanding ("why does this work?", "what happens if…?"), not memorising.
    • Nothing is invented: anything not from the video is clearly marked.
    • Long videos: pick the whole video, selected chapters or a time range.
    • Works with videos in any language. Answers in English by default, or in any language you ask for.

    Usage

    /yt-quiz <youtube-url> /yt-quiz <youtube-url> from 12:30 to 25:00

    Or just send a YouTube link and say "quiz me on this video".

    Requirements

    • Python 3.8+
    • yt-dlp and Pillow (pip install yt-dlp pillow)
    • ffmpeg 5.1+ on your PATH

    Use it only for videos you're allowed to download for personal study.

    Requires Python 3.8+, ffmpeg 5.1+, yt-dlp, and Pillow. Only works on public YouTube videos. Visual extraction depends on screen changes; talking-head videos yield less visual data.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 7 days ago

    Software
    Python

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Network Access
    Environment Variables
    Listed7 days ago

    What's inside

    Creator

    Vít Trubák

    Vít Trubák

    Frequently Asked Questions

    Unlike standard prompts that only 'hear' the audio, Yt Quiz uses computer vision to extract code blocks, terminal outputs, and diagrams directly from the video frames, ensuring your study materials include the actual code shown on screen.

    You will need Python 3.8 or higher and the FFmpeg library installed on your system PATH to handle video processing and frame extraction.

    The skill generates localized project folders containing a task description, skeleton code files, and a 'unittest' file that allows you to verify your solution against the tutorial's logic.

    No, the tool is designed for efficiency; it extracts the necessary frames and transcripts, generates your permanent study files, and then immediately deletes the video file to save disk space.

    Yt Quiz works best with technical tutorials, lectures, and 'build-with-me' videos; it is less effective for vlogs or videos where the screen content (like slides or code) doesn't change frequently.

    Yes, the skill can generate formatted notes specifically designed for Obsidian or other local markdown vaults, complete with a 1-3-7 day spaced-repetition schedule.

    New in Workflow Automation

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Workflow Automation.