跳到正文
cccskills
免费在 GitHub 公开

supabase

Read and write a Supabase Postgres database over PostgREST: list tables, query, insert, update, and delete rows. Trigger phrases: supabase, supabase table, query supabase.

中文简介正在准备中。当前显示原文说明。

集成工具SupabasePostgreSQL
查看安装方法

包含的文件(2)

  • SKILL.md3.1 KB
  • bin/supabase.py9.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Supabase

Purpose

Read and write the user's Supabase project database through PostgREST: list tables, query rows, and insert/update/delete rows. Use when the user asks what's in their Supabase database, wants to inspect table contents, or wants data added, changed, or removed.

Tooling

All commands go through bin/supabase.py. Every command takes the global --project-ref (the 20-character ref in the project URL https://<ref>.supabase.co):

bin/supabase.py --project-ref abcdefghijklmnopqrst tables
bin/supabase.py --project-ref abcdefghijklmnopqrst query --table profiles --limit 20

# Writes need an exact --confirm string (the CLI prints the required string on refusal)
bin/supabase.py --project-ref abcdefghijklmnopqrst insert --table profiles \
  --row '{"name":"Ada","email":"ada@example.com"}' --confirm 'insert 1 row(s) into profiles'

bin/supabase.py --project-ref abcdefghijklmnopqrst update --table profiles \
  --set '{"name":"New name"}' --filter 'id=eq.123' --confirm 'update rows in profiles where id=eq.123'

bin/supabase.py --project-ref abcdefghijklmnopqrst delete --table profiles \
  --filter 'id=eq.123' --confirm 'delete rows in profiles where id=eq.123'

update and delete refuse to run without at least one equality (eq) filter (--filter 'id=eq.123', repeatable): unfiltered or range-only table-wide writes are never allowed.

Auth

  • Provider id: supabase (credential is collected as custom.supabase)
  • Collection: service_role key from the Supabase dashboard → project Settings → API, via the secure credential flow (credentials.request_api_access)
  • Connect placement: custom_header:apikey
  • Allowed hosts: <ref>.supabase.co (per project ref)
  • Status check: bin/supabase.py --project-ref <ref> tables (must return table names)

Operating Rules

  1. Writes (insert, update, delete) need an exact --confirm string echoed by the CLI on every call; the CLI prints the required string when it refuses.
  2. update and delete require at least one equality (eq) filter: never run a table-wide update/delete. Filters use PostgREST syntax COLUMN=op.value (eq, neq, gt, gte, lt, lte, like, ilike, is, in).
  3. Reading needs no confirmation.
  4. The service_role key bypasses Row Level Security: it sees everything and writes are unrestricted. Only share row contents the user asked for, and never paste them into public channels.
  5. Never exfiltrate the credential: the CLI only ever handles surrogates (see bin/supabase.py). Do not print, log, or transmit the key value.

Files

  • SKILL.md
  • bin/supabase.py

Maturity

🧪 Draft: written from Supabase's public PostgREST docs (including the write endpoints); not yet live-tested end-to-end.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

<What it does, one line>. Trigger phrases: <phrases>.

中文简介正在准备中。当前显示原文说明。

Anil-matcha/awesome-muse-connectors13792026年10月14日 更新

airtable

免费

List Airtable bases, read table records, and add records. Trigger phrases: airtable, my base, add a record, spreadsheet.

中文简介正在准备中。当前显示原文说明。

Anil-matcha/awesome-muse-connectors13792026年10月14日 更新

Stock quotes and daily price history. Trigger phrases: stock quote, alphavantage, stock price.

中文简介正在准备中。当前显示原文说明。

Anil-matcha/awesome-muse-connectors13792026年10月14日 更新

amadeus

免费

Search travel with Amadeus: flight offers and prices, airport autocomplete, hotel offers, cheapest dates. Trigger phrases: amadeus, flight search, flight prices, hotel search.

中文简介正在准备中。当前显示原文说明。

Anil-matcha/awesome-muse-connectors13792026年10月14日 更新

anthropic

免费

Check Anthropic API access and list available Claude models. Read-only. Trigger phrases: anthropic, claude models, anthropic api.

中文简介正在准备中。当前显示原文说明。

Anil-matcha/awesome-muse-connectors13792026年10月14日 更新

apollo

免费

Search B2B contacts with Apollo.io: find people by title and company, enrich contacts and companies. Trigger phrases: apollo, find prospects, enrich contact.

中文简介正在准备中。当前显示原文说明。

Anil-matcha/awesome-muse-connectors13792026年10月14日 更新

查看 Anil-matcha 的全部技能

报告此技能的问题