Agent skill

SQL

by sendou-ink in sendou-ink/sendou.ink

Help write, debug, and explore SQLite database queries using Kysely.

AGPL-3.0Auto-check passedDatabases

Install SQL

skills CLI
$ npx skills add sendou-ink/sendou.ink --skill sql -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sendou-ink/sendou.ink sql --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sendou-ink/sendou.ink.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/sql .claude/skills/sql && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
sql
GitHub stars
297
Token cost
~423 tokens
SKILL.md length
148 words
Files
1
Skills in repo
7
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Help write, debug, and explore SQLite database queries using Kysely.

  • Writing repository code
  • SKILL.md covers Databases, Schema and Exploring data
  • Calls sqlite3
  • Debugging query issues

What it does

SQL is an agent skill from sendou-ink/sendou.ink. Help write, debug, and explore SQLite database queries using Kysely. Use when writing repository code, exploring data, debugging query issues, or understanding the database schema.

Its SKILL.md is about 420 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Databases, covering SQL, Database schema design and Debugging. It works with SQL and SQLite. The repository describes itself as: Competitive Splatoon Platform. The licence is AGPL-3.0.

When your agent uses it

  • Writing repository code
  • Debugging query issues
  • Understanding the database schema

Example prompts

  • “/sql”

What it can do on your machine

Read from SKILL.md and the folder at commit 5730769. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • sqlite3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

SQL loads about 423 tokens when it runs. Until then it costs about 46 tokens; SKILL.md has 148 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~46
When it runs · the whole SKILL.md, loaded when a task matches
~423

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from sendou-ink/sendou.ink at commit 5730769, republished under its AGPL-3.0 licence (© sendou-ink). 148 words, ~423 tokens.

Download SKILL.mdSave it as .claude/skills/sql/SKILL.md (or your agent's skills folder).
name
sql
description
Help write, debug, and explore SQLite database queries using Kysely. Use when writing repository code, exploring data, debugging query issues, or understanding the database schema.

SQL Database Helper

Databases

FilePurposeWhen to use
db.sqlite3Development databaseWriting/testing new features, running the dev server
db-prod.sqlite3Copy of production databaseExploring real data, investigating bugs, verifying assumptions about data shape
db-test.sqlite3Unit test database (blank + migrations, created automatically by test runs)Unit tests only

db-prod.sqlite3 can be modified if the task requires it. Never modify db-copy.sqlite3 — it is the untouched backup.

Schema

All table definitions live in app/db/tables.ts. Read this file first to understand available tables, columns, and their types. Key conventions:

  • Every table has a numeric id primary key (type number)
  • Booleans are stored as 0/1 (type DBBoolean)

Exploring data

When the user needs to explore or query existing data, use sqlite3 CLI commands against the appropriate database.

Important: Always quote table and column names with double quotes ("TableName", "columnName") because the schema uses camelCase naming and some names are reserved SQL keywords.

bash
# Explore production data
sqlite3 db-prod.sqlite3 'SELECT * FROM "User" LIMIT 5;'

# Check schema of a table
sqlite3 db-prod.sqlite3 '.schema "User"'

# Count rows
sqlite3 db-prod.sqlite3 'SELECT COUNT(*) FROM "User";'

# Development database
sqlite3 db.sqlite3 'SELECT * FROM "User" LIMIT 5;'

© sendou-ink, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/sql of sendou-ink/sendou.ink.

Open the folder on GitHubat commit 5730769

Compare with similar skills

SQL next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

SQL compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
SQL this skillsendou-ink/sendou.ink297—~423Automated safety check: PassAGPL-3.0
Golang Databaseunxed/f42402 repos~2.9kAutomated safety check: PassMIT
Cursor BYOK Database Schemaleookun/cursor-byok3.2k—~1.3kAutomated safety check: PassMIT
SQL Expertaiskillstore/marketplace430—~3.4kAutomated safety check: PassNone
SQL ToolkitLeoYeAI/openclaw-master-skills2.2k—~3kAutomated safety check: PassMIT
SQL Database Support for pRESTprest/prest4.6k—~1.6kAutomated safety check: PassMIT

Similar skills

  • Comprehensive guide for Go database access — parameterized queries, struct scanning, NULLable columns, transactions, isolation levels, SELECT FOR UPDATE, connection pool, batch processing, context…

    240 GitHub starsUsed in 2 repos~2.9k tokens
    DatabasesAuto-check passed
  • Cursor BYOK Database Schema

    leookun/cursor-byok

    Guides SQLite schema changes in the Cursor BYOK server, keeping SQLx migrations, the Rust store, API contracts and fixtures aligned.

    3.2k GitHub stars~1.3k tokensUpdated 9 days ago
    DatabasesAuto-check passed
  • SQL Expert

    aiskillstore/marketplace

    Expert SQL query writing, optimization, and database schema design with support for PostgreSQL, MySQL, SQLite, and SQL Server.

    430 GitHub stars~3.4k tokensUpdated today
    DatabasesAuto-check passed
  • SQL Toolkit

    LeoYeAI/openclaw-master-skills

    Query, design, migrate, and optimize SQL databases. An agent skill from LeoYeAI/openclaw-master-skills.

    2.2k GitHub stars~3k tokensUpdated 2 mo ago
    DatabasesAuto-check passed
  • Guides classifying, gap-analyzing and scaffolding support for a new SQL database in pREST, from Postgres-compatible variants to entirely new dialects.

    4.6k GitHub stars~1.6k tokensUpdated yesterday
    DatabasesAuto-check passed
  • Schema Exploration

    timescale/pg-aiguide

    Explore an existing PostgreSQL database before answering questions about its data or writing SQL.

    1.9k GitHub stars~1.1k tokensUpdated 5 days ago
    DatabasesAuto-check passed

More from sendou-ink/sendou.ink

  • DB Benchmark

    sendou-ink/sendou.ink

    Add or update repository READ function benchmark cases in the DB benchmark script.

    297 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • E2E

    sendou-ink/sendou.ink

    Run, debug, and manage Playwright e2e tests. An agent skill from sendou-ink/sendou.ink.

    297 GitHub stars~2.1k tokensUpdated today
    Auto-check: notes
  • Scanner Misread

    sendou-ink/sendou.ink

    Turn a user-submitted scanner "Game data" zip (scanner--game-N.zip, a match card's download for reporting a misread) into 1-3 new failing fixtures (frame + expected.json) under…

    297 GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Explain Diff HTML

    sendou-ink/sendou.ink

    A skill your agent uses when the user asks for a rich explanation of a code change, diff, branch, or PR.

    297 GitHub starsUsed in 1 repo~787 tokens
    Auto-check passed
  • Sendou Code Review

    sendou-ink/sendou.ink

    Multi-agent code review that checks the current diff from multiple angles (spec compliance, bugs from two lenses, conventions/modernization, abstraction reuse, security, DB query performance, test…

    297 GitHub stars~5.2k tokensUpdated today
    Auto-check passed
  • Search Params

    sendou-ink/sendou.ink

    Work with URL search param state via the unified app/modules/search-params system.

    297 GitHub stars~154 tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about SQL

What does SQL do?

Help write, debug, and explore SQLite database queries using Kysely. ink. Help write, debug, and explore SQLite database queries using Kysely.

When should I use SQL?

SQL fits situations like: writing repository code; debugging query issues; understanding the database schema.

How do I install SQL in Claude Code?

Run `npx skills add sendou-ink/sendou.ink --skill sql -a claude-code`. Or copy the skill folder (.claude/skills/sql in sendou-ink/sendou.ink) into .claude/skills/sql in your project. Claude Code loads it when a task matches its description.

How do I install SQL in Codex?

Run `npx skills add sendou-ink/sendou.ink --skill sql -a codex`. Or copy the skill folder (.claude/skills/sql in sendou-ink/sendou.ink) into .agents/skills/sql in your project. Codex loads it when a task matches its description.

Can I use SQL in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sendou-ink/sendou.ink --skill sql -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sql, .gemini/skills/sql, .github/skills/sql and .opencode/skills/sql in your project.

What does SQL need to run?

Going by SKILL.md and its folder, SQL needs the command-line tools its instructions call (sqlite3).

Does SQL access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is SQL safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does SQL use?

SQL is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does SQL use?

About 423 tokens (SKILL.md is roughly 1.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to SQL?

Skills that share tags, products or a category with SQL: Golang Database (unxed/f4, 240 stars), Cursor BYOK Database Schema (leookun/cursor-byok, 3.2k stars), SQL Expert (aiskillstore/marketplace, 430 stars) and SQL Toolkit (LeoYeAI/openclaw-master-skills, 2.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains SQL?

sendou-ink (a GitHub organization) maintains it in sendou-ink/sendou.ink, which has 297 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 7, 2026.

Source: sendou-ink/sendou.ink on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.