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ファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    andreaswasitaがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Connector Builder」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/andreaswasita/copilot-cowork-dojo/tree/main/skills/connector-builder
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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で使用

TypingMindのチャットでConnector Builderを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にConnector Builderを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Connector Builderは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じ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

よくある質問

AIスキル「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".

TypingMindでConnector Builderを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Connector Builderはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにConnector Builderをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/andreaswasita/copilot-cowork-dojo/tree/main/skills/connector-builderを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Connector Builderを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Connector Builderで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもConnector Builderを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Connector Builder」は無料ですか?

はい。andreaswasitaがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇