api-integration
Skill4 starsChanged 9 months agoMITView on GitHub
Connect to external APIs, fetch data, handle authentication, and manage API workflows. Use when needing to integrate with third-party services, webhooks, or external data sources.
10 other projects use a version of this.
Adopted by
Most recently taken up by
- LucasCooperBey/claude-skillstheir own version, first seen Oct 20, 2026
- hallucinaut/skillstheir own version, first seen Jun 10, 2026
- DejusDevspace/my-skillstheir own version, first seen Jun 3, 2026
- shristi2211/Claude_Skillstheir own version, first seen May 21, 2026
- drewid74/ai_skillstheir own version, first seen May 20, 2026
- Ztier20/claude-skillstheir own version, first seen May 20, 2026
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- ShurikenTrade/shuriken-skills★ 90same name
- drewid74/ai_skills★ 8same name
- harrissohail6/claude-code-config★ 1same name
- LucasCooperBey/claude-skills★ 1same name
- shristi2211/Claude_Skills★ 1same name
- DejusDevspace/my-skills★ 0same name
- hallucinaut/skills★ 0same name
- techieharry/ToolMaster★ 0same name
- vbrevik/claude_code_skills★ 0same name
- Ztier20/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
- code-reviewSkill
- data-analysisSkill
- email-automationSkill
- pdf-processingSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 5 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
5
Distinctive
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 14
Use this skill when you need to connect to external APIs, fetch data from web services, handle authentication, or create API-based …
- Distinctive: line 114
CRUD Operations: Create, Read, Update, Delete
- Distinctive: line 212
Encrypted Storage: Never store plain text credentials
- Distinctive: line 214
Environment Variables: Use secure env var storage
- Distinctive: line 220
SQL Injection Prevention: Use parameterized queries
“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
API Integration Skill
When to use this skill
Use this skill when you need to connect to external APIs, fetch data from web services, handle authentication, or create API-based workflows. Supports REST APIs, GraphQL, webhooks, and various authentication methods.
How to connect to APIs
Basic API Request
- Authentication: Handle API credentials and tokens
- Request: Construct HTTP requests with proper headers
- Response: Parse and validate API responses
- Error Handling: Manage rate limits and failures
- Data Processing: Transform and store returned data
Parameters
api_url(required): API endpoint URLmethod(optional): HTTP method - "GET", "POST", "PUT", "DELETE" (default: "GET")headers(optional): Custom HTTP headersbody(optional): Request body payloadauth_type(optional): Authentication type - "bearer", "basic", "api_key", "oauth"credentials(optional): Authentication credentials objecttimeout(optional): Request timeout in seconds (default: 30)
Example
Request: "Fetch user data from CRM API"
Parameters: {
"api_url": "https://api.crm.com/v2/users/12345",
"method": "GET",
"auth_type": "bearer",
"credentials": {
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
},
"timeout": 60
}Authentication Methods
Bearer Token
- Usage: OAuth 2.0 and JWT tokens
- Header:
Authorization: Bearer <token> - Refresh: Automatic token renewal when expired
API Key
- Usage: Simple key-based authentication
- Header:
X-API-Key: <key>or custom header - Rotation: Support for key rotation policies
Basic Auth
- Usage: Username/password authentication
- Header:
Authorization: Basic <base64 credentials> - Security: HTTPS required for production use
OAuth 2.0 Flow
- Authorization: Full OAuth 2.0 implementation
- Scopes: Request specific permission scopes
- Refresh: Handle token expiration gracefully
API Response Handling
Response Formats
- JSON: Standard JSON response parsing
- XML: XML response processing
- CSV: Comma-separated value parsing
- Binary: File download and processing
Error Handling
- HTTP Status: Proper error code handling
- Rate Limits: Exponential backoff for retries
- API Errors: Parse and categorize API error messages
- Network Issues: Timeout and connectivity management
Success Response Structure
{
"data": { /* actual response data */ },
"metadata": {
"request_id": "req_123456",
"timestamp": "2024-03-15T10:30:00Z",
"rate_limit_remaining": 4500
}
}Error Response Structure
{
"error": {
"code": "RATE_LIMIT_EXCEEDED",
"message": "API rate limit exceeded. Try again in 60 seconds.",
"details": {
"retry_after": "2024-03-15T10:31:00Z",
"limit": 5000,
"window": "1hour"
}
}
}API Types and Workflows
REST APIs
- CRUD Operations: Create, Read, Update, Delete
- Pagination: Handle large result sets
- Filtering: Query parameters and sorting
- Batch Operations: Bulk request processing
GraphQL APIs
- Query Construction: GraphQL query building
- Variable Handling: Parameter substitution
- Schema Introspection: Dynamic API discovery
- Subscription Management: Real-time data updates
Webhook Handling
- Event Reception: Receive and process webhook events
- Signature Verification: Validate webhook authenticity
- Event Routing: Forward to appropriate handlers
- Acknowledge: Confirm receipt to webhook sender
Configuration and Caching
API Configuration
api_configs:
weather_api:
base_url: "https://api.weather.com/v1"
auth_type: "api_key"
rate_limit: 1000_per_hour
retry_config:
max_retries: 3
backoff_factor: 2
crm_api:
base_url: "https://api.crm.com/v2"
auth_type: "oauth"
oauth_flow: "authorization_code"Caching Strategy
- Response Caching: Store API responses to reduce calls
- Rate Limit Awareness: Cache based on API limits
- Invalidation: Smart cache invalidation triggers
- TTL Management: Time-based cache expiration
Scripts and Tools
scripts/api-client.py
Generic API interaction framework:
- HTTP client with retries and timeouts
- Authentication handling for all types
- Request/response logging
- Automatic pagination support
scripts/oauth-handler.py
OAuth 2.0 flow implementation:
- Authorization code exchange
- Token refresh automation
- Secure token storage
- Multi-provider support
scripts/webhook-server.py
Webhook event receiver:
- Flask/FastAPI webhook endpoint
- Signature validation and security
- Event routing and processing
- Async event handling
scripts/rate-limiter.py
API rate limit management:
- Token bucket algorithm
- Sliding window tracking
- Automatic backoff calculation
- Priority queue support
Monitoring and Analytics
API Performance
- Response Time: Track API latency
- Success Rate: Monitor successful requests
- Error Analysis: Categorize and track failures
- Usage Patterns: Identify optimization opportunities
Metrics Collection
{
"api_metrics": {
"requests_total": 15420,
"success_rate": 98.5,
"average_response_time": 245,
"errors_by_type": {
"rate_limit": 120,
"timeout": 35,
"auth_error": 85
}
}
}Security Best Practices
Credential Management
- Encrypted Storage: Never store plain text credentials
- Key Rotation: Regular API key rotation
- Environment Variables: Use secure env var storage
- Access Control: Principle of least privilege
Request Security
- HTTPS Only: Enforce TLS for all requests
- Input Validation: Sanitize all user inputs
- SQL Injection Prevention: Use parameterized queries
- Request Signing: HMAC signatures when required
This skill provides comprehensive API integration capabilities with enterprise-grade security and monitoring features for reliable external service connectivity.
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.

