一键导入
query-writing
Discover schema, write SELECT-only SQLite queries, execute, and explain results (aligned with harness-example).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Discover schema, write SELECT-only SQLite queries, execute, and explain results (aligned with harness-example).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Writes and executes SQL queries ranging from simple single-table SELECTs to complex multi-table JOINs, aggregations, window functions, and subqueries. Use when the user asks to query the database, retrieve data, filter records, rank results, or generate reports.
Lists tables, describes columns and data types, identifies foreign key relationships, and maps entity relationships in the database. Use when the user asks about database structure, table layout, column types, what tables exist, foreign keys, or how entities relate to each other.
Discover schema, write SELECT-only SQLite queries, execute, and explain results (aligned with harness-example).
| name | query-writing |
| description | Discover schema, write SELECT-only SQLite queries, execute, and explain results (aligned with harness-example). |
sql_list_tables if you do not yet know table names.sql_get_schema for each table you join or filter on.sql_execute_query with a single SELECT (add LIMIT for large scans).See the full skill in agentscope-examples/harness-example under
src/main/resources/workspace/skills/query-writing/SKILL.md for multi-table JOIN patterns.