Supabase Table Editor (OC-0027). Run safe read/write operations on Supabase tables. Use when user asks to query, insert, update, or delete rows in Supabase.
Run safe read/write operations on Supabase Postgres tables via the REST API.
# List all tables
python3 skills/cloud/data/databases/supabase-table/scripts/manage.py list-tables
# Query rows
python3 skills/cloud/data/databases/supabase-table/scripts/manage.py query --table users --select "id,name,email" --filter "status=eq.active" --limit 10
# Insert a row
python3 skills/cloud/data/databases/supabase-table/scripts/manage.py insert --table users --data '{"name":"Alice","email":"[email protected]"}'
# Update rows
python3 skills/cloud/data/databases/supabase-table/scripts/manage.py update --table users --filter "id=eq.5" --data '{"status":"inactive"}'
# Delete rows
python3 skills/cloud/data/databases/supabase-table/scripts/manage.py delete --table users --filter "status=eq.inactive"
list-tablesLists all tables in the public schema.
queryReads rows from a table.
--table: Table name (required).--select: Columns to select (default: *).--filter: PostgREST filter (e.g., status=eq.active).--order: Order by column (e.g., created_at.desc).--limit: Max rows (default: 50).insertInserts a row into a table.
--table: Table name (required).--data: JSON object with column values (required).updateUpdates rows matching a filter.
--table: Table name (required).--filter: PostgREST filter to match rows (required).--data: JSON object with updated values (required).deleteDeletes rows matching a filter.
--table: Table name (required).--filter: PostgREST filter to match rows (required).SUPABASE_URL environment variable (Supabase project URL).SUPABASE_SERVICE_KEY environment variable (service role key).requests library (pip install requests).