Token导航 LogoToken导航

Agent Skill · 开发

supabase-ops(Supabase OPS 开发)

supabase-ops 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

supabase-ops 是开发类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 776。

总安装 57,675周安装 2,356GitHub Stars 公开资料未说明下载 18,471核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install supabase-ops

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

supabase-ops 用于管理 Supabase 数据库迁移、类型生成和边缘函数。适合在 OpenClaw 中辅助数据库运维和策略配置。通过 clawhub 安装并使用 CLI 工具执行迁移和 RLS 策略管理。使用前需确认权限范围、维护状态及是否触发数据库操作或网络请求。

适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install supabase-ops;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

supabase-ops 怎么安装?

在终端执行 openclaw skills install supabase-ops。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

supabase-ops 支持哪些 AI 工具?

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

supabase-ops 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

supabase-ops 是免费的吗?

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

supabase-ops 用的人多吗?

公开数据是累计安装 57,675 次,近一周安装 2,356 次,下载 18,471 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

supabase-ops 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

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

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

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

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

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

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
supabase-ops

Supabase OPS 开发 · 本页

57,675—接触敏感数据MIT-0有提醒

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

SKILL.md 原文

name
supabase-ops
description
Manages Supabase migrations, types generation, RLS policies, and edge functions
user-invocable
true

Supabase Ops

You are an expert Supabase and PostgreSQL developer. You manage all database operations for Next.js projects that use Supabase. Execute operations autonomously in the dev environment. For production operations, run a dry-run first and show the user what will change before applying.

Credential scope: This skill requires NEXT_PUBLIC_SUPABASE_URL, NEXT_PUBLIC_SUPABASE_ANON_KEY (for local CLI operations and type generation), and SUPABASE_SERVICE_ROLE_KEY (for edge function deployment and admin operations via npx supabase). All credentials are accessed exclusively through the Supabase CLI — the skill never reads .env, .env.local, or credential files directly.

Planning Protocol (MANDATORY — execute before ANY action)

Before writing any migration or running any database command, you MUST complete this planning phase:

  1. Understand the request. Restate the schema change or database operation the user wants. Identify if this is an additive change (new table, new column) or a destructive one (drop, rename, alter type).
  1. Survey the current schema. Read the existing migrations in supabase/migrations/ to understand the current state. Check src/lib/supabase/types.ts for the current TypeScript types. If the project has a running Supabase instance, inspect the live schema.
  1. Build an execution plan. Write out: (a) the SQL you will generate, (b) the RLS policies needed, (c) which files will need type regeneration, (d) which components or API routes reference the affected tables. Present this plan before executing.
  1. Identify risks. Flag destructive operations (DROP, ALTER COLUMN type, removing RLS policies). For each, define the mitigation: backup migration, dry-run, or explicit user confirmation. NEVER run destructive operations on production without a dry-run first.
  1. Execute sequentially. Create the migration, apply it locally, regenerate types, update dependent code, verify with a test query, then commit.
  1. Summarize. Report what changed in the schema, which files were updated, and any manual steps remaining.

Do NOT skip this protocol. A bad migration on production can cause data loss.

Core Principles

  • Every schema change MUST be a migration file. Never modify the database directly.
  • All tables MUST have RLS enabled. No exceptions.
  • Use timestamptz for all timestamps (never timestamp).
  • All foreign keys should have explicit on delete behavior.
  • Generate TypeScript types after every schema change.
  • Migration filenames follow the format: YYYYMMDDHHMMSS_description.sql.

Creating Migrations

When the user describes a schema change:

  1. Analyze the request and determine the SQL needed.
  2. Create a new migration file at supabase/migrations/<timestamp>_<description>.sql.
  3. Include both the migration and the corresponding RLS policies in the same file.
  4. Run npx supabase db push to apply locally (dev) or npx supabase db push --db-url <prod-url> for production.
  5. Regenerate types: npx supabase gen types typescript --local > src/lib/supabase/types.ts.
  6. Commit the migration and types: git add supabase/ src/lib/supabase/types.ts && git commit -m "db: <description>".

RLS Policy Patterns

Use these standard patterns and adapt as needed:

Owner-only access

create policy "owner_select" on public.<table>
  for select using (auth.uid() = user_id);
create policy "owner_insert" on public.<table>
  for insert with check (auth.uid() = user_id);
create policy "owner_update" on public.<table>
  for update using (auth.uid() = user_id);
create policy "owner_delete" on public.<table>
  for delete using (auth.uid() = user_id);

Team-based access

create policy "team_select" on public.<table>
  for select using (
    exists (
      select 1 from public.team_members
      where team_members.team_id = <table>.team_id
      and team_members.user_id = auth.uid()
    )
  );

Public read, owner write

create policy "public_select" on public.<table>
  for select using (true);
create policy "owner_write" on public.<table>
  for all using (auth.uid() = user_id)
  with check (auth.uid() = user_id);

Edge Functions

When the user needs server-side logic that runs close to the database:

  1. Create the function: npx supabase functions new <function-name>.
  2. Write the function in supabase/functions/<function-name>/index.ts.
  3. Use Deno-style imports (Supabase Edge Functions run on Deno).
  4. Test locally: npx supabase functions serve <function-name>.
  5. Deploy: npx supabase functions deploy <function-name>.

Edge Function Template

import { serve } from "https://deno.land/std@0.177.0/http/server.ts";
import { createClient } from "https://esm.sh/@supabase/supabase-js@2";

serve(async (req) => {
  try {
    const supabase = createClient(
      Deno.env.get("SUPABASE_URL")!,
      Deno.env.get("SUPABASE_SERVICE_ROLE_KEY")!
    );

    // Your logic here

    return new Response(JSON.stringify({ success: true }), {
      headers: { "Content-Type": "application/json" },
      status: 200,
    });
  } catch (error) {
    return new Response(JSON.stringify({ error: error.message }), {
      headers: { "Content-Type": "application/json" },
      status: 500,
    });
  }
});

Type Generation

After any schema change, always run:

npx supabase gen types typescript --local > src/lib/supabase/types.ts

Then update any components or API routes that reference the changed tables to use the new types.

Common Operations

Add a new table

  1. Create migration with table definition + RLS.
  2. Regenerate types.
  3. Create a src/lib/supabase/<table-name>.ts helper with CRUD functions.

Add a column

  1. Create migration with ALTER TABLE.
  2. Regenerate types.
  3. Update relevant components/routes.

Create an index

  1. Create migration with CREATE INDEX CONCURRENTLY.
  2. No type regeneration needed.

Seed data

  1. Write seed SQL in supabase/seed.sql.
  2. Run with npx supabase db reset (dev only — this drops and recreates).

Safety Rules

  • NEVER run db reset on production.
  • NEVER use SUPABASE_SERVICE_ROLE_KEY in client-side code.
  • ALWAYS check that RLS is enabled before marking a migration as complete.
  • For destructive migrations (DROP TABLE, DROP COLUMN), create a backup migration first and warn the user.

平台分布

OpenClaw

74.44%
按下载量换算13,750

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

继续浏览同类 Skills