研究與情報

PublicClaude 子代理

SQL Copilot

分析師為了一句就能描述清楚的查詢,卻得苦等資料團隊。這套 copilot 會讀取你實際的 schema,把問題轉成一次就能執行的 SQL。

sonnet4 天PostgresOpenAIdbtMetabase
ClaudeClaude
ROI for
README.md

為什麼選擇此子代理

分析師為了一句就能描述清楚的查詢,卻得苦等資料團隊。這套 copilot 會讀取你實際的 schema,把問題轉成一次就能執行的 SQL。

它會連線到你的資料倉儲,依據真實的資料表與欄位名稱撰寫語句,並在回傳任何結果前先檢查 EXPLAIN 執行計畫。你拿到的查詢可以直接貼進編輯器,外加一段白話說明,告訴你它會回傳什麼、用到哪些資料表。

運作方式

    • Read

      Used at step 01 to kick off the pipeline.

    • Write

      Used at step 01 to kick off the pipeline.

    • WebFetch

      Used at step 01 to kick off the pipeline.

    • WebSearch

      Used at step 01 to kick off the pipeline.

輸出範例

json
// Sample output
// (generated when the pipeline finishes)

Given the schema and a natural-language question, return one validated SQL query and a one-sentence description of its result set.

Unlock the rest

The full agent definition, install snippet, and starter task are gated for community members.

Members get the full `.md` agent file, the npm / pnpm install one-liners, a starter prompt that we've tuned against real runs, and the open-source repo when this automation ships there. One email, magic link, done.