FlowScope UX Flow Analyser

v0.1.1
io.github.DavidNgugi/flowscope Checked 4 days ago Published 2 months ago

Turn YouTube product demos into structured UX flow reports, and compare demos side by side.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

flowscope_health_check Check FlowScope readiness

Check that the FlowScope backend is running and that its dependencies (ffmpeg, yt-dlp, an LLM provider key) are ready. Call this before submitting a video so a missing prerequisite is reported as a config problem rather than a failed multi-minute job.

flowscope_list_videos List analysed videos

List videos FlowScope has been asked to analyse, newest first, with the status of each one's latest job. Call this first: results are cached by YouTube video id, so an existing entry means the analysis is free to re-read and must not be resubmitted.

flowscope_job_status Check analysis progress

Report the progress of a video's latest analysis job. Use this to poll after flowscope_analyze_video returns while still running, or to find out why an analysis failed. Poll every 20-30 seconds; do not resubmit the URL.

ParameterTypeDescription
video_id *string

flowscope_get_report Read a video's UX report

Return the finished UX analysis of one video: the ordered user flow, synthesised UX insights, and per-screen findings with the visible UI elements and the narration that accompanies each screen. This is the primary tool for answering UX questions about a video.

ParameterTypeDescription
video_id *string
include_transcriptboolean
max_framesinteger

flowscope_compare_videos Compare the UX of several videos

Compare two or more already-analysed videos and return their common patterns, their divergences, and a per-stage matrix. Requires at least two videos that have finished analysing. The comparison is an LLM call, so it takes a while and costs money; results are cached until one of the videos is re-analysed.

ParameterTypeDescription
video_ids *array
force_refreshboolean

flowscope_analyze_video Analyse a YouTube product demo

Submit one or more YouTube URLs for UX analysis. FlowScope downloads each video, transcribes it, extracts and deduplicates screenshots of distinct screens, describes each screen with a vision model, and synthesises the flow. This is slow (minutes per video) and the vision steps cost money, so check flowscope_list_videos first -- an already-analysed video is reused for free and immediately. By default this waits for completion and returns the reports; if the analysis needs longer than wait_seconds it returns status 'running' with video ids to poll.

ParameterTypeDescription
urls *array
forceboolean
force_local_transcriptionboolean
waitboolean
wait_secondsnumber

flowscope_retry_video Retry a failed analysis

Re-queue the last analysis job for a video after a failure, or start a fresh job when the previous one finished. Stages that already completed are reused, so a retry does not re-download or re-bill them.

ParameterTypeDescription
video_id *string

flowscope_reanalyze_video Redo the derived analysis for a video

Discard a video's frames, per-screen analyses and synthesised flow, then redo extraction and analysis from the downloaded video. Use this after changing the LLM model or prompt. It deletes stored results and spends money again. Any comparison that included this video is dropped too.

ParameterTypeDescription
video_id *string

flowscope_delete_video Delete a video and its analysis

Permanently remove a video's analysis from FlowScope. With delete_media true it also deletes the downloaded video and extracted frames from disk, which cannot be undone. Ask the user before using delete_media.

ParameterTypeDescription
video_id *string
delete_mediaboolean

flowscope_frame_image View a screen screenshot

Return the actual screenshot for one screen of a video, as an image the caller can look at. Use this when the written report is not enough and the visual layout matters, for example to judge spacing, hierarchy or visual style. Takes the video id and the frame_id from flowscope_get_report.

ParameterTypeDescription
frame_id *string
video_id *string