wrap-api-as-plugin
Use when wrapping an HTTP API, OpenAPI/spec, or "wrap X" into a Cursor/Agent Plugin (MCP + skills). Prefer before scaffolding files.
от brokep★ 48 звёзд на GitHub
Установить wrap-api-as-plugin в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
wrap-api-as-plugin
Part of the tinkabot agent preset.
name: wrap-api-as-plugin description: >- Use when wrapping an HTTP API, OpenAPI/spec, or "wrap X" into a Cursor/Agent Plugin (MCP + skills). Prefer before scaffolding files.
Wrap an API as a plugin
Data shape first
Name the domain type before any files. One line, e.g. FxQuote = { amount, base, date, rates } or PokemonSummary = { id, name, height, weight, types }.
Organize tools around that shape, not around whatever the upstream JSON dumps.
Choose format
- Default: Agent Plugin at repo root:
plugin.json($schemahttps://agent-plugins.org/schemas/1.0.0/plugin.schema.json), optionalmcp.json,skills/<name>/SKILL.md. - Cursor Plugin (
.cursor-plugin/plugin.json) only when you need rules, hooks, agents, or commands.
Docs: https://cursor.com/docs/plugins and https://cursor.com/docs/reference/plugins
Scaffold (smallest)
plugin.jsonwithname,description,version,author.- If MCP:
mcp.jsonwith matching Agent Plugins$schema, stdio server,cwd: "${PLUGIN_ROOT}",command/argsto the server entry. - One thin skill whose description says when to call the tools. Never invent API data in the skill.
- Public no-auth HTTP: zero-dep stdio MCP (hand-rolled JSON-RPC +
fetch) until an SDK earns its install. - Auth APIs: declare plugin
variablesfor secrets; put only${VAR}placeholders inmcp.json. Never commit keys.
Repo work
Non-trivial repo edits go to a CloudAgent. Do not clone product monorepos onto the agent machine for scaffolding.
Prove + publish
Run prove-plugin-local. When the owner wants it listed, run publish-cursor-plugin: ask once if they work at the company/service — yes (or they insist) → Marketplace, no/unsure → cursor.directory. Trust the answer; the approve gate still blocks submit.
Do not
- Submit anywhere without an explicit owner ask + approve gate
- Paste secrets into chat
- Build host-product Slack bot accounts
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл wrap-api-as-plugin?
Use when wrapping an HTTP API, OpenAPI/spec, or "wrap X" into a Cursor/Agent Plugin (MCP + skills). Prefer before scaffolding files.
Как установить скилл wrap-api-as-plugin?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл wrap-api-as-plugin запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…