tool-integration
Skill4 starsChanged 9 months agoMITView on GitHub
In this repository12 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- architecture-decisionSkill
- code-reviewSkill
- context-managementSkill
- debuggingSkill
- deploymentSkill
- migrationSkill
- performanceSkill
- proposal-writingSkill
- researchSkill
- security-auditSkill
- testingSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
18 rules. About 0 are common, 18 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈18
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Every integration is a contract.
- Distinctive: line 15
Before writing any code:
- Distinctive: line 22
Keep integrations simple and scoped.
- Distinctive: line 26
Write the tool description so Claude knows when to use it and when not to
- Distinctive: line 30
Start with a single operation (e.g., "read" before "read + write + delete")
- Distinctive: line 31
Test with real credentials against a sandbox/test account
- Distinctive: line 32
Verify error handling: what happens with bad input?
- Distinctive: line 38
Document: what it does, how to set it up, what credentials are needed
- Distinctive: line 39
Never hardcode secrets -- use environment variables or secure storage
- Distinctive: line 40
Add the tool to CLAUDE.md skill triggers so Claude knows it's available
- Distinctive: line 44
Check tool health at session start if it's critical to workflow
- Distinctive: line 45
When an integration fails, diagnose before retrying (auth expired?
- Distinctive: line 46
Keep a fallback plan -- if the tool is down, what's the manual alternative?
- Distinctive: line 49
When building a new MCP server:
- Distinctive: line 66
Test every integration with real credentials before documenting it as "working."
- Distinctive: line 67
Never store API keys, tokens, or secrets in tracked files.
- Distinctive: line 68
If an integration costs money per call, add a warning to the tool description.
- Distinctive: line 69
When an integration breaks, check the changelog of the external service first.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill: Tool Integration
When to Use
Activate when connecting Claude Code to external tools, APIs, or services. This includes MCP server setup, API integrations, webhook configurations, and any workflow where Claude needs to interact with systems beyond the local filesystem.
Core Principle
Every integration is a contract. Define what it does, what it expects, how it fails, and how you verify it works. Undocumented integrations become time bombs.
Process
1. Define the Integration
Before writing any code:
- What tool/service are you connecting to?
- What specific operations does Claude need? (read, write, search, execute)
- What authentication is required? (API key, OAuth, service account)
- What are the rate limits, quotas, or costs?
2. Design the Interface
Keep integrations simple and scoped.
- One tool per MCP server when possible. Don't create monolithic tool servers.
- Define clear input/output schemas for each operation
- Include error responses -- what does the tool return when it fails?
- Write the tool description so Claude knows when to use it and when not to
3. Implement and Test
Build the minimum viable integration first.
- Start with a single operation (e.g., "read" before "read + write + delete")
- Test with real credentials against a sandbox/test account
- Verify error handling: what happens with bad input? Network timeout? Auth failure?
- Log the first successful call as proof of life
4. Configure and Document
Make the integration reproducible.
- Store config in
.claude/settings.jsonor equivalent - Document: what it does, how to set it up, what credentials are needed
- Never hardcode secrets -- use environment variables or secure storage
- Add the tool to CLAUDE.md skill triggers so Claude knows it's available
5. Monitor and Maintain
Integrations break silently.
- Check tool health at session start if it's critical to workflow
- When an integration fails, diagnose before retrying (auth expired? endpoint changed? rate limited?)
- Keep a fallback plan -- if the tool is down, what's the manual alternative?
MCP Server Checklist
When building a new MCP server:
- Server starts without errors
- Tool descriptions are clear and specific
- Input validation catches bad parameters before API calls
- Error messages are actionable ("API key expired" not "request failed")
- Rate limiting is respected
- Credentials are loaded from environment, not hardcoded
- README explains setup in under 5 minutes
Anti-Patterns
- God server: One MCP server with 20 tools. Split by domain.
- Silent failure: Tool returns empty result instead of an error. Always surface failures.
- Retry storms: Looping retries on a failed API call. Fail fast, diagnose, fix.
- Missing docs: Integration works on your machine. Nobody else can set it up.
- Credential sprawl: API keys in config files, environment, and hardcoded in 3 places.
Rules
- Test every integration with real credentials before documenting it as "working."
- Never store API keys, tokens, or secrets in tracked files.
- If an integration costs money per call, add a warning to the tool description.
- When an integration breaks, check the changelog of the external service first.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

