Skip to content
Skillv1.0.0

drizzle-studio

Explore and manage databases with Drizzle Studio. Use when a user asks to browse database contents visually, inspect tables and data, run ad-hoc queries, manage database records through a GUI, debug d

by terminalskills(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from terminalskills/skills (skills/drizzle-studio/SKILL.md). Install upstream with npx skills add terminalskills/skills --skill drizzle-studio. Copyright stays with the author (Apache-2.0).

Drizzle Studio

Overview

Drizzle Studio is a visual database browser and admin tool that runs in your browser. Unlike heavyweight tools like pgAdmin or DBeaver, it starts in one command and works with any Drizzle ORM project. Browse tables, filter data, edit records inline, run SQL queries, and inspect relationships — all through a clean web interface. It supports PostgreSQL, MySQL, and SQLite.

Instructions

Step 1: Setup with Drizzle ORM

# If you already have a Drizzle ORM project:
npx drizzle-kit studio

# Opens http://localhost:4983
# Reads your drizzle.config.ts for database connection
// drizzle.config.ts — Configuration that Studio reads
import { defineConfig } from 'drizzle-kit'

export default defineConfig({
  schema: './src/db/schema.ts',
  driver: 'pg',
  dbCredentials: {
    connectionString: process.env.DATABASE_URL!,
  },
})

Step 2: Standalone Usage (Without Drizzle ORM)

# Connect to any PostgreSQL database
npx drizzle-kit studio --host 0.0.0.0 --port 4983

# With explicit connection
DATABASE_URL=postgresql://user:pass@localhost:5432/mydb npx drizzle-kit studio

Step 3: Features

Data browsing:

  • View all tables and their schemas
  • Browse rows with pagination
  • Filter by column values
  • Sort by any column
  • View relationships between tables

Inline editing:

  • Click any cell to edit its value
  • Add new rows directly in the UI
  • Delete rows with confirmation
  • Changes are applied to the database immediately

SQL runner:

  • Execute arbitrary SQL queries
  • View results in a table format
  • Export results

Examples

Example 1: Debug production data issues

User prompt: "I need to quickly inspect the users table and find all accounts created in the last 24 hours that haven't verified their email."

The agent will:

  1. Start Drizzle Studio connected to the production database (read-only credentials).
  2. Navigate to the users table.
  3. Apply filters: created_at > yesterday AND email_verified = false.
  4. Review the results and export if needed.

Guidelines

  • Use read-only database credentials when browsing production data to prevent accidental modifications.
  • Drizzle Studio is designed for development and debugging — for production admin panels, build a proper admin UI with access controls.
  • It reads your drizzle.config.ts automatically — ensure the config points to the correct database for the environment you want to inspect.

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/terminalskills-skills-drizzle-studio/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

terminalskills-skills-drizzle-studio.ocm.jsonjson
{
  "ocm": "1",
  "id": "terminalskills-skills-drizzle-studio",
  "kind": "skill",
  "name": "drizzle-studio",
  "description": "Explore and manage databases with Drizzle Studio. Use when a user asks to browse database contents visually, inspect tables and data, run ad-hoc queries, manage database records through a GUI, debug database issues, or use a lightweight alternative to pgAdmin or DBeaver. Covers setup with Drizzle ORM, standalone usage, data browsing, filtering, and inline editing.",
  "publisher": "terminalskills",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "coding"
    ],
    "tags": [
      "skill-md",
      "drizzle",
      "database",
      "gui",
      "admin",
      "studio",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Explore and manage databases with Drizzle Studio. Use when a user asks to browse database contents visually, inspect tables and data, run ad-hoc queries, manage database records through a GUI, debug database issues, or use a lightweight alternative to pgAdmin or DBeaver. Covers setup with Drizzle ORM, standalone usage, data browsing, filtering, and inline editing."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/terminalskills/skills",
      "path": "skills/drizzle-studio/SKILL.md",
      "ref": "HEAD",
      "url": "https://github.com/terminalskills/skills/blob/HEAD/skills/drizzle-studio/SKILL.md",
      "key": "terminalskills/skills/skills/drizzle-studio/SKILL.md"
    },
    "compatibility": "Node.js 18+ (PostgreSQL, MySQL, SQLite)",
    "license": "Apache-2.0"
  },
  "instructions": "# Drizzle Studio\n\n## Overview\n\nDrizzle Studio is a visual database browser and admin tool that runs in your browser. Unlike heavyweight tools like pgAdmin or DBeaver, it starts in one command and works with any Drizzle ORM project. Browse tables, filter data, edit records inline, run SQL queries, and inspect relationships — all through a clean web interface. It supports PostgreSQL, MySQL, and SQLite.\n\n## Instructions\n\n### Step 1: Setup with Drizzle ORM\n\n```bash\n# If you already have a Drizzle ORM project:\nnpx drizzle-kit studio\n\n# Opens http://localhost:4983\n# Reads your drizzle.config.ts for ",
  "cost": {
    "context_tokens": 617
  }
}

Fetch it by URL: GET /api/v1/registry/terminalskills-skills-drizzle-studio/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.

drizzle-studio - Skill - OpenSmartRoute