Community程式設計與開發github.com

sourcegraph-automation

透過 Rube MCP (Composio) 自動化 Sourcegraph 任務。請務必先搜尋工具以取得當前結構。

sourcegraph-automation 是什麼?

此技能允許 AI 代理通過 Rube MCP(一個基於 Composio 的工具執行層)自動化 Sourcegraph 操作。它提供了一個標準化工作流程,用於探索、連接和執行 Sourcegraph 工具。使用者首先呼叫 RUBE_SEARCH_TOOLS 以發現最新的工具綱要(slugs 與輸入結構),然後透過 RUBE_MANAGE_CONNECTIONS 驗證 Sourcegraph 連線狀態。一旦連線處於 ACTIVE 狀態,代理可以使用 RUBE_MULTI_EXECUTE_TOOL 來執行發現的工具,並遵守傳回的參數格式。該技能支援所有支援 Rube MCP 的用戶端(例如 Claude Code、Cursor、Codex),並避免硬編碼結構,因為工具綱要可能會變更。它強調最佳實踐,例如在工作流程中重複使用工作階段 ID、在批次操作中使用 RUBE_REMOTE_WORKBENCH,以及始終包含“memory”參數。主要優點是將 Sourcegraph 自動化與 AI 協作工具無縫整合,無需手動 API 金鑰設定或靜態綱要。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ComposioHQ/awesome-claude-skills/tree/master/composio-skills/sourcegraph-automation

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

透過 Rube MCP 自動化 Sourcegraph

透過 Composio 的 Sourcegraph 工具組,經由 Rube MCP 自動化 Sourcegraph 操作。

工具組文件:composio.dev/toolkits/sourcegraph

先決條件

  • 必須已連接 Rube MCP(RUBE_SEARCH_TOOLS 可用)
  • 透過 RUBE_MANAGE_CONNECTIONS 與 sourcegraph 工具組建立有效的 Sourcegraph 連線
  • 務必先呼叫 RUBE_SEARCH_TOOLS 以取得目前的工具綱要

設定

取得 Rube MCP:在您的用戶端設定中將 https://rube.app/mcp 新增為 MCP 伺服器。無需 API 金鑰 — 只需新增端點即可運作。

  1. 確認 RUBE_SEARCH_TOOLS 有回應,以驗證 Rube MCP 可用
  2. 使用工具組 sourcegraph 呼叫 RUBE_MANAGE_CONNECTIONS
  3. 如果連線狀態不是 ACTIVE,請依照傳回的驗證連結完成設定
  4. 在執行任何工作流程前,確認連線狀態顯示為 ACTIVE

工具探索

在執行工作流程前,務必先探索可用的工具:

RUBE_SEARCH_TOOLS
queries: [{use_case: "Sourcegraph operations", known_fields: ""}]
session: {generate_id: true}

這會回傳可用的工具 slug、輸入綱要、建議的執行計畫以及已知的潛在問題。

核心工作流程模式

步驟 1:探索可用工具

RUBE_SEARCH_TOOLS
queries: [{use_case: "your specific Sourcegraph task"}]
session: {id: "existing_session_id"}

步驟 2:檢查連線

RUBE_MANAGE_CONNECTIONS
toolkits: ["sourcegraph"]
session_id: "your_session_id"

步驟 3:執行工具

RUBE_MULTI_EXECUTE_TOOL
tools: [{
  tool_slug: "TOOL_SLUG_FROM_SEARCH",
  arguments: {/* schema-compliant args from search results */}
}]
memory: {}
session_id: "your_session_id"

已知潛在問題

  • 務必先搜尋:工具綱會變更。切勿在未呼叫 RUBE_SEARCH_TOOLS 的情況下硬編碼工具 slug 或引數
  • 檢查連線:在執行工具前,確認 RUBE_MANAGE_CONNECTIONS 顯示 ACTIVE 狀態
  • 符合綱要:使用搜尋結果中的確切欄位名稱與型別
  • 記憶體參數:在 RUBE_MULTI_EXECUTE_TOOL 呼叫中務必包含 memory,即使為空({})
  • 工作階段重複使用:在工作流程中重複使用工作階段 ID。為新工作流程產生新的 ID
  • 分頁:檢查回應中是否有分頁權杖,並持續擷取直到完成

快速參考

操作方法
尋找工具使用特定於 Sourcegraph 的 use_case 呼叫 RUBE_SEARCH_TOOLS
連線使用工具組 sourcegraph 呼叫 RUBE_MANAGE_CONNECTIONS
執行使用發現的工具 slug 呼叫 RUBE_MULTI_EXECUTE_TOOL
批次操作使用 run_composio_tool() 呼叫 RUBE_REMOTE_WORKBENCH
完整綱要對具有 schemaRef 的工具呼叫 RUBE_GET_TOOL_SCHEMAS

由 Composio 提供支援

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

ably-automation

Automate Ably tasks via Rube MCP (Composio). Always search tools first for current schemas.

abstract-automation

Automate Abstract tasks via Rube MCP (Composio). Always search tools first for current schemas.

abuselpdb-automation

Automate Abuselpdb tasks via Rube MCP (Composio). Always search tools first for current schemas.

abyssale-automation

Automate Abyssale tasks via Rube MCP (Composio). Always search tools first for current schemas.

accelo-automation

Automate Accelo tasks via Rube MCP (Composio). Always search tools first for current schemas.

accredible-certificates-automation

Automate Accredible Certificates tasks via Rube MCP (Composio). Always search tools first for current schemas.

acculynx-automation

Automate Acculynx tasks via Rube MCP (Composio). Always search tools first for current schemas.

active-campaign-automation

Automate ActiveCampaign tasks via Rube MCP (Composio). Always search tools first for current schemas.

addresszen-automation

Automate Addresszen tasks via Rube MCP (Composio). Always search tools first for current schemas.

adobe-automation

Automate Adobe tasks via Rube MCP (Composio). Always search tools first for current schemas.

adrapid-automation

Automate Adrapid tasks via Rube MCP (Composio). Always search tools first for current schemas.

adyntel-automation

Automate Adyntel tasks via Rube MCP (Composio). Always search tools first for current schemas.

aeroleads-automation

Automate Aeroleads tasks via Rube MCP (Composio). Always search tools first for current schemas.

aero-workflow-automation

Automate Aero Workflow tasks via Rube MCP (Composio). Always search tools first for current schemas.

affinda-automation

Automate Affinda tasks via Rube MCP (Composio). Always search tools first for current schemas.

affinity-automation

Automate Affinity tasks via Rube MCP (Composio). Always search tools first for current schemas.

agencyzoom-automation

Automate Agencyzoom tasks via Rube MCP (Composio). Always search tools first for current schemas.

agent-mail-automation

Automate Agent Mail tasks via Rube MCP (Composio). Always search tools first for current schemas.

agentql-automation

Automate Agentql tasks via Rube MCP (Composio). Always search tools first for current schemas.

agenty-automation

Automate Agenty tasks via Rube MCP (Composio). Always search tools first for current schemas.

相關技能