Borrowing it
Nothing to install: this file belongs to AltimateAI/altimate-code. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/AltimateAI/altimate-code/main/.claude/commands/add-database-driver.mdgit clone --depth 1 https://github.com/AltimateAI/altimate-codeWrote 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/commands/altimateai/altimate-code/add-database-driver)<a href="https://agentmods.dev/commands/altimateai/altimate-code/add-database-driver"><img src="https://agentmods.dev/badge/commands/altimateai/altimate-code/add-database-driver/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/commands/altimateai/altimate-code/add-database-driver"><img src="https://agentmods.dev/badge/commands/altimateai/altimate-code/add-database-driver.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.00046 | $0.01697 |
| Opus 5.5 | $0.00018 | $0.00679 |
| Sonnet 5.5 | $0.00009 | $0.00339 |
| Haiku 4.5 | $0.00005 | $0.00170 |
Grade A, and why
add-database-driver 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 182 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Add Database Driver
Scaffold and fully integrate a new database/warehouse driver into Altimate Code. This command handles all 23 integration points — driver code, registry, discovery, finops, tests, and documentation.
Input
$ARGUMENTS = the database name (e.g., cockroachdb, timescaledb, cassandra, neo4j).
If empty, ask: "Which database should I add support for?"
Step 0: Research
Before writing any code, research the database:
- Find the official Node.js/TypeScript client package on npm. Search for
@{database}/client,{database}-js, or similar. - Check supported server versions — which versions are not EOL?
- Identify auth methods — password, token, TLS/certificate, connection string, cloud-specific?
- Check SQL dialect — standard SQL? Custom syntax? LIMIT vs TOP vs FETCH FIRST? System tables for schemas/tables/columns?
- Find Docker image — official image on Docker Hub for E2E testing?
- Check if dbt adapter exists — search for
dbt-{database}on PyPI.
Present findings to the user before proceeding:
## Research: {Database}
- **npm package**: `{package}` (v{version})
- **Server versions**: {non-EOL versions}
- **Auth methods**: {list}
- **SQL dialect**: {notes on LIMIT, system tables, parameterized queries}
- **Docker image**: `{image}:{tag}`
- **dbt adapter**: {exists/not found}
Proceed with implementation?
Step 1: Read Reference Document
Read the comprehensive checklist:
cat packages/drivers/ADDING_A_DRIVER.md
This document has all 23 integration points with exact file paths and code patterns.
Step 2: Read Existing Driver for Pattern
Read a similar existing driver as a template. Choose based on database type:
- SQL database with password auth → read
packages/drivers/src/mysql.ts - Cloud warehouse with token auth → read
packages/drivers/src/databricks.ts - Database with connection string support → read
packages/drivers/src/postgres.ts - HTTP-based client → read
packages/drivers/src/clickhouse.ts - Document database (non-SQL) → read
packages/drivers/src/mongodb.ts
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.
- 1mo ago First seen · 182 lines · 46 tokens per session scan A ddd89039a713
add-database-driver is a command published in the GitHub repository AltimateAI/altimate-code (813 stars, last pushed today), licensed MIT. It adds 46 tokens to every session and 1,697 once invoked, about $0.0002 per session on Opus 5.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-08-30.
Other commands, from other repositories
qawolf-cli
Manage QA Wolf through the qawolf CLI. Use when asked to create, update, or list coverage requests, bug reports, or maintenance reports; start a run of flows or tags on the QA Wolf platform or read a run's results; list, set, or delete environment variables; manage environments, flows, or tags; run or list flows…
test
A command that runs JavaScript or TypeScript tests with npm or Vitest, a test-runner tool, and explains any failures.
webapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
test-integration.en
Run the integration test workflow.
test-bar
Generate a floating QA test overlay for the current branch's UI changes. Use when user says /test-bar, needs visual QA scenarios, or wants to test conditional rendering paths.
run-workflow
Validate and establish the proven rn-dev-agent operating sequence before a real React Native journey — declared package manager and dependencies, read-only inventory, typed session recovery, one exclusive device, managed integration and Metro, only the requested proof, reverse-order cleanup.