A versatile Python-based skill for AI agents to connect, query, and manage relational databases across multiple platforms.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install dbskill
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install dbskill using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Database Connectivity Skill provides a robust interface for AI agents to interact with relational databases including MySQL, PostgreSQL, Oracle, SQL Server, and SQLite. As a high-performance component of the Openclaw Skills ecosystem, it enables seamless connection management, schema introspection, and complex transaction control directly through Python scripts. This skill ensures that your AI coding agents can read from and write to databases securely, making it an essential tool for data-driven automation, backend development tasks, and enterprise workflows.
To use this skill, ensure you have Python 3.8+ and install the necessary database drivers for your target environment:
pip install pymysql psycopg2-binary oracledb pymssql pyyaml
You can then run a quick connectivity test or list tables using the following command:
python scripts/main.py --url "jdbc:mysql://localhost:3306/mydb" --user "root" --password "${DB_PASS}" --tables
The skill organizes its operations and persistence based on the following structure:
| Component | Description |
|---|---|
| Connection Store | Saves non-sensitive data (URL, user, driver) to %TEMP%/.database-skill-connections.json. |
| Query Executor | Logic for executing SELECT, UPDATE, and multi-statement batch files. |
| Schema Metadata | Dictionary-based mapping of table structures, column types, and foreign key relationships. |
| CaseInsensitiveDict | A wrapper for query results ensuring column access is not case-sensitive. |
Loading
A versatile utility for capturing standard input and storing it in variables within interactive scripts and AI agent workflows.

A command-line utility for resolving relative file paths and symbolic links into absolute canonical paths.

A versatile CLI utility for generating cryptographically secure random numbers, passwords, and strings for development and security tasks.

A comprehensive data and knowledge module for AI agents focused on Calgary's energy sector, economic landscape, and its role as the gateway to the Canadian Rockies.

A specialized utility for resolving symbolic links to identify their actual file or directory targets.

This skill automates the comparison of broker commission statements against expected loan payouts to identify discrepancies, underpayments, and missing items.








































