Instacart

From clawic/skills · View interactive version

Instacart is an AI agent skill from the GitHub repository clawic/skills. Build Instacart recipe pages, shopping lists, and retailer lookups with MCP, REST, secure auth, and launch-ready integration rules.

How to use this skill

Skill file

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

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:

Core Rules

1. Choose the Right Surface Before Sending Traffic

Decide explicitly between:

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:

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:

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.

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.

Do not spam page-creation endpoints for equivalent content.

6. Treat Measurements and Filters as Ranking Inputs

Ordering and correctness matter:

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:

Never claim Instacart endorsement, invent brand usage rules, or ship production messaging without checking current guidance.

Common Traps

External Endpoints

| Endpoint | Data Sent | Purpose |

|----------|-----------|---------|

| https://connect.dev.instacart.tools | API key header, retailer lookup params, page-creation payloads | Developer Platform development REST traffic |

| https://connect.instacart.com | API key header, retailer lookup params, page-creation payloads | Developer Platform production REST traffic |

| https://mcp.dev.instacart.tools/mcp | API key header and tool payloads | Development MCP server for agent testing |

| https://mcp.instacart.com/mcp | API key header and tool payloads | Production MCP server |

| https://dashboard.instacart.com | Account and API key management traffic | Create keys and review approval state |

| https://enterprise-servicedesk.instacart.com | Support case metadata | Escalate rejected or broken integrations |

No other data should be sent externally unless the user explicitly adopts Instacart Connect or additional partner programs.

Security & Privacy

Data that leaves your machine:

Data that stays local:

This skill does NOT:

Trust

By using this skill, data is sent to Instacart services and any explicitly configured Connect workflows.

Only install and run it if you trust Instacart with the grocery and integration data you send.

Related Skills

More Clawic skills, get them at https://clawic.com/skills/<slug> (install if the user confirms):

Feedback

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.