Logo di Connector Builder

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

Panoramica

Pubblicato daandreaswasita
Repositorycopilot-cowork-dojo
Nome della skillconnector-builder
Stelle
36
Fork
9
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da andreaswasita su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Connector Builder in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/andreaswasita/copilot-cowork-dojo/tree/main/skills/connector-builder
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Connector Builder in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Connector Builder non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Connector Builder non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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

Domande frequenti

Cosa fa la skill IA 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".

Perché usare Connector Builder su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Connector Builder è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Connector Builder in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/andreaswasita/copilot-cowork-dojo/tree/main/skills/connector-builder. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Connector Builder?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Connector Builder?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Connector Builder: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Connector Builder è gratuita?

Sì. È pubblicata su GitHub da andreaswasita con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇