AGENT SKILL

Query Store

Answer questions about Chinook revenue, customers and artists using read-only SQL. Also handle requests to change records by refusing the write.

License 许可
Apache-2.0
最近更新
2026-11-14
Stars
★ 44
Forks
19

01 前言 Front Matter

name
Query Store
description
Answer questions about Chinook revenue, customers and artists using read-only SQL. Also handle requests to change records by refusing the write.

02 资源文件 1

03 SKILL.md 正文

List tables with @tool.sql_db_list_tables. Inspect relevant schemas with @tool.sql_db_schema. Check the SQL with @tool.sql_db_query_checker, then run it with @tool.sql_db_query. For complex joins, decide which tables and keys you need before executing. State the metric and time filter in the answer. Use deterministic ordering and a tie-breaker. Correct a failed query using schema information. Do not write records or expose customer contact data.

04 同仓库更多 Skills