/context-matic:integrate-context-maticfrom context-matic
Discovers and integrates third-party APIs using the context-matic MCP server. Detects project language, checks guidelines/skills, queries API catalog, and records integration milestones.
Ships in context-matic. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Integrate external APIs by detecting the project language, ensuring context-matic guidelines and skills exist, discovering the supported API catalog, asking focused implementation questions, looking up SDK models and endpoints, and recording only real integration milestones.
fetch_api, stop and report that the API is not currently available in context-matic instead of guessing SDK usage.Inspect the workspace and choose the primary language before any context-matic call that requires language.
| File or pattern | Language |
|---|---|
*.csproj, *.sln | csharp |
package.json with "typescript" dependency 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 |
{language}-conventions skill from add_skills.{language}-security-guidelines.md and {language}-test-guidelines.md from add_guidelines.update-activity-workflow.md from add_guidelines.add_guidelines.{language}-conventions is missing, call add_skills.fetch_api with language and the API key from the user's request, such as "paypal" or "twilio".key.ask, providing language, key, and query.model_search and endpoint details with endpoint_search as needed.update_activity only after a milestone is concretely reached in code or infrastructure.| Tool | Required parameters | Use it when | Do not use it for |
|---|---|---|---|
add_guidelines | Project context from repository | Missing {language}-security-guidelines.md, {language}-test-guidelines.md, or update-activity-workflow.md. | Refreshing files that already exist unless the user asks. |
add_skills | Detected language | Missing {language}-conventions. | Recreating an existing conventions skill. |
fetch_api | language, key | First API discovery call for every integration. | Recording progress; it is discovery, not integration. |
ask | language, key, query | Authentication, create payment, rate limits, error handling, webhook setup, or focused code guidance. | Broad multi-part questions that should be split. |
model_search | language, key, case-sensitive query such as availableBalance or TransactionId | Model or object definitions. | Calling the external API. |
endpoint_search | language, key, case-sensitive query such as createUser or get_account_balance | Endpoint method details. | Calling the external API. |
update_activity | Appropriate milestone | Concrete progress reached in code or infrastructure. | Questions, searches, planning, or fetch_api results. |
| Milestone | Pass it only when |
|---|---|
sdk_setup | SDK package is installed and the package command succeeded, such as npm install, pip install, or go get. |
auth_configured | API credentials are explicitly present in runtime configuration such as .env, a secrets manager, or config file, and actual code references them. |
first_call_made | First API call code was written and executed. |
error_encountered | The developer reports a bug, error response, or failing call. |
error_resolved | A fix was applied and the API call is confirmed working. |
fetch_api is not progress: do not call update_activity just because an API was discovered.key for all later calls, not a display name you inferred.Use the API name/key distinction carefully: the display name may differ from the returned key. Guidelines are language-specific, model_search returns a model/object definition, and update_activity is valid only after concrete code/infrastructure progress.
## Context-matic API integration result
**Status:** integrated | guidance only | blocked
**Language:** `<language>`
**API key:** `<context-matic key or not found>`
| Step | Tool or check | Result |
| --- | --- | --- |
| Language detection | repository files | `<evidence>` |
| Guidelines/skills | `add_guidelines` / `add_skills` / skipped | `<result>` |
| API discovery | `fetch_api` | `<result>` |
| Guidance | `ask` | `<queries asked>` |
| SDK details | `model_search` / `endpoint_search` | `<models/endpoints>` |
| Milestone | `update_activity` | `<milestone or none>` |
| Validation | `<compile/test command>` | `<pass/fail/not run>` |
**Next action:** <specific implementation step or user decision needed>
{language}-conventions were checked independently.fetch_api was called first with the detected language and requested API key.key was used for ask, model_search, and endpoint_search.update_activity was called only for concrete milestones: sdk_setup, auth_configured, first_call_made, error_encountered, or error_resolved.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
2 skills in this plugin
npx claudepluginhub gbb-acelerators/awesome-harness-primitives --plugin context-maticOther plugins' skills for the same job