TanzimBinSaleh

Fulfillment Ops Agent — Data skill for Claude Code

Data community

Claude-powered ops agent and MCP server for grocery pickup: answers manager questions over PostgreSQL and drafts policy-checked substitutions with human approval.

How to install Fulfillment Ops Agent

This entry records only its repository, not the path inside it, so there is no exact command to give. Open TanzimBinSaleh/fulfillment-ops-agent and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Fulfillment Ops Agent does

Claude-powered ops agent and MCP server for grocery pickup: answers manager questions over PostgreSQL and drafts policy-checked substitutions with human approval. Blind eval: 80% text-to-SQL execution accuracy, 100% correct substitution decisions.

Alternatives in Data

  • Skill Production Pipeline — Claude-skills — Effective: 2026-03-07 Applies to ALL new skills, improvements, and deployments 5.3k ★
  • 12 Services Layer — Prompt 12: Wire Up Services Layer (Analytics, Policy, Settings, Sessions) 2.3k ★
  • FACT — FACT – Fast Augmented Context Tools: FACT is a lean retrieval pattern that skips vector search 161 ★

README

Fulfillment Ops Agent

A Claude-powered operations assistant for a grocery store's online pickup department, built on the Claude API with a hand-written tool-use loop, an MCP server, least-privilege database access, human approval for every write, and an eval harness that measures accuracy, policy compliance, cost and latency.

Store managers ask questions in plain English ("which orders due in the next two hours still have out-of-stock items?") and Claude answers by writing and running SQL against PostgreSQL. When an item is out of stock, Claude finds candidates, applies the store's written substitution policy (dietary safety, price cap, size range, stock), and drafts the text message to the customer. A manager approves each proposal before anything is saved.

The idea comes from running a store's curbside pickup department: substitutions are the slowest, most error-prone part of the day, and one wrong substitution (dairy milk for a vegan customer) costs a customer's trust.

**See [DEMO.md](DEMO.md)** for a recorded session: Claude working through a manager's afternoon via the MCP server, including 11 policy-checked substitution proposals and a guardrail refusal.

All data is synthetic and generated from a fixed seed: invented brands, invented customers, and phone numbers in the reserved 555-01xx range. No real store or customer data is used.

What it shows

Claude capability Where
Tool use with a manual agent loop (parallel tool calls, is_error feedback, turn budget) `agent.py`
Structured output: every run ends with a typed final_answer tool call (answer + the SQL behind it) `tools.py`
Prompt caching: breakpoints on tools, system prompt and a moving breakpoint on the newest message `agent.py` build_request
Model Context Protocol server (tools, resources, a prompt) usable from Claude Desktop or Claude Code [`mcp_se