ReelQL: give your agent eyes
⭐ Star the repo (and Watch → Releases to hear about updates), and follow @tomcupr on X for launch news.
Paste any video link and get back one typed JSON document: summary, chapters, scenes, cast, key moments, the emotional arc, products and brands, on-screen text and the full transcript. ReelQL watches the video, and Jev turns what it saw into decisions your code can branch on.

"analyze this video" in Claude Code, on a 6-second Starbucks TikTok. Real run, played at 1.5×.
| Video | Length | Link to JSON |
|---|
| Starbucks TikTok | 0:06 | 16 s |
| MKBHD LG G5 unboxing | 4:00 | 23 s |
| Phone review | 10:34 | 57 s |
| Walking tour, no speech | 14:05 | 65 s |
No key yet? examples/ has the full output for five brand TikToks and the Jev ranking of them.
Why ReelQL + Jev
Agents can read, but they can't watch. Jev, TypeSafe's judgment model, reads text only; its docs say to turn video into text or structured fields first. ReelQL is that step:
- ReelQL watches. A link goes in, and one JSON document comes out with every field timestamped.
- Jev judges. Give Jev the fields you care about and ask typed questions: is this on brief, is it brand-safe, which moment fits best? You get probabilities back, not prose to parse.
- Your code decides. Sort, filter, route or flag on real numbers.
With both keys set, just ask Claude to rank some ads against a brief. The skill runs every link through ReelQL, then its bundled scripts/jev.py asks Jev five questions per video. Those are on brief, hook, product in use, emotional payoff and unsafe content:

Five brand TikToks ranked against "family-friendly, shows the product in use". Samsung wins at 77% because its ad is the product doing something; Nat Geo lands at 6% because it isn't an ad. Real run, played at 2.5×.
The same pairing in your own code:
from typesafe_sdk import Choice, Noul, Score, TypeSafeClient
a = video["analysis"] # a ReelQL result
brief = "Upbeat, family-friendly, shows the product in use"
state = {"summary": a["summary"], "tone": a["story"]["tone"], "brands": a["brands"],
"moments": {str(i): m["what"] for i, m in enumerate(a["key_moments"])},
"transcript": " ".join(s["text"] for s in video["speech"]["transcript"])}
with TypeSafeClient() as jev: # reads TYPESAFE_API_KEY
r = jev.system_one(state=state, questions={
"unsafe": Noul(instructions="Does `transcript` contain profanity, violence or adult content?"),
"on_brief": Noul(instructions={"brief": brief, "question": "Does the video match `brief`?"}),
"fit": Score(instructions={"brief": brief, "question": "How well does `tone` fit `brief`?"},
criteria=["Contradicts it", "Neutral", "Clearly fits"]),
"best": Choice(instructions={"brief": brief, "question": "Which of `moments` best matches `brief`?"},
criteria={**{k: None for k in state["moments"]}, "none": None}),
})
print(r.nouls["unsafe"].noul, r.nouls["on_brief"].noul, r.scores["fit"].score, r.choices["best"].choice)
Other things you can build from the same pairing:
| Recipe | ReelQL fields in | Jev question out |
|---|
| Brand safety | transcript, on_screen_text, scenes[].action | one yes/no per hazard, plus a severity score |
| On-brief check | summary, story.tone, story.themes, advertiser | "matches the brief?" and a fit score |
| Cut-down picker | key_moments, scenes | which moment best matches the brief |
| Rank a batch | the same fields for many videos | hook, product clarity, emotional payoff scores, then sort in code |
| Verify placements | products[].appearances, transcript | is each product claim supported by the evidence? |
Send Jev only the fields a question needs, not the whole document: a long video's transcript can exceed Jev's context. Do numeric comparisons (views, likes) in code. Jev is made by TypeSafe; ReelQL is not affiliated with them.
Get started
1. Get a key. One call, no sign-up. A new key comes with 10 free minutes of video:
curl -s -X POST https://reelql.tail6c0e2d.ts.net/keys
# {"key": "rql_...", "account": "k-...", "minutes": 10.0, ...}
2. Install the skill.
Claude Code:
claude plugin marketplace add tomascupr/reelql
claude plugin install reelql@reelql
export REELQL_API_KEY=<your key>
export TYPESAFE_API_KEY=<your Jev key> # optional, from console.typesafe.ai: rankings and judgments with Jev