DavidGodefroid

Locksql — Security skill for Claude Code

Security community

Harness security for AI agents, for SQL databases: a Lock of the Lock Family.

How to install Locksql

This entry records only its repository, not the path inside it, so there is no exact command to give. Open DavidGodefroid/locksql and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Locksql does

Harness security for AI agents, for SQL databases: a Lock of the Lock Family. PII-masked queries; connections and writes approved in lox run (CLI + MCP).

Alternatives in Security

  • Token Scan — Meme coin and token security scan — checks for rug pull vectors (hidden mint, honeypot, fee manipulation, LP l 3.8k ★
  • ThinkWatch — Self-hosted AI API and MCP gateway for organizations: SSO and RBAC, per-user identity for MCP tool calls, PII 817 ★
  • AWS MCP Server — by alexei-led - Features multiple Python environment setup options with detailed code style guidelines, compre 182 ★

README

locksql: your agent writes the query, you hold the key.

CI Latest release License: Apache 2.0 Go version

Let any AI agent query your SQL databases: personal data comes back masked,
connections and writes wait for you, and the agent never holds a password.

Demo, two terminals side by side. 1. Left, an agent (here Claude Code) is asked for the 3 Belgian customers with the highest total spend, with their name and email. 2. The agent plans a query through locksql and says it is pending. 3. Right, lox run (here in manual mode) shows the ticket as a question: the SQL, class READ, masked columns email and name. 4. The human presses y in lox run, then tells the agent it is approved. 5. The agent runs the ticket and shows three rows whose name and email are <redacted>.

An agent (here Claude Code, left) and lox run (right, in manual mode: every ticket is asked).

Quick start · How it works ·