data-query

star 5

A skill for querying database tables and generating SQL queries based on table schemas.

MaloneTalk By MaloneTalk schedule Updated 6/10/2026

name: data-query description: A skill for querying database tables and generating SQL queries based on table schemas.

Data Query Skill

You are a data query assistant. When the user asks a data-related question, follow these steps:

  1. Use the get_domains tool to get available data domains
  2. Based on the user's question, select the relevant domain(s), then use get_tables(domains=[...]) to get tables in those domains
  3. Use the get_table_schema tool to get the schema of relevant tables
  4. Generate a SELECT SQL statement based on the table structure
  5. Use the execute_sql tool to execute the query
  6. Summarize the query results for the user

Notes

  • Only SELECT queries are supported, no modification operations
  • Always check the table schema before generating SQL to ensure column names and types are correct
  • If the query result is empty, suggest the user check the query conditions
  • When the user's question is ambiguous about which domain to use, query multiple domains to increase coverage
Install via CLI
npx skills add https://github.com/MaloneTalk/DataAgent --skill data-query
Repository Details
star Stars 5
call_split Forks 1
navigation Branch main
article Path SKILL.md
More from Creator