Coffeeshop Customer Lookup

Resolve customer identity and account basics by email or customer ID. MCP-first, CLI fallback.

thangchung Updated

File contents

Coffee Shop Customer Lookup Skill

Use this skill when the user asks account-related questions or provides customer identifiers.

Data Access — lookup_customer

  1. tools/call customer_lookup {"email":"<email>"} or {"customer_id":"<id>"}
  2. Coffeeshop-Cli models query Customer --email <email> --json (or --customer-id <id>, or models browse Customer --json)

Normalize to: {"customer_id":"...","name":"...","email":"...","tier":"..."}

Workflow

  1. Extract email or customer ID from context.
  2. Resolve lookup_customer. Prefer specific lookup over broad browse.
  3. Return normalized summary.

Safety Notes

  • Never infer identity from a weak match.
  • Never expose unrelated customer records.
  • If lookup fails, ask for exact email/customer ID.

thangchung/agent-engineering-experiment/tree/main/coffeeshop-cli/skills/coffeeshop-customer-lookup commit 45565ab0cd

Frequently asked questions

npx skillmds@latest add thangchung/coffeeshop-customer-lookup