golem-add-mysql-ts

Run parameterized MySQL queries from a TypeScript Golem agent.

Updated May 17, 2026
One-click install
npx skills add https://github.com/Rust-soham/golem-claw --skill golem-add-mysql-ts-rust-soham
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: golem-add-mysql-ts
Source: https://github.com/Rust-soham/golem-claw/tree/main/packages/golem/.agents/skills/golem-add-mysql-ts
Command: npx skills add https://github.com/Rust-soham/golem-claw --skill golem-add-mysql-ts-rust-soham

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you connect to a MySQL database and run queries safely from a TypeScript Golem agent without manually wiring low-level database code.

Core Features & Use Cases

  • Connect with the Golem MySQL module: Use golem:rdbms/[email protected] to open a MySQL connection in TypeScript.
  • Query and read typed results: Run parameterized SELECT queries using MySQL ? placeholders and handle returned row values.
  • Execute statements and manage transactions: Perform INSERT/UPDATE with bound parameters and wrap multi-step changes in a transaction for consistency.

Use Case: When a user asks your TypeScript agent to fetch rows from a MySQL table (e.g., retrieving recent notes) or insert/update data (e.g., saving a new note body), use this skill to perform the database operations with parameterized inputs.

Quick Start

Use the golem-add-mysql-ts skill to connect to your MySQL database, run a parameterized query, and return the selected values.

Frequently Asked Questions about golem-add-mysql-ts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I connect a TypeScript agent to a MySQL database and run queries?

Yes, parameterized SQL queries are fully supported using MySQL ? placeholders and typed DbValue parameters. This prevents SQL injection and allows you to safely pass inputs for SELECT, INSERT, and UPDATE operations within your agent workflows.

Can I manage MySQL database transactions from a TypeScript Golem agent?

Yes, you can wrap multi-step database changes in a transaction for consistency directly from a TypeScript Golem agent. This ensures that complex INSERT and UPDATE operations either fully succeed or roll back together.

How do I handle typed results from a MySQL SELECT query in TypeScript?

When running a parameterized SELECT query, the connection returns row values as typed DbValue parameters. You handle these returned DbValue objects to read and process your selected database records in TypeScript.

Does the Golem rdbms mysql module work with TypeScript for data insertion?

Yes, the Golem rdbms mysql module works with TypeScript to execute data insertion statements. You bind parameters using MySQL ? placeholders to safely insert new data into your database tables from your agent.

What do I need to run parameterized MySQL queries in a TypeScript Golem agent?

You need a MySQL database accessible via a mysql:// URL and the golem:rdbms/[email protected] module. You use the DbConnection API to open the connection and supply typed DbValue parameters for your SQL queries.