Executes SQL SELECT queries against MariaDB databases running inside local Docker containers. Typically used with containers following the naming pattern {shortName}-mariadb. Use this skill when a user asks questions requiring database queries.
This skill allows the agent to execute SQL queries against MariaDB instances running inside local Docker containers.
Most databases follow this pattern:
{shortName}-mariadb
Examples:
When a user references a project name, assume:
project → {shortName}-mariadb
Example:
"focus database" → container focus-mariadb
If the container name is explicitly provided by the user, use that directly.
If ambiguity exists, ask the user for clarification.
When using this skill:
Call:
scripts/query-db.sh <containerName> "<SQL query>"
Example:
scripts/query-db.sh focus-mariadb "SELECT * FROM users LIMIT 10;"
Schema helpers:
SHOW TABLES; DESCRIBE table_name;