Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add husniadil/ekstend --skill databasegit clone --depth 1 https://github.com/husniadil/ekstendWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/husniadil/ekstend/database)<a href="https://agentmods.dev/skills/husniadil/ekstend/database"><img src="https://agentmods.dev/badge/skills/husniadil/ekstend/database/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/husniadil/ekstend/database"><img src="https://agentmods.dev/badge/skills/husniadil/ekstend/database.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00026 | $0.02910 |
| Opus 5.5 | $0.00010 | $0.01164 |
| Sonnet 5.5 | $0.00005 | $0.00582 |
| Haiku 4.5 | $0.00003 | $0.00291 |
Grade B, and why
database scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
| MySQL | `brew install mysql-client` | `sudo apt install mysql-client` | `sudo pacman -S mysql` | How it starts
The opening of the file, as written. The whole thing — 322 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Database CLI
Access and manage MySQL, PostgreSQL, SQLite databases, and Redis key-value stores using their respective command-line clients.
Critical Rules
NEVER do the following:
- NEVER guess or assume table names - always list tables first with
SHOW TABLES,\dt, or.tables - NEVER guess or assume column names - always describe the table first with
DESCRIBE,\d, orPRAGMA table_info - NEVER run SELECT queries on an unfamiliar database without exploring the schema first
- NEVER assume ORM naming conventions (e.g.,
Ordervsorders,userIdvsuser_id) - verify with schema
ALWAYS follow the Query Workflow below when querying data the user asks for.
Database Type Detection
Determine the database type from context:
| Signal | Database Type |
|---|---|
| User says "MySQL", "mysql" | MySQL |
| User says "PostgreSQL", "Postgres", "psql" | PostgreSQL |
| User says "SQLite", "sqlite3" | SQLite |
File path ends in .db, .sqlite, .sqlite3 |
SQLite |
Connection string starts with mysql:// |
MySQL |
Connection string starts with postgresql:// |
PostgreSQL |
Connection string starts with postgres:// |
PostgreSQL |
Connection string starts with sqlite:/// |
SQLite |
Config has MYSQL_* variables |
MySQL |
Config has PG* or POSTGRES_* variables |
PostgreSQL |
Config has SQLITE_* or DATABASE_PATH |
SQLite |
| User says "Redis", "redis-cli" | Redis |
Connection string starts with redis:// |
Redis |
Connection string starts with rediss:// |
Redis |
Config has REDIS_* variables |
Redis |
| Port 3306 mentioned | MySQL |
| Port 5432 mentioned | PostgreSQL |
| Port 6379 mentioned | Redis |
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 322 lines · 26 tokens per session scan B 3588afb26179
database is a skill published in the GitHub repository husniadil/ekstend (1 stars, last pushed 7d ago), licensed MIT. It adds 26 tokens to every session and 2,910 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
bun-redis
Use when working with Redis in Bun (ioredis, Upstash), caching, pub/sub, session storage, or key-value operations.
caching
This skill should be used when the user asks about a "caching strategy", "cache invalidation", "what to cache", "read-through vs write-through vs write-back", "cache eviction" (LRU/LFU/TTL), "Redis vs Memcached", "stale reads", or hits "thundering herd", "cache stampede", "cache penetration", or "hot key" problems, or…
Atuin Shell History Database and Sync
Atuin replaces your existing shell history with a SQLite database that records additional context like exit codes, session IDs, working directories, and command durations. It provides encrypted cross-machine sync and a full-screen fuzzy search UI bound to Ctrl-R.
ts-db-perf
Optimize TypeScript code that interacts with databases. Use this skill when the user wants to fix N+1 queries, add caching, improve transaction safety, prevent race conditions, simplify async flows, or generally speed up a TypeScript backend. Triggers on phrases like "optimize", "slow query", "N+1", "race condition"…
Cache Strategy Consistency Guard
Detect undefined or inconsistent cache strategies (layers, consistency, invalidation, TTL, failure handling) in design documents.
caching
HybridCache (.NET 9+), output caching, cache-aside pattern, and IMemoryCache — registration, usage, invalidation, and key strategy.