Skip to main content

What You’ll Build

A Python script that pulls running shoe data from Amazon, Walmart, and Nike.com and outputs a ranked, cross-retailer price comparison — all from a single prompt to your AI coding assistant. This tutorial shows the core power of Nimble: Extract Templates work with any website, not just the ones in the gallery. The Nimble plugin handles the rest:
  • Finds pre-built Extract Templates for sites already in the gallery (Amazon, Walmart)
  • Generates a custom template on the fly for Nike.com, a site with no pre-built template
  • Writes the full analysis script using the templates it collected

Prerequisites

Nimble Account

Sign up free and grab your API key from Settings → API Keys

Plugin Installed

Install the Nimble plugin for Claude Code or Cursor
You’ll also need Python 3.8+ and the Nimble SDK:

Step 1: Give Claude the Prompt

Open a new session in Claude Code (or Cursor) and paste this prompt:
That’s it. Claude takes it from here.

What Claude Does Next

Claude works through the task autonomously using the Nimble plugin. Here’s what happens under the hood:
1

Searches the gallery for Amazon

Claude calls nimble_extract_templates_list with the query "amazon" and finds amazon_serp — a pre-built Extract Template for Amazon search results. It inspects the schema and confirms keyword is the required input.
2

Searches the gallery for Walmart

Same flow for Walmart — finds walmart_search, confirms it takes a keyword param and returns product name, price, and rating.
3

Finds no template for Nike — generates one

No public Extract Template exists for nike.com. Claude calls nimble_extract_templates_generate with a description of what’s needed, waits for the template to be created, runs a test extraction, and publishes it as nike_running_shoes_plp.
4

Writes the script

With all three templates confirmed, Claude writes shoe_analysis.py using the Nimble Python SDK and the template names it just collected.
The script Claude produces will look something like this:
The exact template names (e.g. nike_running_shoes_plp) are chosen by the skill at generation time. Claude will use whatever names were returned and write the script accordingly — you don’t need to track them manually.

Step 2: Run the Script

Expected output:

What’s Next

Talk to an Expert

Need help choosing the right approach or scaling up?

Pricing

View plans and subscribe