Community编程与开发github.com

IP2Location 自动化

通过 Rube MCP(Composio)自动执行 IP2Location 任务。始终先搜索工具以获取当前模式。

IP2Location 自动化 是什么?

该技能用于通过 Composio 的 IP2Location 工具包和 Rube MCP 平台自动化 IP 地理定位查询。它允许 AI 代理根据给定的 IP 地址查找国家、城市、ISP、域名等信息,而无需手动调用 REST API 或硬编码模式。该技能支持 Rube MCP,并通过 Composio 连接管理处理身份验证。典型工作流程包括:使用 `RUBE_SEARCH_TOOLS` 发现可用工具,使用 `RUBE_MANAGE_CONNECTIONS` 检查连接状态,以及使用 `RUBE_MULTI_EXECUTE_TOOL` 执行特定 IP2Location 操作。遵循“始终先搜索”原则以避免因模式变化而出错至关重要。

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

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

通过 Rube MCP 实现 IP2Location 自动化

通过 Composio 的 IP2Location 工具包与 Rube MCP,自动化 IP2Location 操作。

工具包文档: composio.dev/toolkits/ip2location

前置条件

  • Rube MCP 必须已连接(RUBE_SEARCH_TOOLS 可用)
  • 通过 RUBE_MANAGE_CONNECTIONS 并指定工具包 ip2location 建立有效的 IP2Location 连接
  • 始终先调用 RUBE_SEARCH_TOOLS 以获取当前工具模式

设置

获取 Rube MCP: 在客户端配置中将 https://rube.app/mcp 添加为 MCP 服务器。无需 API 密钥——只需添加端点即可使用。

  1. 通过确认 RUBE_SEARCH_TOOLS 有响应,验证 Rube MCP 可用
  2. 使用工具包 ip2location 调用 RUBE_MANAGE_CONNECTIONS
  3. 如果连接状态不是 ACTIVE,请按照返回的身份验证链接完成设置
  4. 在运行任何工作流之前,确认连接状态显示为 ACTIVE

工具发现

在执行工作流之前,务必先发现可用工具:

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

这将返回可用的工具 slug、输入模式、推荐的执行计划以及已知的陷阱。

核心工作流模式

步骤 1:发现可用工具

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

步骤 2:检查连接

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

步骤 3:执行工具

RUBE_MULTI_EXECUTE_TOOL
tools: [{
  tool_slug: "TOOL_SLUG_FROM_SEARCH",
  arguments: {/* 符合搜索结果的参数 */}
}]
memory: {}
session_id: "your_session_id"

已知陷阱

  • 始终先搜索: 工具模式会变化。未经调用 RUBE_SEARCH_TOOLS,切勿硬编码工具 slug 或参数。
  • 检查连接: 在执行工具前,确认 RUBE_MANAGE_CONNECTIONS 显示 ACTIVE 状态。
  • 遵循模式: 使用搜索结果的精确字段名称和类型。
  • 记忆参数: 在 RUBE_MULTI_EXECUTE_TOOL 调用中始终包含 memory,即使为空({})。
  • 会话复用: 在同一工作流中复用会话 ID。为新工作流生成新的会话 ID。
  • 分页: 检查响应中的分页令牌,并持续获取直到完成。

快速参考

操作方法
查找工具RUBE_SEARCH_TOOLS 并指定针对 IP2Location 的 use case
连接RUBE_MANAGE_CONNECTIONS 并指定工具包 ip2location
执行RUBE_MULTI_EXECUTE_TOOL 并使用发现的工具 slug
批量操作RUBE_REMOTE_WORKBENCH 配合 run_composio_tool()
完整模式RUBE_GET_TOOL_SCHEMAS 用于包含 schemaRef 的工具

由 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.

相关技能