Connector Builder logo

Connector Builder

Community
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".

Overview

Publisherandreaswasita
Repositorycopilot-cowork-dojo
Skill nameconnector-builder
Stars
36
Forks
9
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by andreaswasita on GitHub. Read the source before you install it.

Installation

Install the Connector Builder AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/andreaswasita/copilot-cowork-dojo/tree/main/skills/connector-builder
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Connector Builder in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Connector Builder on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Connector Builder is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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

Frequently asked questions

What does the Connector Builder AI skill do?

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".

Why use Connector Builder on TypingMind?

Because you install it once and use it with any model. Connector Builder is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Connector Builder in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/andreaswasita/copilot-cowork-dojo/tree/main/skills/connector-builder. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Connector Builder?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Connector Builder?

As many as you like. As long as a model supports skills, you can use Connector Builder with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Connector Builder AI skill free?

Yes. It is published on GitHub by andreaswasita under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇