π¦ ClawHubβ¦ BytesAgain
Supabase Tool
by @loutai0307-prog
Generate Supabase API curl commands and SQL query helpers. Use when querying tables, counting rows, inserting records, checking database health, auditing RLS...
TERMINAL
clawhub install supabase-toolπ About This Skill
name: "supabase-tool" description: "Generate Supabase API curl commands and SQL query helpers. Use when querying tables, counting rows, inserting records, checking database health, auditing RLS policies, or listing tables. No credentials stored β commands are generated for you to run."
supabase-tool
Triggers on
supabase query, database health, count rows, insert record, rls policy, sql query, supabase table, postgresqlWhat This Skill Does
Query, inspect, and manage Supabase databases. Run SQL, count rows, insert records, check health, and audit RLS policies.Commands
query
Run a raw SQL query.bash scripts/script.sh query "SELECT COUNT(*) FROM skills WHERE is_ours=true"
select
Query a table with optional filters and limit.bash scripts/script.sh select [--limit N] [--filter col=eq.val]
count
Count rows β all tables or a specific one.
bash scripts/script.sh count
bash scripts/script.sh count skills
insert
Insert a record into a table.
bash scripts/script.sh insert ''
health
Check API health and response time with row counts.
bash scripts/script.sh health
rls
Audit RLS policy issues using Supabase Security Advisor.
bash scripts/script.sh rls
help
Show all available commands.
bash scripts/script.sh help
Requirements
bash 4+
curl
python3 Powered by BytesAgain | bytesagain.com