LogoClawIndex
CasesSkillsAbout
LogoClawIndex

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.

safe-sql-execution - Safely execute SQL against user databases

Guides safe SQL construction, provenance tracking, sanitization, and execution against a user's Postgres database.

Tags

Updated: 2026-10-02

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Classify SQL fragment provenance
  • Sanitize identifiers and literals
  • Track trusted SQL types
  • Require explicit execution actions
  • Execute only safe fragments

Inputs

  • SQL fragments
  • External input values
  • User-authored SQL
  • Database-derived SQL
  • Explicit user actions
  • Postgres database

Outputs

  • SafeSqlFragment values
  • UntrustedSqlFragment values
  • Executed SQL statements
  • Database state changes
  • Compile-time type errors

Requirements

  • @supabase/pg-meta utilities
  • TypeScript branded types
  • executeSql accepting SafeSqlFragment
  • Explicit user action for promotion
  • Postgres database access

Source

  • Spec: SKILL.md
SQL security
Postgres
Supabase Studio
SQL injection prevention
type safety
provenance tracking
Classify SQL fragment provenance
Sanitize identifiers and literals
Track trusted SQL types
Require explicit execution actions
SQL fragments
External input values
User-authored SQL
SafeSqlFragment values
UntrustedSqlFragment values
Executed SQL statements