smoke-test-database

smoke-test-database is a skill for Claude Code from FortiumPartners/ensemble. It costs 0 tokens per session (2,019 once invoked), scanned A, original, MIT.

A set of smoke tests for checking a database's connection, queries, structure, data relationships, replication, and backups. A database stores application data, while replication keeps copies synchronized.

In plain words
What is it for?
It is for validating database readiness, query behavior, schema correctness, data integrity, synchronization, and backup restoration.
Why use it?
It can reveal database problems before or after releases, migrations, deployments, or rollbacks.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ensemble-e2e-testing plugin — 7 skills, 1 agent shipped together

Install

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.

agentmods
npx agentmods add skills/fortiumpartners/ensemble/smoke-test-database
Any agent
npx skills add FortiumPartners/ensemble --skill smoke-test-database
Clone the repo
git clone --depth 1 https://github.com/FortiumPartners/ensemble

Made for: Claude Code.

Or install ensemble-e2e-testing, the plugin that ships this one along with the rest of its 7 skills, 1 agent.

Wrote 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.

agentmods badge for smoke-test-database

README.md
[![agentmods](https://agentmods.dev/badge/skills/fortiumpartners/ensemble/smoke-test-database.svg)](https://agentmods.dev/skills/fortiumpartners/ensemble/smoke-test-database)
Your own site
<a href="https://agentmods.dev/skills/fortiumpartners/ensemble/smoke-test-database"><img src="https://agentmods.dev/badge/skills/fortiumpartners/ensemble/smoke-test-database.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,019 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.02019
Opus 5 $0.00000 $0.01009
Sonnet 5 $0.00000 $0.00404
Haiku 4.5 $0.00000 $0.00202

Measured 3d ago against content hash 6b4e10119566, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

smoke-test-database 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 3d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/test-connectivity.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

packages/e2e-testing/skills/smoke-test-database/SKILL.md · 292 lines

How it starts

The opening of the file, as written. The whole thing — 292 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Smoke Test Database Skill

Quick Reference - Load this first for fast context (~3KB)

Mission

Execute comprehensive database smoke tests to validate connectivity, query performance, data integrity, and backup/restore operations during release workflows.

Core Capabilities

  • Connection Testing: Validate database connectivity and authentication
  • Query Performance: Test read/write operations against SLA targets
  • Schema Validation: Verify database schema matches expected structure
  • Data Integrity: Check critical data constraints and relationships
  • Replication Health: Validate primary/replica synchronization
  • Backup Validation: Verify backup operations and restore capability

When to Use This Skill

Use this skill when:

  • Executing pre-release smoke tests (verify database readiness)
  • Validating post-deployment health (after migrations)
  • Testing canary deployments (database connection pooling)
  • Verifying rollback success (schema rollback validation)
  • Running scheduled health checks (monitoring integration)

Quick Start

1. Load Skill in Agent

skills:
  - name: smoke-test-database
    path: skills/smoke-test-database/SKILL.md

2. Execute Database Tests

const { SmokeTestDatabase } = require('./scripts/test-connectivity.js');

const tester = new SmokeTestDatabase({
  type: 'postgresql',  // or 'mysql', 'mongodb', 'redis'
  host: 'localhost',
  port: 5432,
  database: 'staging_db',
  username: 'app_user',
  password: process.env.DB_PASSWORD
});

const result = await tester.executeTests({
  environment: 'staging',
  tests: ['connectivity', 'query-performance', 'schema-validation']
});

if (result.passed) {
  console.log('✅ Database smoke tests passed');
} else {
  console.error('❌ Database smoke tests failed');
}

3. Configuration Template

environment: staging
database:
  type: postgresql
  host: staging-db.example.com
  port: 5432
  database: app_staging
  username: app_user
  password: ${DB_PASSWORD}
  ssl: true
  poolSize: 10
tests:
  - connectivity
  - query-performance
  - schema-validation
  - data-integrity

Read the full file on GitHub · 292 lines

Files

What ships with it

3 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.

Changes

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.

  1. 3d ago First seen · 292 lines · 0 tokens per session scan A 6b4e10119566

Subscribe to this mod's changes

smoke-test-database is a skill published in the GitHub repository FortiumPartners/ensemble (11 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,019 tokens. 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.