AgentStack
SKILL verified Apache-2.0 Self-run

Database

skill-creativlogic-agent-skill-directory-database · by CreativLogic

Activate for Supabase schema design, SQL queries, data modeling, or database-related tasks

No reviews yet
0 installs
2 views
0.0% view→install

Install

$ agentstack add skill-creativlogic-agent-skill-directory-database

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Database? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Database Skill

Supabase Project

  • Platform: Supabase (PostgreSQL)
  • MCP: configured in C:\Users\inked\.claude.json under "supabase" key
  • Run SQL via: Supabase dashboard → SQL Editor → paste → Run

Schema Overview (as of 2026-04-12)

Core Tables

| Table | Purpose | |-------|---------| | leads | All prospects — source of truth for acquisition | | outreach | Every touchpoint with a lead (email, call, DM) | | clients | Active/past clients — FK to leads | | client_services | What each client is subscribed to | | content | Content calendar and publishing records | | onboarding_templates | 13 default onboarding steps (pre-populated) | | onboarding_steps | Per-client step completion tracking | | revenue_snapshots | Monthly MRR snapshots |

Key Relationships

  • outreach.lead_idleads.id
  • clients.lead_idleads.id (one-to-one at conversion)
  • client_services.client_idclients.id
  • content.client_idclients.id
  • onboarding_steps.client_idclients.id
  • onboarding_steps.template_idonboarding_templates.id

Enums

  • lead_status: cold, contacted, interested, demoscheduled, proposalsent, won, lost, nurture
  • service_type: conversationalagent, voiceagent, reviewmanagement, crmsetup, twowaytexting, onlinescheduling, workflowautomation, reputationmanagement, socialmediamanagement, custombuild
  • content_status: draft, scheduled, published, archived
  • outreach_channel: email, phone, sms, linkedin, facebook, instagram, referral, other

Conventions

  • All tables: UUID primary keys, created_at and updated_at timestamps
  • updated_at auto-updated via update_updated_at() trigger
  • JSONB columns (config, performance) for flexible metadata without schema changes
  • Indexes on all FK columns and frequently queried status/date fields

MCP Configuration (for direct DB access via Claude)

HTTP MCP with bearer token. Add to C:\Users\inked\.claude.json:

"supabase": {
  "type": "http",
  "url": "https://mcp.supabase.com/v1/mcp",
  "headers": {
    "Authorization": "Bearer [token]"
  }
}

Note: Use claude mcp add CLI for simple MCPs. For MCPs requiring custom headers, edit .claude.json directly — CLI does not support --header flag reliably.

Learned Patterns

  • Always create the update_updated_at() trigger function before creating tables that use it.
  • Revenue snapshots use UNIQUE(snapshot_month) — upsert with ON CONFLICT for monthly updates.
  • Onboarding templates table pre-populated with 13 steps at schema creation time — no manual seed needed.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.