Install
$ agentstack add skill-devkay47-skillhub-rest-api-integrator ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ● Environment & secrets Used
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Overview
This skill produces REST API integration code that is production-grade by default — handling the failure modes that basic implementations miss: rate limiting, pagination, transient errors, and credential security. It works for any REST API regardless of provider.
Instructions
When this skill activates, identify the API being integrated from the user's request. Ask for the API documentation link or relevant endpoint details if not provided. Never assume endpoint structure or authentication method — always confirm from documentation or user input.
Authentication: Always retrieve credentials from environment variables, never from hardcoded values. Use os.getenv('API_KEY') in Python or process.env.API_KEY in Node.js. At the start of the integration, check that the required environment variable is set and raise a clear error if it is not — do not fail silently at the first API call.
Pagination: Check the API documentation for the pagination style (cursor-based, page-number-based, or offset-based) and implement the full pagination loop. A function that returns only the first page of results without pagination is incomplete. Always include a max_pages safety limit defaulting to 100 to prevent infinite loops against APIs with unexpected pagination behaviour.
Rate limiting: Implement exponential backoff with jitter for 429 responses. Start at 1 second, double each retry, cap at 60 seconds, and add random jitter of plus or minus 20% to prevent thundering herd on concurrent requests. After 5 consecutive 429 responses, raise an exception rather than retrying indefinitely.
Error handling: Handle these HTTP status codes explicitly. For 400, log the request body and response for debugging. For 401, raise an authentication error pointing to the environment variable. For 403, raise a permissions error with the endpoint and required scope if available. For 404, return None or an empty result rather than an exception, unless the resource is expected to exist. For 429, apply rate limit backoff. For 500, 502, and 503, retry up to 3 times with backoff then raise.
Logging: Log every request at DEBUG level including method, URL, status code, and response time. Log retries at WARNING level. Log authentication failures at ERROR level. Never log the API key or any credentials at any log level.
Example Structure
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: devkay47
- Source: devkay47/SkillHub
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.