通过 Rube MCP 自动执行 Sourcegraph 搜索与代码相关任务流程。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "sourcegraph-automation" 技能: 1. 下载 https://raw.githubusercontent.com/ComposioHQ/awesome-claude-skills/master/composio-skills/sourcegraph-automation/SKILL.md 2. 保存为 ~/.claude/skills/sourcegraph-automation/SKILL.md 3. 装好后重载技能,告诉我可以用了
使用 sourcegraph-automation 先搜索可用工具及当前 schema,然后在指定代码库中查找函数 getUserProfile 的所有引用,按仓库、文件路径和代码片段汇总输出。
返回基于当前工具 schema 执行的引用检索结果,包含仓库、文件位置与相关代码片段汇总。
使用 sourcegraph-automation 先搜索工具定义,再分析最近一次提交修改影响到哪些模块、调用链和测试文件,并输出风险摘要与建议验证点。
生成一份变更影响分析,说明受影响模块、潜在风险以及建议补充检查的测试点。
使用 sourcegraph-automation 先搜索当前 schema,然后检索项目中与 feature flag 相关的实现、配置和文档位置,整理成一份结构化调研摘要。
输出一份结构化调研结果,涵盖功能开关相关代码、配置文件、文档入口及简要说明。
Automate Sourcegraph operations through Composio's Sourcegraph toolkit via Rube MCP.
Toolkit docs: composio.dev/toolkits/sourcegraph
RUBE_MANAGE_CONNECTIONS with toolkit sourcegraphRUBE_SEARCH_TOOLS first to get current tool schemasGet Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
RUBE_SEARCH_TOOLS respondsRUBE_MANAGE_CONNECTIONS with toolkit sourcegraphAlways discover available tools before executing workflows:
RUBE_SEARCH_TOOLS
queries: [{use_case: "Sourcegraph operations", known_fields: ""}]
session: {generate_id: true}
This returns available tool slugs, input schemas, recommended execution plans, and known pitfalls.
RUBE_SEARCH_TOOLS
queries: [{use_case: "your specific Sourcegraph task"}]
session: {id: "existing_session_id"}
RUBE_MANAGE_CONNECTIONS
toolkits: ["sourcegraph"]
session_id: "your_session_id"
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_TOOLSRUBE_MANAGE_CONNECTIONS shows ACTIVE status before executing toolsmemory in RUBE_MULTI_EXECUTE_TOOL calls, even if empty ({})| Operation | Approach |
|---|---|
| Find tools | RUBE_SEARCH_TOOLS with Sourcegraph-specific use case |
| Connect | RUBE_MANAGE_CONNECTIONS with toolkit sourcegraph |
| Execute | RUBE_MULTI_EXECUTE_TOOL with discovered tool slugs |
| Bulk ops | RUBE_REMOTE_WORKBENCH with run_composio_tool() |
| Full schema | RUBE_GET_TOOL_SCHEMAS for tools with schemaRef |
Powered by Composio
通过 Rube MCP 自动化 Agiled 中的客户、项目与业务流程操作。
通过 Rube MCP 自动执行 Composio 搜索任务并优先获取最新工具模式