用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/aAAaqwq/AGI-Super-Team --skill api-toolkit命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | api-toolkit |
| description | 通用 REST API 工具包,用于快速接入第三方服务、调试端点和构建自动化流程。 |
通用 API 调用工具包,用于快速接入任何 RESTful API。
# GET 请求
curl -s "https://api.example.com/endpoint" \
-H "Authorization: Bearer $(pass show tokens/example-api)"
# POST 请求
curl -s -X POST "https://api.example.com/endpoint" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $API_KEY" \
-d '{"key": "value"}'
# 带查询参数
curl -s "https://api.example.com/search?q=query&limit=10"
| 方式 | 示例 |
|---|---|
| Bearer Token | -H "Authorization: Bearer $TOKEN" |
| API Key Header | -H "X-API-Key: $KEY" |
| Basic Auth | -u "user:pass" |
| Query Param | ?api_key=$KEY |
# JSON 解析
curl -s ... | jq '.data'
# 提取特定字段
curl -s ... | jq -r '.items[].name'
# 错误检查
response=$(curl -s -w "\n%{http_code}" ...)
body=$(echo "$response" | head -n -1)
code=$(echo "$response" | tail -n 1)
curl -s "wttr.in/Shanghai?format=j1" | jq '.current_condition[0]'
curl -s "https://api.github.com/users/USERNAME/repos" \
-H "Authorization: token $(pass show tokens/github)"
curl -s "https://api.telegram.org/bot$TOKEN/sendMessage" \
-d "chat_id=$CHAT_ID" \
-d "text=$MESSAGE"
pass 存储,不硬编码pass insert tokens/new-apiTOOLS.md - 记录已配置的 APISECURITY.md - 安全策略memory/audit-*.log - 操作审计