Runs SQL queries against the WordPress development database.

No licenceAuto-check: notesDatabases

Install SQL

skills CLI
$ npx skills add bonny/WordPress-Simple-History --skill sql -a claude-code

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

GitHub CLI
$ gh skill install bonny/WordPress-Simple-History 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/bonny/WordPress-Simple-History.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
317
Token cost
~381 tokens
SKILL.md length
82 words
Files
1
Skills in repo
21
Repo updated
First seen
Licence
None found

At a glance

Runs SQL queries against the WordPress development database.

  • Works in 4 steps: Read credentials from CLAUDE.local.md → Ask user for query (if not specified) → Run query and display results → …
  • Inspecting tables
  • SKILL.md covers Command Pattern, Common Queries, Table Prefixes and Simple History Tables, plus 1 more section
  • Calls docker

What it does

SQL is an agent skill from bonny/WordPress-Simple-History. Runs SQL queries against the WordPress development database. Use when inspecting tables, checking event data, or debugging database issues.

Its SKILL.md is about 380 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. It works with SQL and WordPress. The repository describes itself as: 🔍🕵️♀️ WordPress audit log that track user changes in WordPress admin using a nice activity feed.

When your agent uses it

  • Inspecting tables
  • Checking event data
  • Debugging database issues

Example prompts

  • “/sql”

Requirements

  • Docker
  • Pre-approved tools (allowed-tools): Read, Bash

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Read credentials from CLAUDE.local.md
  2. Ask user for query (if not specified)
  3. Run query and display results
  4. For UPDATE/DELETE: Always confirm with user first

What it can do on your machine

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

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Bash

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • docker

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

  • Network

    No URLs in SKILL.md. Its commands use docker, which can reach the network depending on how they are called.

    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 381 tokens when it runs. Until then it costs about 36 tokens; SKILL.md has 82 words of instructions outside code blocks.

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

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: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Bash

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

Without a licence we can't republish the file, so here is its outline and opening line. It has 82 words (~381 tokens).

“Run SQL queries against the WordPress development database.”

— opening of SKILL.md by bonny
name
sql
allowed-tools
Read, Bash
disable-model-invocation
false

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .claude/skills/sql of bonny/WordPress-Simple-History.

Open the folder on GitHubat commit 24f337f

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 skillbonny/WordPress-Simple-History317—~381Automated safety check: NotesNone
Migrate To Hostinghostinger/api-mcp-server159—~1.8kAutomated safety check: PassMIT
SQLMicrock/ordinary-claude-skills403—~573Automated safety check: PassCustom licence
Evolving The Data ModelTriliumNext/Trilium38k—~2.1kAutomated safety check: PassAGPL-3.0
Safe SQL Executionsupabase/supabase111k—~4.2kAutomated safety check: PassApache-2.0
Sql2erystemsrx/sql_to_ER1881 repos~1.1kAutomated safety check: PassAGPL-3.0

Similar skills

  • Migrate To Hosting

    hostinger/api-mcp-server

    Move an existing website from another host to Hostinger web hosting (Shared, Cloud or Agency plans) without downtime: WordPress sites from a files archive and SQL dump, static and PHP sites from an…

    159 GitHub stars~1.8k tokensUpdated today
    DatabasesAuto-check passed
  • SQL

    Microck/ordinary-claude-skills

    Run SQL queries against the WordPress development database. An agent skill from Microck/ordinary-claude-skills.

    403 GitHub stars~573 tokensUpdated 1 mo ago
    DatabasesAuto-check passed
  • Evolving The Data Model

    TriliumNext/Trilium

    A skill your agent uses when adding a DB migration or a new column/field to a Becca entity in Trilium ("add a migration", "new column on notes/attributes", "ALTER TABLE", "add a field to…

    38k GitHub stars~2.1k tokensUpdated today
    DatabasesAuto-check passed
  • Safe SQL Execution

    supabase/supabase

    Official

    A skill your agent uses whenever code will build, return, fetch, or execute SQL that runs against a user's real Postgres database — even when the request reads like an ordinary feature or bug fix…

    111k GitHub stars~4.2k tokensUpdated today
    DatabasesAuto-check passed
  • Sql2er

    ystemsrx/sql_to_ER

    A skill your agent uses when the user wants a Chen-model ER diagram from SQL CREATE TABLE statements or DBML, wants to rearrange or clean up an existing sql2er state, wants a skeleton-only overview…

    188 GitHub starsUsed in 1 repo~1.1k tokens
    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 today
    DatabasesAuto-check passed

More from bonny/WordPress-Simple-History

All 21 skills in this repo
  • Blueprint

    bonny/WordPress-Simple-History

    A skill your agent uses when the deliverable is WordPress Playground Blueprint JSON or a Blueprint bundle, including creating, editing, reviewing, validating schema keys, choosing steps/resources…

    317 GitHub starsUsed in 1 repo~4k tokens
    Auto-check passed
  • Action Links

    bonny/WordPress-Simple-History

    Guides implementation of structured action links on log events.

    317 GitHub stars~3.7k tokensUpdated today
    Auto-check passed
  • Changelog

    bonny/WordPress-Simple-History

    Adds changelog entries to readme.txt following keepachangelog format.

    317 GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Code Quality

    bonny/WordPress-Simple-History

    Runs linting and static analysis on PHP/CSS/JS using phpcs, phpstan, and rector.

    317 GitHub stars~519 tokensUpdated today
    Auto-check: notes
  • Create Logger

    bonny/WordPress-Simple-History

    Guides creation of custom loggers for Simple History. An agent skill from bonny/WordPress-Simple-History.

    317 GitHub stars~3.7k tokensUpdated today
    Auto-check: notes
  • Logger Messages

    bonny/WordPress-Simple-History

    Enforces active voice for logger messages and the Event Details API.

    317 GitHub stars~2k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about SQL

What does SQL do?

Runs SQL queries against the WordPress development database. SQL is an agent skill from bonny/WordPress-Simple-History. Runs SQL queries against the WordPress development database.

When should I use SQL?

SQL fits situations like: inspecting tables; checking event data; debugging database issues.

How do I install SQL in Claude Code?

Run `npx skills add bonny/WordPress-Simple-History --skill sql -a claude-code`. Or copy the skill folder (.claude/skills/sql in bonny/WordPress-Simple-History) 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 bonny/WordPress-Simple-History --skill sql -a codex`. Or copy the skill folder (.claude/skills/sql in bonny/WordPress-Simple-History) 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 bonny/WordPress-Simple-History --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 (docker). Our summary lists: Docker. Its frontmatter pre-approves these tools: Read, Bash.

Does SQL access the network?

SKILL.md contains no URLs. Its commands use docker, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is SQL safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does SQL use?

No licence was found for SQL or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does SQL use?

About 381 tokens (SKILL.md is roughly 1.5k 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: Migrate To Hosting (hostinger/api-mcp-server, 159 stars), SQL (Microck/ordinary-claude-skills, 403 stars), Evolving The Data Model (TriliumNext/Trilium, 38k stars) and Safe SQL Execution (supabase/supabase, 111k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains SQL?

bonny (a GitHub user) maintains it in bonny/WordPress-Simple-History, which has 317 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on October 7, 2026.

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