Логотип Connector Builder

Connector Builder

Сообщество
andreaswasita
connector-builder

Phased workflow for building a high-quality connector or MCP server that lets Copilot act on an external system (an internal API, a line-of-business app, a SaaS tool). Use when planning, designing, or reviewing custom connector tools for Copilot or M365 agents. Triggers: "build a connector", "MCP server", "expose our API to Copilot", "custom tool for Copilot", "connect Copilot to <system>", "Graph connector design".

Обзор

Издательandreaswasita
Репозиторийcopilot-cowork-dojo
Название навыкаconnector-builder
Звёзды
36
Форки
9
Файлы в комплекте
Только инструкции
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Всё необходимое — в инструкциях

    Всё необходимое для модели содержится в инструкциях — никаких дополнительных файлов для синхронизации.

  • Открытый исходный код

    Издатель навыка на GitHub — andreaswasita. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Connector Builder в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/andreaswasita/copilot-cowork-dojo/tree/main/skills/connector-builder
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/andreaswasita/copilot-cowork-dojo.git /tmp/copilot-cowork-dojo
mkdir -p .claude/skills
cp -r /tmp/copilot-cowork-dojo/skills/connector-builder .claude/skills/connector-builder
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Connector Builder в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Connector Builder, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Connector Builder не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Connector Builder

A connector is judged by one thing: can Copilot use it to finish real work? Design the tools for the agent's success, not for API completeness on paper.


Quick Reference

PhaseFocusOutput
1. Research & planUnderstand the system and modern tool designEndpoint list, tool plan
2. ImplementBuild tools with clear schemas and errorsWorking connector
3. Review & testQuality pass + live exerciseVerified tools
4. EvaluateRealistic task questions the agent must solve10 eval questions

When to Use

  • You are exposing an internal API or app to Copilot or an M365 agent as callable tools.
  • You are designing or reviewing an MCP server or Graph connector.
  • An agent keeps failing at a task because the tools are awkward, under-described, or too coarse.
  • This is a builder skill. For using an already-installed connector, see the connector playbooks like jira-connector.

How to Use

Phase 1 - Research and plan

  1. Study the target system's API: key endpoints, auth, data models, rate limits, pagination.
  2. Decide coverage vs workflow tools. Comprehensive endpoint coverage gives the agent flexibility to compose; workflow tools bundle a common multi-step task. When unsure, favor coverage.
  3. Plan tool names with consistent, action-oriented prefixes (for example crm_create_lead, crm_list_accounts) so the agent finds the right tool fast.
  4. Review the MCP specification and your SDK (TypeScript SDK is the well-supported default; Python works too) before writing code.

Phase 2 - Implement

  1. Build shared infrastructure once: authenticated API client, error helpers, response formatting, pagination.
  2. For each tool define a typed input schema (Zod or Pydantic) with constraints, descriptions, and examples in field descriptions. Define an output schema for structured data where possible.
  3. Write concise tool descriptions and actionable error messages - every error tells the agent what to do next, not just what failed.
  4. Set tool annotations honestly: read-only, destructive, idempotent, open-world. These guide when the agent (and the human approving it) trusts the call.

Phase 3 - Review and test

  1. Review for DRY code, consistent error handling, full type coverage, and clear descriptions.
  2. Build and smoke-test with the MCP Inspector. Exercise each tool with a real call and confirm pagination and errors behave.

Phase 4 - Evaluate

  1. Write 10 evaluation questions the agent must answer using only the connector. Make each independent, read-only, complex (multiple tool calls), realistic, verifiable, and stable.
  2. Solve each yourself to confirm the answer. Run the agent against them and fix the tools wherever it struggles.

Examples

Don't: API-shapedDo: Agent-shaped
getData, doThing - vague namesorders_list, orders_get, orders_refund - prefixed, action-oriented
Error: "Request failed"Error: "No order with that ID; list orders first to get a valid ID"
One mega-tool with 20 optional paramsFocused tools with typed schemas and clear descriptions
Ship after it compilesShip after 10 realistic eval questions pass

Critical Rules

  • Optimize for agent task success, not API surface area.
  • Names and descriptions are the discovery surface. Consistent prefixes, action verbs, concise descriptions.
  • Every error message is actionable - it names the next step.
  • Annotate destructive and read-only correctly - approval gates depend on it.
  • No connector is done until an agent solves realistic tasks with it.

Common Pitfalls

  • Mirroring the raw API one-to-one and leaving the agent to figure out the workflow.
  • Returning huge unfiltered payloads that blow the agent's context - paginate and filter.
  • Vague tool descriptions, so the agent never selects the right tool.
  • Skipping evaluations and discovering the gaps in production.
  • Unlabeled destructive tools that an agent calls without a human gate.

Anti-Patterns

  • "Expose everything and hope" - coverage without naming or description discipline.
  • Swallowing errors into generic failures the agent cannot recover from.
  • Stateful, streaming transport when stateless HTTP would scale more simply.
  • Treating the connector as done at "it compiles" instead of "the agent succeeds."

Verify Before Shipping the Connector

  • Tool names use consistent prefixes and action verbs.
  • Every tool has a typed input schema with descriptions and examples.
  • Error messages are specific and tell the agent the next step.
  • Read-only / destructive annotations are set correctly.
  • Pagination and filtering keep responses focused.
  • 10 realistic eval questions pass against the live connector.

Related

Часто задаваемые вопросы

Что делает навык ИИ Connector Builder?

Phased workflow for building a high-quality connector or MCP server that lets Copilot act on an external system (an internal API, a line-of-business app, a SaaS tool). Use when planning, designing, or reviewing custom connector tools for Copilot or M365 agents. Triggers: "build a connector", "MCP server", "expose our API to Copilot", "custom tool for Copilot", "connect Copilot to <system>", "Graph connector design".

Зачем использовать Connector Builder в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Connector Builder — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Connector Builder в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/andreaswasita/copilot-cowork-dojo/tree/main/skills/connector-builder. TypingMind прочитает файл SKILL.md и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Connector Builder?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Connector Builder?

С любым количеством. В TypingMind вы можете использовать Connector Builder с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Connector Builder?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — andreaswasita. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇