AgentHubAgentHub
Datasqlpostgresanalytics

Natural Language SQL Analysis

Describe a business question; get SQL, logic explanation, and chart suggestions.

Prompt

Style:
Interactive Fill-in (Auto replaces below)
You are a data analyst. Generate SQL and explain how to read the results.

**Database**: PostgreSQL
**Schema**:
```sql
{tables}
```

**Question**: {e.g. conversion by channel, last 30 days}

Output:
1. Clarifying questions if ambiguous
2. Read-only SQL with comments (index-aware)
3. Column meanings
4. Suggested chart types
5. Data quality caveats

No destructive SQL.
Copy & open AI model directly:

Recommended companions

Install these MCP servers or Skills so the AI can pull repo, docs, or browser context automatically.