AI Skill MartBrowse skillsPromptsProgramsLearnWhat is a Skill?
← Back to list

TMDb Connector (Motoko / tmdb-client)

The mandated recipe for reading TMDb movie, TV and people data from a Motoko canister via the `tmdb-client` mops package.

Dev & CodingAdvanced★ 429⑂ 46AI score 8/10Last updated: Sep 29, 2026

What it does

For Caffeine / Internet Computer backends that need movie data, this skill forbids hand-rolled ic.http_request calls to api.themoviedb.org and standardises on the generated tmdb-client mops package.

  • Pins the only working credential path: a v4 read-access token with ?#bearer — and explains why the v3 API key and the generic ?#apiKey variant return 401
  • Groups the 111 usable operations (search, movie/TV detail, people, feeds, trending, discover, configuration) in a lookup table
  • Flags the 13 broken ones — the 12 body-carrying writes that go out double-wrapped as {"RAW_BODY":"…"} and movieRecommendations, which throws on every success — with root causes
  • Ships a full persistent actor example: structural mapper that collapses TMDb's all-optional fields, poster URL assembly, max_response_bytes sizing, and why is_replicated = ?false is correct
  • Lists real-world gotchas: integer IDs, 1-indexed page with 422 beyond 500, ~50 req/s rate limit with no Retry-After, heterogeneous searchMulti results, and the 28 pruned operations

Who it's for

  • Motoko developers wiring external HTTP APIs into Internet Computer canisters
  • Teams building movie/TV catalog apps on the Caffeine stack
  • Anyone who wants the limits of an OpenAPI-generated client mapped out before planning features

Examples

  1. Search box: call searchMovie and flatten the optional-everything response into a narrow Movie record the frontend can render without null checks.
  2. Landing page rows: combine movieNowPlayingList and trendingMovies for "in cinemas" and "what's hot", caching configurationDetails once in a var.
  3. Title page: movieDetails with appendToResponse="credits,images,videos" to fetch credits, stills and trailers in a single outcall instead of four.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/aiskillstore/marketplace/HEAD/pending/caffeinelabs/connector-tmdb/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on AI Skill Mart.
Copy the pending/caffeinelabs/connector-tmdb folder from the GitHub repo aiskillstore/marketplace into my ~/.claude/skills/connector-tmdb/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/aiskillstore/marketplace.git /tmp/marketplace && mkdir -p ~/.claude/skills/connector-tmdb && cp -r /tmp/marketplace/pending/caffeinelabs/connector-tmdb/* ~/.claude/skills/connector-tmdb/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Open a terminal and clone the repository: git clone https://github.com/aiskillstore/marketplace.git /tmp/marketplace
  2. Create the skill directory: mkdir -p ~/.claude/skills/connector-tmdb
  3. Copy the skill in: cp -r /tmp/marketplace/pending/caffeinelabs/connector-tmdb/* ~/.claude/skills/connector-tmdb/
  4. Restart Claude Code and confirm connector-tmdb shows up in your skill list.
  5. In your Motoko project, add the dependency: mops add tmdb-client
  6. Mint a v4 read-access token at themoviedb.org/settings/api (the 32-char v3 API key will not work with this client).
  7. Ask Claude something like "build a TMDb movie search backend in Motoko" and the skill loads automatically. Keep the token out of the frontend: store it in actor state behind an authorization-gated setter and never return or log it.