agentleFS
hevangelhevangel/media-agent-skills/skills/imdb/SKILL.md

imdb

Skill4 starsChanged 20 days agoMITView on GitHub

Search IMDB for movies, TV series, and people. Get details by name or ID, browse upcoming/popular titles. Use when looking up movie/TV/celebrity info from IMDB.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Search and retrieve movie, TV series, and celebrity information from IMDB using IMDB's public Suggestion API (search) and GraphQL API …

    line 10
  2. Distinctive:

    No API key, scraping, or browser rendering required.

    line 13
  3. Very specific:

    Only requests is needed as a dependency.

    line 38

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

IMDB Lookup

Search and retrieve movie, TV series, and celebrity information from IMDB using IMDB's public Suggestion API (search) and GraphQL API (details).

No API key, scraping, or browser rendering required.

Reference

  • Code Snippets: scripts/
  • IMDB Suggestion API: v3.sg.media-imdb.com/suggestion/
  • IMDB GraphQL API: graphql.imdb.com

Available Scripts

ScriptPurpose
imdb_client.pyCore client: suggestion API (search) + GraphQL API (details)
search.pySearch IMDB by title, year, TV, or person
get_by_name.pyGet movie/TV series info by name
get_by_id.pyGet movie/TV series info by IMDB ID
person.pyGet celebrity profile by name or IMDB ID
upcoming.pyList upcoming movies (optionally by region)
popular.pyList popular movies or TV series by genre

How It Works

  1. Suggestion API (v3.sg.media-imdb.com/suggestion/) — fast autocomplete search by name
  2. GraphQL API (graphql.imdb.com) — full title details, person profiles, popular/upcoming listings

Only requests is needed as a dependency. No browser, proxy, or API key required.

Search Parameters

ParameterTypeDescription
nameStringMovie/TV series/person name
yearIntegerFilter search results by year
tvBooleanRestrict to TV series only
personBooleanSearch for people instead of titles
genreStringGenre filter for popular listings (title-cased internally)

Usage

Search for a Movie or TV Series

from imdb_client import suggest_search

results = suggest_search("Inception")
for r in results:
    print(f"{r['name']} ({r['year']}) - {r['id']}")

Get Movie Details by Name

from imdb_client import suggest_search, graphql_get_title

results = suggest_search("Inception")
title_id = results[0]["id"]
info = graphql_get_title(title_id)
print(info)  # dict with type, name, poster, rating, genre, actors, director, etc.

Get by IMDB ID

from imdb_client import graphql_get_title

info = graphql_get_title("tt1375666")
print(info)

Get TV Series Info

from imdb_client import suggest_search, graphql_get_title

results = suggest_search("Reacher")
tv_results = [r for r in results if r["type"] in ("tvSeries", "tvMiniSeries")]
info = graphql_get_title(tv_results[0]["id"])
print(info)

Get Celebrity Profile

from imdb_client import suggest_search, graphql_get_person

results = suggest_search("Brad Pitt")
person_results = [r for r in results if r["id"].startswith("nm")]
profile = graphql_get_person(person_results[0]["id"])
# or directly by ID: graphql_get_person("nm0000093")
print(profile)

Upcoming Movies

from imdb_client import graphql_upcoming

upcoming = graphql_upcoming(limit=20)
for movie in upcoming["results"]:
    print(f"{movie['name']} - {movie['releaseDate']}")

Popular Movies/TV by Genre

from imdb_client import graphql_popular

movies = graphql_popular(title_type="movie", genre="sci-fi", limit=20)
tv = graphql_popular(title_type="tv", genre="action", limit=20)

Response Fields (Movie/TV)

FieldDescription
type"Movie" or "TVSeries"
nameTitle
urlIMDB URL
posterPoster image URL
descriptionPlot summary
ratingObject with ratingValue, ratingCount, bestRating, worstRating
contentRatingAge rating
genreList of genres
datePublishedRelease date
keywordsComma-separated keywords
durationISO 8601 duration
actorList of {name, url}
directorList of {name, url}
creatorList of {name, url} (writers)

Response Fields (Person)

FieldDescription
nameFull name
urlIMDB profile URL
imageProfile image URL
jobTitlePrimary profession
descriptionBio summary
birthDateDate of birth
type"Person"

Genres (for popular listings)

action, adventure, animation, biography, comedy, crime, documentary, drama, family, fantasy, history, horror, music, mystery, romance, sci-fi, sport, thriller, war, western

CLI Usage

cd skills/imdb/scripts
uv run python search.py "Inception" --year 2010
uv run python get_by_name.py "Inception"
uv run python get_by_name.py "Reacher" --tv
uv run python get_by_id.py tt1375666
uv run python person.py "Brad Pitt"
uv run python person.py --id nm0000093
uv run python upcoming.py --limit 20
uv run python popular.py movies --genre sci-fi
uv run python popular.py tv --genre action

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.