← 返回 Skills 列表

GitHub Skill article

Maton API 网关

带托管身份验证的 API 网关。通过单个 API 密钥将你的 AI 连接到 Slack、HubSpot、Salesforce、Google Workspace、Shopify 等服务。

办公与协作 2026-08-27
QUICK USE 快速使用
克隆仓库 git clone https://github.com/maton-ai/api-gateway-skill.git

Maton API 网关

用于调用第三方 API 的托管身份验证 API 网关。

通过单个 API 密钥直接调用原生 API 端点。

快速开始

# Send a Slack message
curl -s -X POST 'https://gateway.maton.ai/slack/api/chat.postMessage' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -d '{"channel": "C0123456", "text": "Hello from gateway!"}'

获取 API 密钥

  1. maton.ai 登录或创建帐户
  2. 前往 maton.ai/settings
  3. 点击复制按钮以复制你的 API 密钥
export MATON_API_KEY="YOUR_API_KEY"

安装

Skills CLI

将 skill 直接安装到任何受支持的代理中:

npx skills add maton-ai/api-gateway-skill

插件

我们提供了插件,为常用的代理运行框架打包 api-gateway skill。

Claude Code — 将此仓库添加为插件市场,然后安装插件:

claude plugin marketplace add maton-ai/api-gateway-skill
claude plugin install api-gateway@maton-plugins

Cursor — 直接从此仓库安装插件:

/add-plugin maton-ai/api-gateway-skill

Codex — 将此仓库添加为插件市场,然后安装插件:

codex plugin marketplace add maton-ai/api-gateway-skill
codex plugin add api-gateway@maton-plugins

Kiro — 作为一个 Power 提供。Kiro 没有安装 CLI; 请在 IDE 中从 GitHub 导入:

  1. 打开 Powers 面板(带闪电图标的 Ghosty 图标)。
  2. 选择 Add Custom Power → Import power from GitHub
  3. 粘贴 power 文件夹 URL:

https://github.com/maton-ai/api-gateway-skill/tree/main/providers/kiro/.kiro/powers/api-gateway

  1. 点击 Install。Kiro 会读取 POWER.md(及其本地 references/),并在你的请求匹配其关键词时按需激活该

power。

ClawHub — 使用 clawhub CLI 安装:

clawhub install @byungkyu/api-gateway

网络访问

此 skill 需要对 maton.ai 的出站网络访问权限。

Claude Desktop / Claude Cowork

Free / Pro / Max 计划

默认情况下已启用包管理器出站访问,但不允许将任意域名加入允许列表(截至 2026 年 7 月)。因此,我们建议使用 Maton MCP server,它不需要配置网络允许列表。

Team / Enterprise 计划

默认情况下网络出站访问处于禁用状态。组织所有者必须启用该功能:

  1. 打开 Settings → Capabilities → "Code execution and file creation."
  2. 选择 "Allow network egress to package managers and specific domains."
  3. maton.ai 添加到允许域名列表中。

如需了解详情,请参阅 Anthropic 的 Claude 中的网络访问

仓库布局

  • SKILL.md + references/ — 规范 skill(唯一事实来源)。
  • providers/{claude,cursor,codex}/plugin/ — 面向各代理运行框架的插件,每个插件都在 skills/api-gateway/ 下包含一份 skill 副本。
  • providers/kiro/.kiro/powers/api-gateway/ — 打包为 Kiro Power 的 skill(POWER.md + 本地 references/)。