Supabase Audit Tables Read
Helps with Supabase, auditing as part of working with databases and data persistence workflows.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add supabase-audit-tables-read npx -- -y @trustedskills/supabase-audit-tables-read
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"supabase-audit-tables-read": {
"command": "npx",
"args": [
"-y",
"@trustedskills/supabase-audit-tables-read"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill enables AI agents to securely read and query audit logs stored within Supabase database tables. It allows for the retrieval of historical records regarding user actions, data changes, and system events without modifying the underlying data.
When to use it
- Investigating security incidents by retrieving specific user login attempts or permission grants.
- Auditing compliance requirements to verify who accessed sensitive data during a specific timeframe.
- Debugging application issues by analyzing logs of failed transactions or configuration changes.
- Generating reports on system activity for administrative review or forensic analysis.
Key capabilities
- Reads data from designated Supabase audit tables via SQL queries.
- Filters records based on time ranges, user IDs, or specific event types.
- Returns structured log entries containing timestamps, actor information, and action details.
- Operates within the read-only scope to prevent accidental data modification during investigations.
Example prompts
- "Query the audit_logs table for all failed login attempts from IP address 192.168.1.50 in the last 24 hours."
- "Retrieve a list of users who were granted admin privileges between January 1st and January 31st."
- "Show me the sequence of actions performed by user ID 12345 on the 'users' table this morning."
Tips & gotchas
Ensure your AI agent has appropriate read permissions configured in Supabase before attempting to query sensitive audit logs. Be mindful of large result sets; if a query returns thousands of rows, consider adding specific date filters or pagination logic to manage output size effectively.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.