# Coffeeshop Customer Lookup

> Resolve customer identity and account basics by email, phone, name, or customer ID through ToolSearch.Gateway.

- Skill: `thangchung/coffeeshop-customer-lookup-2` (Agent Skill)
- Install (CLI): `npx skillmds@latest add thangchung/coffeeshop-customer-lookup-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/thangchung/coffeeshop-customer-lookup-2/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- License: MIT
- Author: thangchung (https://skillmd.com/u/thangchung)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/thangchung/coffeeshop-customer-lookup-2

---


# Coffee Shop Customer Lookup Skill

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

## Data Access — `lookup_customer`

Use ToolSearch.Gateway only. Do not call MCP protocol tools directly and do not use CLI fallback.

1. `search_tools("customer lookup", limit: 5)`
2. Pick the discovered `customer_lookup` tool and schema.
3. `call_tool("customer_lookup", {"query":"<email|phone|name|customer_id>"})`

`call_tool` returns MCP content text containing JSON. Parse that JSON.

Normalize to: `{"id":"...","name":"...","email":"...","phone":"..."}`

## 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.

