Token导航 LogoToken导航

Agent Skill · 运维和基础设施

supabase-cli(Supabase CLI 搜索)

supabase-cli 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

supabase-cli 是运维和基础设施类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证为 MIT,第三方扫描有未通过项,按安装量在运维和基础设施类的 2,449 个 Skill 里排第 938。

总安装 1,129周安装 48GitHub Stars 9下载 396核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:supabase-cli(Supabase CLI 搜索)
来源仓库:https://github.com/adaptationio/skrillz
仓库路径:skills/supabase-cli
安装命令:
npx skills add https://github.com/adaptationio/skrillz --skill supabase-cli
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/adaptationio/skrillz --skill supabase-cli

这个 Skill 是做什么的

运维和基础设施类 Skill 处理部署、监控、日志和云资源,多数需要较高的执行权限。

处理 GitHub 仓库、Issue 和 Pull Request 等协作信息。适用于围绕仓库状态和代码变更进行整理的需求。通过 npx 命令从指定 GitHub 仓库安装并使用该技能。建议确认权限范围和维护状态,避免触发不必要的联网或文件操作。

supabase-cli 属于运维和基础设施类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/supabase-cli

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/adaptationio/skrillz --skill supabase-cli;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

supabase-cli 怎么安装?

在终端执行 npx skills add https://github.com/adaptationio/skrillz --skill supabase-cli。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

supabase-cli 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

supabase-cli 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/adaptationio/skrillz --skill supabase-cli;npx skills add adaptationio/skrillz --skill "supabase-cli" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

supabase-cli 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

supabase-cli 用的人多吗?

公开数据是累计安装 1,129 次,近一周安装 48 次,下载 396 次,GitHub 9 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

supabase-cli 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理运维和基础设施类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

运维和基础设施类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
brainstorming

头脑风暴 · Codex、Claude

3,148,776173,131操作浏览器MIT通过
copywriting

文案写作 · Codex、Claude

1,996,72425,583需要联网MIT通过
openclaw-secure-linux-cloud

OpenClaw secure linux cloud 命令行 · Codex、Claude

1,853,08840接触敏感数据未明确未通过
xget

xget 命令行 · Codex、Claude

1,799,28040执行命令未明确未通过
requesting-code-review

代码审查请求 · Codex、Claude

1,590,144173,103权限未标注MIT通过
supabase-cli

Supabase CLI 搜索 · 本页

1,1299执行命令MIT未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Supabase CLI Skill

Complete CLI command reference for Supabase development.

Quick Reference

TaskCommand
Install CLInpm install supabase --save-dev
Loginsupabase login
Init projectsupabase init
Link to remotesupabase link --project-ref <ref>
Start local stacksupabase start
Stop local stacksupabase stop
Check statussupabase status
Create migrationsupabase migration new <name>
Push to remotesupabase db push
Pull from remotesupabase db pull
Reset local DBsupabase db reset
Generate typessupabase gen types typescript --local > types.ts

Installation

# NPM (recommended for projects)
npm install supabase --save-dev
npx supabase [command]

# Homebrew (macOS/Linux)
brew install supabase/tap/supabase

# Scoop (Windows)
scoop bucket add supabase https://github.com/supabase/scoop-bucket.git
scoop install supabase

Prerequisites: Docker (required for local development)

Project Setup

Initialize Project

supabase init

Creates:

  • supabase/config.toml - Configuration file
  • supabase/migrations/ - Migration files
  • supabase/seed.sql - Seed data

Link to Remote Project

supabase link --project-ref <project-ref>

Get project ref from: Dashboard → Project Settings → General

Local Development

Start Local Stack

supabase start

Starts:

  • PostgreSQL database
  • PostgREST API
  • GoTrue Auth
  • Realtime server
  • Storage service
  • Studio dashboard
  • Inbucket (email testing)

Output URLs:

API URL: http://localhost:54321
DB URL: postgresql://postgres:postgres@localhost:54322/postgres
Studio URL: http://localhost:54323
Inbucket URL: http://localhost:54324

Stop Local Stack

# Stop and save data
supabase stop

# Stop and delete all data
supabase stop --no-backup

Check Status

supabase status

Shows URLs, API keys, and service status.

Database Commands

Create Migration

supabase migration new create_users_table

Creates: supabase/migrations/<timestamp>_create_users_table.sql

Generate Migration from Changes

# Make changes locally, then generate migration
supabase db diff -f my_schema_changes

# Diff against specific schemas
supabase db diff -f changes --schema public,extensions

Apply Migrations

# Apply pending migrations locally
supabase migration up

# Push to remote
supabase db push

# Preview what would be pushed
supabase db push --dry-run

Pull Remote Changes

supabase db pull

Creates migration from Dashboard changes.

Reset Local Database

supabase db reset

Recreates database and applies all migrations.

List Migrations

supabase migration list

Shows local vs remote migration status.

Rollback Migrations

# Rollback last n migrations
supabase migration down --count 1

# Rollback specific number
supabase migration down --count 3

Squash Migrations

# Combine multiple migrations into one
supabase migration squash --version 20240101000000

# Squash all migrations up to version
supabase migration squash --version <target_version>

Useful for cleaning up migration history before release.

Type Generation

Generate TypeScript Types

# From local database
supabase gen types typescript --local > database.types.ts

# From linked remote
supabase gen types typescript --linked > database.types.ts

# From specific project
supabase gen types typescript --project-id "your-id" > database.types.ts

Edge Functions

Create Function

supabase functions new hello-world

Creates: supabase/functions/hello-world/index.ts

Serve Locally

# Serve all functions
supabase functions serve

# Serve specific function
supabase functions serve hello-world

# With env file and no JWT
supabase functions serve --env-file .env --no-verify-jwt

Deploy

# Deploy all functions
supabase functions deploy

# Deploy specific function
supabase functions deploy hello-world

# Deploy without JWT verification (for webhooks)
supabase functions deploy webhook-handler --no-verify-jwt

Test Function

curl -i --request POST \
  'http://localhost:54321/functions/v1/hello-world' \
  --header 'Authorization: Bearer <ANON_KEY>' \
  --header 'Content-Type: application/json' \
  --data '{"name":"Functions"}'

Secrets Management

# Set secret
supabase secrets set API_KEY=abc123

# Set multiple secrets
supabase secrets set API_KEY=abc123 DB_PASSWORD=secret

# Set from .env file
supabase secrets set --env-file .env

# List secrets
supabase secrets list

# Remove secret
supabase secrets unset API_KEY

Project Management

# List organizations
supabase orgs list

# List projects
supabase projects list

# Create project
supabase projects create <name> --org-id <id> --region <region>

# Delete project
supabase projects delete --project-ref <ref>

# Update remote config from local
supabase projects update-config

Database Inspection

# Cache hit ratio
supabase inspect db cache-hit --linked

# Unused indexes
supabase inspect db unused-indexes --local

# Table bloat
supabase inspect db bloat --linked

# Long running queries
supabase inspect db long-running-queries --linked

# Active connections
supabase inspect db role-connections --linked

Backup & Restore

Backup

# Dump roles
supabase db dump --linked -f roles.sql --role-only

# Dump schema
supabase db dump --linked -f schema.sql

# Dump data
supabase db dump --linked -f data.sql --use-copy --data-only

Restore

psql --single-transaction \
  --file roles.sql \
  --file schema.sql \
  --command 'SET session_replication_role = replica' \
  --file data.sql \
  --dbname [CONNECTION_STRING]

Common Flags

FlagDescription
--debugVerbose output
--localUse local database
--linkedUse linked remote
--project-ref <ref>Specific project
--db-url <url>Connection string
--dry-runPreview without executing
-f <file>Output to file

References

平台分布

github-copilot

27.89%
按下载量换算110

Claude Code

23.93%
按下载量换算95

mcpjam

16.42%
按下载量换算65

moltbot

12.58%
按下载量换算50

windsurf

6.92%
按下载量换算27

zencoder

3.13%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/adaptationio/skrillz --skill supabase-cli;npx skills add adaptationio/skrillz --skill "supabase-cli" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。

继续浏览同类 Skills