---
name: db-lookup
description: Query the Sellable production database read-only for client data, campaign stats, lead counts, workspace info, sender status, inbox threads, and operational lookups.
visibility: public
allowed-tools:
  - Read
  - Bash
  - Glob
  - Grep
---

# Sellable Admin DB Lookup

Use the canonical DB lookup skill from `{{adminRoot}}/.claude/skills/db-lookup/SKILL.md`.

Rules:
- Runtime home is `{{adminHome}}`.
- Read `database.readOnlyUrl` from `{{adminHome}}/settings.json`.
- Never print or expose the database URL.
- SELECT only. Always limit or aggregate before large reads.
- Prefer Python/psycopg2 when psql SSL is unreliable.
