首页龙虾技能列表 › Volcengine Supabase — Volcengine工具

🧩 Volcengine Supabase — Volcengine工具

v1.0.0

[AI辅助] Manage Volcengine Supabase workspaces, branches, SQL queries, migrations, Edge Functions, Storage, and TypeScript type generation via a local CLI. Run uv run...

0· 236·0 当前·0 累计
by @techstylex (TechStylex)·MIT-0
下载技能包 项目主页
License
MIT-0
最后更新
2026/4/12
安全扫描
VirusTotal
可疑
查看报告
OpenClaw
可疑
medium confidence
The skill's code and runtime instructions generally match its stated purpose (manage Volcengine Supabase resources), but metadata omissions and a third‑party git dependency create mismatches that warrant caution before installing.
评估建议
This package appears to implement what it says (a Volcengine Supabase CLI), but the registry metadata omits the required Volcengine credentials and the requirements install a Python SDK directly from a third‑party GitHub repo. Before installing: (1) verify you trust the GitHub repo referenced in requirements.txt or pin/replace it with an official SDK; (2) do not provide production VOLCENGINE_ACCESS_KEY/SECRET_KEY to untrusted code—test in a safe/non-production account or use limited-permission c...
详细分析 ▾
用途与能力
Name/description align with the code: the bundle implements a CLI (scripts/call_volcengine_supabase.py) to list/manage workspaces, branches, DB, Edge Functions, and Storage on Volcengine Supabase. However, registry metadata claims no required environment variables while SKILL.md and the code clearly require VOLCENGINE_ACCESS_KEY / VOLCENGINE_SECRET_KEY (and optionally other SUPABASE_* env vars). That metadata mismatch is misleading.
指令范围
SKILL.md instructs running the included Python CLI via 'uv run' or python. The runtime instructions and examples match the actual code paths. The CLI accepts file arguments (e.g. --query-file, --source-file) and will read those files locally, and it will send content (SQL, source files, import maps) to remote Volcengine endpoints — this is expected for the stated capability. Note: the code will also attempt to obtain credentials from a vefaas IAM helper if present, which expands how credentials can be acquired at runtime.
安装机制
No install script is included (instruction-only install), but requirements.txt declares dependencies including a git+https pip install of 'git+https://github.com/sjcsjcsjc/volcengine-python-sdk.git@<commit>'. Installing directly from a third‑party GitHub repo (not an official release host) is a moderate risk and should be reviewed. No arbitrary binary downloads or extract steps were found.
凭证需求
The code legitimately needs Volcengine credentials (VOLCENGINE_ACCESS_KEY, VOLCENGINE_SECRET_KEY) to call APIs and may use VOLCENGINE_SESSION_TOKEN or vefaas IAM to obtain temporary creds. The registry metadata omitted these required env vars and listed no primary credential — that mismatch is problematic. No unrelated credentials are requested, but the automatic vefaas IAM credential fetch behavior should be considered before running in shared/sensitive environments.
持久化与权限
The skill does not request 'always: true' and does not modify other skills or system-wide agent settings. It runs as a CLI and uses included code; autonomous invocation (default) is allowed but not combined with other privileged flags.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

🖥️ OSmacOS · Linux

版本

latestv1.0.02026/3/12

Initial release of volcengine-supabase. - Manage Volcengine Supabase workspaces, branches, SQL queries, migrations, Edge Functions, and Storage via local CLI commands. - Provides real-time results by invoking scripts/call_volcengine_supabase.py. - Supports common operations such as workspace listing, SQL execution, migration management, Edge Function deployment, and storage bucket creation. - Includes detailed instructions, usage examples, and best practices for safe and effective management. - Offers references and guides for application integration, schema design, RLS, and Edge Function development.

● 可疑

安装命令 点击复制

官方npx clawhub@latest install volcengine-supabase
镜像加速npx clawhub@latest install volcengine-supabase --registry https://cn.clawhub-mirror.com

技能文档

本 Skill 用于在对话中充当火山引擎 Supabase 的智能运维与开发代理

它会:

  • 识别用户的 Supabase 自然语言需求
  • 直接调用 scripts/call_volcengine_supabase.py 获取实时结果
  • 基于返回结果做解释、排障和下一步建议

运行方式

# 方式 1:使用 uv(推荐)
uv run ./scripts/call_volcengine_supabase.py  [options]

# 方式 2:使用 python(需预装依赖) python ./scripts/call_volcengine_supabase.py [options]

前置条件

  • 必需环境变量:VOLCENGINE_ACCESS_KEYVOLCENGINE_SECRET_KEY(如果在沙箱环境/vefaas IAM 环境下运行,将自动获取临时凭证,可不配置环境变量)
  • 可选环境变量:VOLCENGINE_REGIONDEFAULT_WORKSPACE_IDREAD_ONLYSUPABASE_WORKSPACE_SLUGSUPABASE_ENDPOINT_SCHEME
  • 若未配置依赖,可先执行:uv pip install -r requirements.txtpip install -r requirements.txt

标准使用流程

  • 先确认目标资源:workspace_idbranch_id
  • 优先执行只读查询,确认现状
  • 需要变更时,再执行写操作
  • 变更后再次查询,确认结果已生效

常用命令示例

# 查看可访问的 workspace
uv run ./scripts/call_volcengine_supabase.py list-workspaces

# 查看 workspace 详情 uv run ./scripts/call_volcengine_supabase.py describe-workspace --workspace-id ws-xxxx

# 获取 workspace URL uv run ./scripts/call_volcengine_supabase.py get-workspace-url --workspace-id ws-xxxx

# 查看分支 uv run ./scripts/call_volcengine_supabase.py list-branches --workspace-id ws-xxxx

# 执行 SQL uv run ./scripts/call_volcengine_supabase.py execute-sql --workspace-id ws-xxxx --query "SELECT * FROM pg_tables LIMIT 5"

# 从文件执行 migration uv run ./scripts/call_volcengine_supabase.py apply-migration --workspace-id ws-xxxx --name create_todos_table --query-file ./migration.sql

# 部署 Edge Function uv run ./scripts/call_volcengine_supabase.py deploy-edge-function --workspace-id ws-xxxx --function-name hello --source-file ./index.ts

# 创建 Storage bucket uv run ./scripts/call_volcengine_supabase.py create-storage-bucket --workspace-id ws-xxxx --bucket-name uploads --public

能力范围

工作区与分支

  • 列表-workspaces
  • describe-workspace
  • 创建-workspace
  • 暂停-workspace
  • 恢复-workspace
  • 获取-workspace-url
  • 获取-keys
  • 列表-branches
  • 创建-branch
  • 删除-branch
  • 重置-branch

数据库

  • execute-sql
  • 列表-tables
  • 列表-migrations
  • 列表-extensions
  • apply-migration
  • generate-typescript-types

Edge Functions / Storage

  • 列表-edge-functions
  • 获取-edge-函数
  • deploy-edge-函数
  • 删除-edge-函数
  • 列表-storage-buckets
  • 创建-storage-bucket
  • 删除-storage-bucket
  • 获取-storage-配置

应用开发参考

在使用本 Skill 管理 Supabase 资源的同时,以下文档提供应用开发场景的指导:

需求文档
将 Supabase 接入 TS/Python 应用(SDK 初始化 + CRUD)references/app-integration-guide.md
数据库表结构设计与迁移规范references/schema-guide.md
行级安全策略(RLS)配置references/rls-guide.md
Edge Function 编写与部署references/edge-function-dev-guide.md
💡 典型工作流:先用 CLI 创建 workspace / 建表 / 配置 RLS,再参考应用开发文档在业务代码中集成 Supabase SDK。

注意事项

  • 默认遵循“先查后改”
  • 获取-keys 默认脱敏,只有明确需要时才加 --reveal
  • 重置-branch 会丢失未追踪变更,且后端当前会忽略 migration_version
  • READ_ONLY=真 时,所有写操作会被拒绝

参考资料

  • 工具说明:references/tool-reference.md
  • 操作流程:references/workflows.md
  • SQL 示例:references/sql-playbook.md
  • 应用集成:references/app-integration-guide.md
  • Schema 设计:references/schema-guide.md
  • RLS 策略:references/rls-guide.md
  • Edge 函数 开发:references/edge-函数-dev-guide.md
数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务