Skip to content
Back to skills

Supabase

ASecurity

Navigate Supabase database tables, relationships, and query patterns. Schema reference for Empathy Ledger.

  • 509 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 3, 2026
ai-agentssqldatabase

Works with

  • cli

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 3, 2026

npx -y skills add aiskillstore/marketplace --skill supabase --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Supabase?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Supabase
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aiskillstore-supabase-marketplace/badge)](https://www.skillsdirectory.com/skills/aiskillstore-supabase-marketplace)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: supabase
description: Navigate Supabase database tables, relationships, and query patterns. Schema reference for Empathy Ledger.
---

# Supabase Database

Navigate and query the Empathy Ledger Supabase database.

## When to Use
- Understanding table relationships
- Writing database queries
- Finding the right data source
- Checking schema structure

## Quick Relationship Map
```
tenants
   └── profiles → storytellers → stories → transcripts
                                    ↓
                        transcript_analysis_results
                                    ↓
                        narrative_themes + extracted_quotes
```

## Core Tables

### Storytelling
| Table | Purpose |
|-------|---------|
| `storytellers` | Storyteller personas (canonical) |
| `stories` | Core content |
| `transcripts` | Audio/text transcriptions |

### Analysis
| Table | Purpose |
|-------|---------|
| `transcript_analysis_results` | Versioned AI analysis |
| `narrative_themes` | AI-extracted themes |
| `knowledge_chunks` | RAG embeddings (22k+) |

### Multi-Tenant
| Table | Purpose |
|-------|---------|
| `tenants` | Top-level isolation |
| `profiles` | User accounts |
| `organisations` | Community groups |

## Common Queries
```sql
-- Storyteller with story count
SELECT st.*, COUNT(s.id) as story_count
FROM storytellers st
LEFT JOIN stories s ON s.storyteller_id = st.id
GROUP BY st.id;

-- Stories by theme
SELECT * FROM stories
WHERE 'healing' = ANY(cultural_themes);

-- Theme frequency
SELECT unnest(cultural_themes) as theme, COUNT(*)
FROM stories WHERE status = 'published'
GROUP BY theme ORDER BY count DESC;
```

## Reference Files
| Topic | File |
|-------|------|
| Full table list | `refs/tables.md` |
| Relationship diagram | `refs/relationship-diagram.md` |

## Related Skills
- `supabase-connection` - Database clients
- `supabase-deployment` - Migrations
- `database-navigator` - Schema exploration

Files in this skill

  • SKILL.md1.9 KB
  • refs/relationship-diagram.md10.7 KB
  • refs/tables.md2 KB
  • skill-report.json63.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.