Agent 集成指南

将 SkillsSafe 接入你的 Agent

一分钟内为任意 Agent 添加 AI 技能安全扫描。免费,无需 API Key。

全部免费 · 无需 API Key

MCP Server(推荐)

原生 MCP 集成,Agent 在安装技能前自动扫描安全性。

OpenClaw(一行命令)

bash
openclaw mcp add skillssafe https://mcp.skillssafe.com/sse

Claude Code / Claude Desktop

claude_desktop_config.json

json
{
  "mcpServers": {
    "skillssafe": {
      "url": "https://mcp.skillssafe.com/sse"
    }
  }
}

Cursor

.cursor/mcp.json

json
{
  "mcpServers": {
    "skillssafe": {
      "url": "https://mcp.skillssafe.com/sse"
    }
  }
}

Codex / 任意 MCP Agent

json
{
  "mcpServers": {
    "skillssafe": {
      "url": "https://mcp.skillssafe.com/sse"
    }
  }
}

REST API

直接 HTTP 调用,适用于任何 Agent、脚本或 CI/CD 流水线。

按内容扫描

bash
curl -X POST https://skillssafe.com/api/v1/scan/content \
  -H "Content-Type: application/json" \
  -d '{"url": "https://clawhub.ai/skills/my-skill/SKILL.md"}'

按 URL 扫描

bash
curl -X POST https://skillssafe.com/api/v1/scan/url \
  -H "Content-Type: application/json" \
  -d '{"url": "https://clawhub.ai/skills/my-skill/SKILL.md"}'

自动发现

Agent 无需预先配置即可自动发现 SkillsSafe 能力。

OpenAPI 规范(机器可读)

http
GET https://skillssafe.com/api/v1/openapi.json

MCP 自动发现

http
GET https://skillssafe.com/.well-known/mcp.json

速率限制

EndpointLimitAuth
MCP Server (SSE)60 req/hour per IPNone
POST /api/v1/scan/content200 req/hour per IPNone
POST /api/v1/scan/url200 req/hour per IPNone
Web ScannerUnlimitedNone