一组公开API文档转换为Agent Skills格式——为AI代理优化的结构化markdown。
概览
一组公开API文档转换为Agent Skills格式——为AI代理优化的结构化markdown。 AI代理通常需要与外部API交互。原始OpenAPI规范存在局限性: - - 复杂规格可能达到兆字节,超过LLM上下文限制 - - 每次请求加载整个文档浪费上下文 - - 全有或全无访问防止选择性加载 Agent Skills 通过将文档拆分成按需文件来解决这个问题。Agent 只加载他们需要的内容——从概述开始,深入具体操作。 文件读取在所有代理框架中都有效。 让你的 AI 代理读取 api/SKILL.md 作为入口。 每个 API 都通过 openAPI 转换为技能: 该工具将单一的 OpenAPI 规范转换为可导航的文件结构:
概述(AI 翻译)
一组公开API文档转换为Agent Skills格式——为AI代理优化的结构化markdown。
为什么是技能探员?
AI代理通常需要与外部API交互。原始OpenAPI规范存在局限性:
- 过大 - 复杂规格可能达到兆字节,超过LLM上下文限制
- 浪费 - 每次请求加载整个文档,浪费上下文
- 单体式 - 全有或全无访问防止选择性加载
Agent Skills 通过将文档拆分成按需文件来解决这个问题。Agent 只加载他们需要的内容——从概述开始,深入具体操作。
不需要特殊集成。 文件读取在所有代理框架中都有效。
可用 API
| API | 操作 | 模式 | 目录 |
|---|---|---|---|
| 体式 | 217 | 244 | apis/asana/ |
| 云焰 | 2,531 | 5,231 | apis/cloudflare/ |
| Discord | 227 | 490 | apis/discord/ |
| 菲格玛 | 46 | 223 | apis/figma/ |
| GitLab | 1,837 | 454 | apis/gitlab/ |
| GitHub | 1,078 | 904 | apis/github/ |
| 吉拉云 | 616 | 967 | apis/jira-cloud/ |
| 呼叫任务 | 390 | 244 | apis/pagerduty/ |
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Public API Skills
A collection of public API documentation converted to Agent Skills format - structured markdown optimized for AI agents.
Why Agent Skills?
AI agents often need to interact with external APIs. Raw OpenAPI specifications have limitations:
- Too large - Complex specs can be megabytes, exceeding LLM context limits
- Wasteful - Loading the entire document for every request wastes context
- Monolithic - All-or-nothing access prevents selective loading
Agent Skills solves this by splitting documentation into on-demand files. Agents load only what they need - start with an overview, drill into specific operations.
No special integrations required. File reading works in every agent framework.
Available APIs
| API | Operations | Schemas | Directory |
|---|---|---|---|
| Asana | 217 | 244 | apis/asana/ |
| Cloudflare | 2,531 | 5,231 | apis/cloudflare/ |
| Discord | 227 | 490 | apis/discord/ |
| Figma | 46 | 223 | apis/figma/ |
| GitLab | 1,837 | 454 | apis/gitlab/ |
| GitHub | 1,078 | 904 | apis/github/ |
| Jira Cloud | 616 | 967 | apis/jira-cloud/ |
| PagerDuty | 390 | 244 | apis/pagerduty/ |
| Shopify | 4,567 | - | apis/shopify/ |
| Slack | 253 | 48 | apis/slack/ |
| Stripe | 588 | 1,315 | apis/stripe/ |
| TestRail | 40 | 36 | apis/testrail/ |
| Twilio | 197 | 148 | apis/twilio/ |
| Twitter/X | 192 | 393 | apis/twitter/ |
Usage
Point your AI agent to read apis///SKILL.md as the entry point.
Example for Stripe:
apis/stripe/stripe-api/SKILL.md
How It Works
Each API is converted using openapi-to-skills:
npx openapi-to-skills ./openapi.json -o ./output
The tool transforms monolithic OpenAPI specs into a navigable file structure:
/
├── SKILL.md # Entry point with overview
└── references/
├── resources/ # One file per resource/tag
├── operations/ # One file per operation
├── schemas/ # Grouped schema files
└── authentication.md
Customizing Generated Skills
Generated files are overwritten on each generate:* run. To add API-specific content that survives regeneration, use custom templates and extras:
apis//
├── openapi.json # Source spec
├── templates/ # Custom Eta templates (partial override)
│ ├── skill.md.eta # Only override templates you need to change
│ └── operation.md.eta # Falls back to defaults for the rest
├── extras/ # Static files copied into output post-generation
│ └── references/
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add yuyz0112/public-api-skills