Command Palette

Search for a command to run...

Назад к скиллам
скилл № 10722

Instacart

Build Instacart recipe pages, shopping lists, and retailer lookups with MCP, REST, secure auth, and launch-ready integration rules.

БесплатноБез исполняемых скриптов
clawicот clawic★ 23 звезды на GitHub

Установить Instacart в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Setup

On first use, read setup.md for integration guidelines.

When to Use

User needs Instacart-specific execution rather than generic grocery advice. Activate for shoppable recipe pages, shopping list pages, nearby retailer lookup, MCP-based agent handoff, launch-readiness checks, or API troubleshooting around Instacart Developer Platform.

Architecture

Memory lives in ~/Clawic/data/instacart/. See memory-template.md for setup.

~/Clawic/data/instacart/
|-- memory.md                # Operating context, activation rules, approved surfaces
|-- url-cache.md             # Payload hashes and generated products_link URLs
|-- retailer-notes.md        # Preferred retailers, geo defaults, and known-good keys
|-- launch-notes.md          # Production approval state and messaging constraints
`-- incidents.md             # Failed requests, root causes, and fixes

Quick Reference

Use the smallest relevant file for the current task.

Topic File
Setup and activation behavior setup.md
Memory schema and status values memory-template.md
Auth, environments, and key model auth-playbook.md
Core endpoint coverage endpoint-map.md
Request bodies, payload shaping, and curl examples request-patterns.md
MCP server setup and tool limits mcp-integration.md
Connect and fulfillment boundaries connect-boundaries.md
Errors, retries, and low-signal matches troubleshooting.md

Requirements

  • Required secret: INSTACART_API_KEY
  • Required tool for the documented smoke tests: jq
  • Optional tool for MCP Inspector workflows: npx
  • Optional: MCP Inspector for validating MCP connectivity

Never ask the user to paste API keys into chat. Use environment variables or their existing secret manager.

Data Storage

Local notes in ~/Clawic/data/instacart/ should store:

  • approved environment and surface selection
  • geo defaults such as country_code and common postal codes
  • known-good payload shapes and normalized line-item conventions
  • generated link cache keyed by normalized content hash
  • production approval status and messaging restrictions

Core Rules

1. Choose the Right Surface Before Sending Traffic

Decide explicitly between:

  • Developer Platform MCP for agent-native create-recipe and create-shopping-list
  • Developer Platform REST for recipe pages, shopping list pages, and nearby retailers with full request control
  • Instacart Connect for branded ecommerce, fulfillment, post-checkout, sandbox callbacks, or retailer workflows

Do not mix these surfaces casually. Wrong routing creates auth failures, wrong expectations, and rework.

2. Lock Environment, Auth, and Scope First

Before any request, confirm:

  • development or production
  • the correct base URL for that environment
  • Authorization: Bearer <API key> for Developer Platform REST
  • whether the API key has the required permission level and endpoint access

Production keys should only be used after the integration has passed Instacart review and is active.

3. Normalize Inputs for Matching, Not Human Prose

Instacart matching is heuristic. For each ingredient or line item:

  • keep name generic and searchable
  • keep brand preferences in filters.brand_filters
  • keep health preferences in filters.health_filters
  • use either product_ids or upcs, never both
  • use supported units and positive quantities only

Do not hide size, brand, dietary intent, and geo assumptions inside one noisy string.

4. Validate Geo and Retailer Context Up Front

For nearby retailer lookup, use postal_code plus country_code.

  • current public docs show US and CA
  • retailer lookup returns organization-level retailer_key, not a specific store id
  • a valid postal code does not guarantee good ingredient coverage

Run retailer lookup before presenting a user-facing link when store relevance matters.

5. Add Client-Side Idempotency

Recipe and shopping-list creation return a fresh products_link_url, and the docs recommend caching until content changes.

  • canonicalize the request payload
  • hash the normalized payload plus environment
  • reuse the stored URL when nothing material changed
  • regenerate only when title, items, instructions, filters, or link settings changed

Do not spam page-creation endpoints for equivalent content.

6. Treat Measurements and Filters as Ranking Inputs

Ordering and correctness matter:

  • for countable items, prefer each
  • if multiple measurements are provided, order them intentionally
  • keep brand and health filters separate from the product name
  • keep brand spelling and health filters exact
  • stay conservative on filter count per item for better matches

Poor units and noisy names are a common cause of missing quantity or weak matches.

7. Respect Launch and Messaging Constraints

Before moving to production:

  • complete development testing
  • pass the pre-launch and approval workflow
  • assume a new production key
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • _meta.json
  • auth-playbook.md
  • connect-boundaries.md
  • endpoint-map.md
  • mcp-integration.md
  • memory-template.md
  • request-patterns.md
  • setup.md
  • troubleshooting.md

FAQ

Что делает скилл Instacart?

Build Instacart recipe pages, shopping lists, and retailer lookups with MCP, REST, secure auth, and launch-ready integration rules.

Как установить скилл Instacart?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Instacart запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Instacart с