integrate-context-matic
Lets your agent connect external services. It finds and integrates third-party APIs to add new features to your project.
What it does
This tool helps connect your code to external services (APIs). It discovers which services are available and how to use them by searching for information about them.
When to use it
- ✓When you want to use an online service in your code (e.g., send an SMS with Twilio).
- ✓When adding a new feature that depends on an external service.
- ✓If you need to understand how a specific service works with your code.
Example of what to ask your AI
“How do I integrate the PayPal API to process payments?”
Want more? Open the sections below.
How to use
The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.
Skill link
Ready-to-paste message
How it works
First, it detects your project's programming language and searches for available APIs. Then, it uses tools to find details on how to connect and use the desired API, asking for your input if more information is needed.
Installation
Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.
In the terminal (Claude Code, Codex, Cursor), in your project folder:
npx skills add github/awesome-copilot --skill integrate-context-maticOr download just the file:
curl -L https://raw.githubusercontent.com/github/awesome-copilot/main/skills/integrate-context-matic/SKILL.md -o SKILL.mdTechnical content (original SKILL.md)
Original text by the author, straight from GitHub.
API Integration
When the user asks to integrate a third-party API or implement anything involving an external API or SDK, follow this workflow. Do not rely on your own knowledge for available APIs or their capabilities — always use the context-matic MCP server.
When to Apply
Apply this skill when the user:
- Asks to integrate a third-party API
- Wants to add a client or SDK for an external service
- Requests implementation that depends on an external API
- Mentions a specific API (e.g. PayPal, Twilio) and implementation or integration
Workflow
1. Ensure Guidelines and Skills Exist
1a. Detect the Project's Primary Language
Before checking for guidelines or skills, identify the project's primary programming language by inspecting the workspace:
| File / Pattern | Language |
|---|---|
*.csproj, *.sln |
csharp |
package.json with "typescript" dep or .ts files |
typescript |
requirements.txt, pyproject.toml, *.py |
python |
go.mod, *.go |
go |
pom.xml, build.gradle, *.java |
java |
Gemfile, *.rb |
ruby |
composer.json, *.php |
php |
Use the detected language in all subsequent steps wherever language is required.
1b. Check for Existing Guidelines and Skills
Check whether guidelines and skills have already been added for this project by looking for their presence in the workspace.
{language}-conventionsis the skill produced by add_skills.{language}-security-guidelines.mdand{language}-test-guidelines.mdare language-specific guideline files produced by add_guidelines.update-activity-workflow.mdis a workflow guideline file produced by add_guidelines (it is not language-specific).- Check these independently. Do not treat the presence of one set as proof that the other set already exists.
- If any required guideline files for this project are missing: Call add_guidelines.
- If
{language}-conventionsis missing for the project's language: Call add_skills. - If all required guideline files and
{language}-conventionsalready exist: Skip this step and proceed to step 2.
2. Discover Available APIs
Call fetch_api to find available APIs — always start here.
- Always provide the
languageparameter using the language detected in step 1a. - Always provide the
keyparameter: pass the API name/key from the user's request (e.g."paypal","twilio"). - If the user did not provide an API name/key, ask them which API they want to integrate, then call
fetch_apiwith that value. - The tool returns only the matching API on an exact match, or the full API catalog (name, description, and
key) when there is no exact match. - Identify the API that matches the user's request based on the name and description.
- Extract the correct
keyfor the user's requested API before proceeding. This key will be used for all subsequent tool calls related to that API.
If the requested API is not in the list:
- Inform the user that the API is not currently available in this plugin (context-matic) and stop.
- Request guidance from user on how to proceed with the API's integration.
3. Get Integration Guidance
- Provide
askwith:language,key(from step 2), and yourquery. - Break complex questions into smaller focused queries for best results:
- "How do I authenticate?"
- "How do I create a payment?"
- "What are the rate limits?"
4. Look Up SDK Models and Endpoints (as needed)
These tools return definitions only — they do not call APIs or generate code.
- model_search — look up a model/object definition.
- Provide:
language,key, and an exact or partial case-sensitive model name asquery(e.g.availableBalance,TransactionId).
- Provide:
- endpoint_search — look up an endpoint method's details.
- Provide:
language,key, and an exact or partial case-sensitive method name asquery(e.g.createUser,get_account_balance).
- Provide:
5. Record Milestones
Call update_activity (with the appropriate milestone) whenever one of these is concretely reached in code or infrastructure — not merely mentioned or planned:
| Milestone | When to pass it |
|---|---|
sdk_setup |
SDK package is installed in the project (e.g. npm install, pip install, go get has run and succeeded). |
…
FAQ
What if the API I want isn't listed?
If the API is not found, the tool will inform you that it's not currently available and ask for your guidance on how to proceed.
What are 'APIs'?
APIs (Application Programming Interfaces) are like bridges that allow different software programs to communicate with each other and share information or functionalities.
What are 'SDKs'?
SDKs (Software Development Kits) are sets of tools, libraries, and documentation that make it easier to integrate an external service into your code.
Details
Original description by the author
Discovers and integrates third-party APIs using the context-matic MCP server. Uses `fetch_api` to find available API SDKs, `ask` for integration guidance, `model_search` and `endpoint_search` for SDK details. Use when the user asks to integrate a third-party API, add an API client, implement features with an external API, or work with any third-party API or SDK.
repo: github/awesome-copilot
Popularity
- GitHub stars
- 40k
- Ranking position
- #5194
- License
- MIT
- Updated
- 10/15/2026
Comments
- …
More skills from this repository
acquire-codebase-knowledge
Helps your agent understand and document an existing code project. It's useful for onboarding new people or getting an overview of the architecture.
github/awesome-copilot
acreadiness-assess
Enables your agent to assess a project's readiness for AI and generate a report. It's useful for understanding how well a project is prepared to use AI tools.
github/awesome-copilot
acreadiness-generate-instructions
Helps your agent create instructions for AI tools based on an assessment. It's useful for improving how AI interacts with code and closing identified gaps.
github/awesome-copilot
acreadiness-policy
Enables your agent to help define or apply policies for AI project assessment. It's useful for standardizing how projects are evaluated and ensuring compliance.
github/awesome-copilot
Similar skills
api-connector-builder
Has your agent build new API connections following the existing pattern. Use when you need to add one more integration without creating a new way of doing things.
affaan-m/ECC
api-design
Helps your agent design REST APIs following best practices. It's useful for defining how APIs communicate, how errors are shown, and how to organize data.
affaan-m/ECC
backend-patterns
Helps your agent with server-side architecture patterns and database optimization. It's useful for building or reviewing code that runs on the server.
affaan-m/ECC