imdb

A scraping playbook for IMDb, the website that catalogs films, television programs, and people in the entertainment industry. It reads the page’s embedded JSON data for public charts, titles, and names.

In plain words
What is it for?
Collect chart, title, and name records such as IDs, release years, runtimes, ratings, vote counts, and certificates from allowed public pages.
Why use it?
It handles IMDb’s AWS WAF browser challenge and uses the already-resolved page data instead of depending on the visible page structure.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/agentcomputerai/torch/imdb
Any agent
npx skills add AgentComputerAI/torch --skill imdb
Clone the repo
git clone --depth 1 https://github.com/AgentComputerAI/torch

Made for: Claude Code, Codex.

Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,712 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00077 $0.01712
Opus 5 $0.00039 $0.00856
Sonnet 5 $0.00015 $0.00342
Haiku 4.5 $0.00008 $0.00171

Measured yesterday against content hash 531f11d25924, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

imdb scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

description: Proven scraping playbook for imdb.com. Next.js SPA behind CloudFront + AWS WAF (x-amzn-waf-action challenge on raw curl). Real Chrome via the real Chrome debug port sails past the challenge on first navigati
skills/sites/imdb/SKILL.md · 129 lines

How it starts

The opening of the file, as written. The whole thing — 129 lines — stays where its author put it; the contents beside it link to each section on GitHub.

IMDb (imdb.com)

Full catalog (charts, titles, names) is a Next.js app served via CloudFront with an AWS WAF challenge on bare curl requests. A real Chrome session (the real Chrome debug port) passes the challenge silently; __NEXT_DATA__ then yields a complete, typed JSON payload that's vastly richer than the DOM.

Detection

Signal Value
CDN CloudFront (via: 1.1 ...cloudfront.net)
Framework Next.js (__NEXT_DATA__ present, /_next/ assets)
Anti-bot AWS WAF — returns HTTP/2 202 + x-amzn-waf-action: challenge + empty body to plain curl, even with spoofed UA/headers
Auth Not required for public chart/title/name pages
robots.txt Allows most public paths; disallows /search/, /find, etc.

Architecture

  • Next.js SSR: every chart/title page inlines a <script id="__NEXT_DATA__"> JSON blob with the full page payload already resolved.
  • Chart pages (/chart/top, /chart/moviemeter, /chart/boxoffice, …) expose the list at props.pageProps.pageData.chartTitles.edges[].node.
  • Each node has id (tconst), titleText, releaseYear, runtime, ratingsSummary (aggregateRating + voteCount), certificate, titleGenres, primaryImage, etc. — no DOM scraping needed.

Strategy used

  • Phase 0 (curl): blocked. HTTP/2 202 + x-amzn-waf-action: challenge, zero body. Don't waste time tweaking headers — AWS WAF is JS-challenge based.
  • Phase 1 (framework): skipped as a standalone fetch path — same WAF wall — but __NEXT_DATA__ is the extraction target once the page loads in a browser.
  • Phase 2 (browser): puppeteer.connect({ browserURL: the real Chrome debug port }). Real Chrome clears WAF on the first navigation with no interaction. No stealth plugin, no captcha solver, no proxy.

Stealth config that works

import puppeteer from "puppeteer-core";

const browser = await puppeteer.connect({ browserURL: "http://127.0.0.1:9222" });
const page = await browser.newPage();
await page.goto("https://www.imdb.com/chart/top/", { waitUntil: "domcontentloaded", timeout: 45000 });
await page.waitForSelector("li.ipc-metadata-list-summary-item");

Read the full file on GitHub · 129 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 129 lines · 77 tokens per session scan A 531f11d25924

Subscribe to this mod's changes

imdb is a skill published in the GitHub repository AgentComputerAI/torch (5 stars, last pushed 4mo ago), licensed MIT. It adds 77 tokens to every session and 1,712 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

br3eze-code

AgentOS uses a modular 3-tier ReAct reasoning engine. The AI (Gemini 2.0 Flash / Claude Sonnet 4.6 / GPT-4o / Ollama) automatically discovers, chains, and executes these skills via the Tool Registry and Skill Loader.

br3eze-code/br3eze-code · 0 tokens

agentos-security-remediation

Review and remediate Dependabot and dependency vulnerabilities in AgentOS repositories. Use for critical or high-severity alert triage, dependency-path analysis, specialist assignment, secure upgrades, regression testing, rollback planning, release gates, and audit evidence.

br3eze-code/br3eze-code · 54 tokens

agentos-specialist-swarm

Coordinate AgentOS specialist work across Planner, Engineer, Accountant, Secretary, Procurement, Expeditor, Designer, and Draftsman roles. Use for role onboarding, WBS delegation, skill selection, activity tracking, handoffs, approvals, evidence, channel rendering, procurement exceptions, and project delivery…

br3eze-code/br3eze-code · 67 tokens

agentos-expeditor

Coordinate AgentOS fulfillment and delivery work with milestones, supplier and courier tracking, exception handling, recovery options, Procurement handoffs, escalation approvals, evidence, and receipt closure. Use for order delays, shipment tracking, vendor exceptions, and delivery recovery.

br3eze-code/br3eze-code · 54 tokens

agentos-role-skill-factory

Create, validate, integrate, and release separate AgentOS role-skill packages with SKILL.md instructions and index.js entry points. Use when adding a specialist role, generating role metadata, wiring WBS and approval contracts, or packaging role skills for the repository.

br3eze-code/br3eze-code · 60 tokens

agentos-designer

Design user, service, and system solutions in AgentOS from scoped requirements, constraints, alternatives, prototypes, reviews, acceptance criteria, and controlled publication. Use for design briefs, concepts, UX, service flows, architecture proposals, and design changes.

br3eze-code/br3eze-code · 54 tokens