Database

Data & Storage

Installed

The Database skill provides database management including migrations (Prisma/TypeORM/Knex), SQL queries, schema inspection, and backups.

Available Tools

  • db_queryExecute SQL queries
  • db_migrateRun migrations
  • db_schemaInspect schema
  • db_backupCreate backups

Configuration

SettingDescriptionRequired
connection_stringDatabase connection stringRequired
dialectDatabase dialect (postgres, mysql, etc)Required

Examples

Run migration

> Run the pending database migrations

Query data

> Show me all users from the database

Installation

CLICopy
kai skills install database

After installation, configure the skill using the kai config command or edit your .kai/config.yaml file.

All SkillsSkill Commands