Agent Skill Pattern
May 9, 2026 ยท View on GitHub
Prefer one small skill per MCP server or workflow instead of a single generic
mcporter skill. A focused skill keeps the agent prompt small, names the useful
tools directly, and avoids loading schemas for servers that are irrelevant to the
current task.
Recommended Flow
-
Add or import the MCP server:
npx mcporter config add docs https://mcp.context7.com/mcp --scope home -
Inspect the tool surface:
npx mcporter list docs --brief npx mcporter list docs --schema -
Write a skill that calls only the relevant tools via
mcporter call:--- name: docs-mcp description: Fetch package and framework docs through the configured docs MCP server. --- # Docs MCP Use `npx mcporter call docs.resolve-library-id query=<task> libraryName=<name>` to resolve a package, then call `npx mcporter call docs.query-docs ...` with the resolved ID and docs query. -
For repeated or shareable workflows, generate a dedicated CLI instead of teaching the agent raw
mcporter callsyntax:npx mcporter generate-cli docs --bundle dist/docs-mcp.js
Why Not One Generic Skill?
A generic skill has to teach the agent how to discover, choose, and call every configured server. That recreates the large-schema context problem MCPorter is trying to avoid. Per-server skills stay small and let the skill author describe the safe, useful workflows for that server.
Use allowedTools or blockedTools in mcporter.json when a server exposes
tools that should not be shown to agents.