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 ihatesea69/kiro-kit --skill databasesgit clone --depth 1 https://github.com/ihatesea69/kiro-kitWrote 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/ihatesea69/kiro-kit/databases)<a href="https://agentmods.dev/skills/ihatesea69/kiro-kit/databases"><img src="https://agentmods.dev/badge/skills/ihatesea69/kiro-kit/databases/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/ihatesea69/kiro-kit/databases"><img src="https://agentmods.dev/badge/skills/ihatesea69/kiro-kit/databases.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.00034 | $0.00365 |
| Opus 5 | $0.00017 | $0.00182 |
| Sonnet 5 | $0.00007 | $0.00073 |
| Haiku 4.5 | $0.00003 | $0.00036 |
Grade A, and why
databases scanned grade A with 0 findings 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 6d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Databases
Activate this skill when working with database design, queries, migrations, or optimization.
When to Use
- Designing database schemas and relationships
- Writing complex queries or aggregation pipelines
- Optimizing slow queries with indexes and execution plans
- Planning and executing database migrations
- Configuring replication, backups, or sharding
- Choosing between SQL and NoSQL for a use case
PostgreSQL
- Use EXPLAIN ANALYZE for query optimization
- Create indexes based on WHERE, JOIN, and ORDER BY patterns
- Use partial indexes for filtered queries
- Prefer UUID or ULID for distributed primary keys
- Use transactions for multi-statement operations
- Implement row-level security for multi-tenant apps
MongoDB
- Design schemas around access patterns (embed vs reference)
- Use compound indexes matching query patterns
- Leverage aggregation pipeline for complex transformations
- Use change streams for real-time data sync
- Implement schema validation at the database level
Redis
- Use appropriate data structures (strings, hashes, sorted sets, streams)
- Set TTL on all cache entries
- Use Redis transactions (MULTI/EXEC) for atomic operations
- Implement pub/sub for real-time messaging
- Use Redis Streams for reliable message queues
Migration Rules
- Migrations must be reversible (up and down)
- Never modify a deployed migration -- create a new one
- Test migrations against production-like data volumes
- Use zero-downtime migration patterns for live systems
- Back up data before destructive migrations
What ships with it
17 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.
- references/mongodb-aggregation.md 9.1 KB
- references/mongodb-atlas.md 9.1 KB
- references/mongodb-crud.md 8.2 KB
- references/mongodb-indexing.md 10 KB
- references/postgresql-administration.md 12 KB
- references/postgresql-performance.md 11 KB
- references/postgresql-psql-cli.md 10 KB
- references/postgresql-queries.md 9.9 KB
- scripts/db_backup.py 16 KB runs code
- scripts/db_migrate.py 13 KB runs code
- scripts/db_performance_check.py 15 KB runs code
- scripts/requirements.txt 558 B
- scripts/tests/coverage-db.json 46 KB
- scripts/tests/requirements.txt 69 B
- scripts/tests/test_db_backup.py 11 KB runs code
- scripts/tests/test_db_migrate.py 9.3 KB runs code
- scripts/tests/test_db_performance_check.py 12 KB runs code
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.
- 6d ago First seen · 55 lines · 34 tokens per session scan A 21b7e5fe8279
databases is a skill published in the GitHub repository ihatesea69/kiro-kit (18 stars, last pushed 20d ago), licensed MIT. It adds 34 tokens to every session and 365 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
ring:mapping-service-resources
Mapping a Go service's Service -> Module -> Resource hierarchy for dispatch-layer registration: detects modules and per-module PostgreSQL/MongoDB/RabbitMQ resources, database names, and shared databases, generates MongoDB index migration pairs (.up.json/.down.json), detects existing Postgres migrations, emits an HTML…
migration-audit
Stack-aware migration safety audit: data loss risks, destructive ops without rollback, NOT NULL without DEFAULT, unsafe ALTER TYPE, lock-heavy DDL, constraint sequencing. Supports Prisma, Drizzle, Supabase CLI, raw SQL.
databases
Use when creating, changing, or reviewing MongoDB/PostgreSQL/SQLite database work in a real repository, including schema, models, migrations, queries, indexes, transactions, connection config, backup/restore assumptions, dual-database desktop sync, or performance; follow repo-native tooling and meet the production…
sqlike
Check SQL with sqlike — deterministic static analysis (validity, anti-patterns, rewrites, index advice) and query-equivalence verification. Use whenever you write, edit, review, or rewrite a SQL query, or need to prove two queries return the same results. Requires the sqlike MCP server (@sqlike/mcp) or the sqlike CLI…
israeli-postgres-toolkit
Best practices for PostgreSQL in Israeli apps, covering Supabase patterns, Hebrew text indexing with ICU collation, shekel/NIS currency handling, Israeli date formats, and Asia/Jerusalem timezone gotchas. Use when user asks to "set up Hebrew full-text search", "handle NIS currency in Postgres", "tipul b'ivrit…
zeabur-database
Use when deploying a database to Zeabur. Use when user needs MySQL, PostgreSQL, MongoDB, or Redis. Use when user says "I need a database", "add database", "deploy postgres", "set up MySQL", "add Redis", "add MongoDB", or "connect to database". Also use when user mentions data persistence issues like "data lost after…