Install
openclaw skills install supabase-winQuery Supabase cloud database via REST API using project ID and anon key. Use when the user needs to query their Supabase database, inspect table schemas, or retrieve data. Only supports read operations for security.
openclaw skills install supabase-winThis skill allows AI agents to query Supabase cloud database via REST API using only project ID and anon key.
.env file (not in version control)references/.env.example to references/.envreferences/.env:
SUPABASE_PROJECT_ID: Your Supabase project ID (from project URL)SUPABASE_ANON_KEY: Your anon/public API key (from Settings → API)Run the query script from the skill directory:
python scripts/query.py "users" --select "*" --limit 10
Or on Windows:
scripts\query.bat users --select "*" --limit 10
The script returns JSON:
{
"success": true,
"table": "users",
"rows": [...],
"row_count": 10,
"truncated": false
}
Error response:
{
"success": false,
"error": "Error message here"
}
python scripts/query.py "users" --select "*" --limit 20
python scripts/query.py "users" --select "id,name,email" --eq "status:active" --limit 10
python scripts/query.py "posts" --select "title,created_at" --order "created_at.desc" --limit 5
references/.env from the example file