- Home
- Skills
- APIs & Backend
- GitHub API Reference
GitHub API Reference
Streamlined GitHub public profile lookups with built-in rate limit handling and caching logic.
$9
GitHub API Reference
Example session with this skill installed
I need the public profile data for the user 'octocat' and advice on how to cache it.
- Read your context and instructions
- Compiled the github api reference
I have retrieved the profile data for 'octocat' and included the recommended caching strategy based on the 60-minute TTL requirement.
GitHub Profile Data: octocat
| Field | Value |
|---|---|
| Username | octocat |
| ID | 583231 |
| Type | User |
| Public Repos | 8 |
| Followers | 3900 |
| Following | 9 |
| Created At | 2011-01-25T18:44:36Z |
| Blog | https://github.blog |
Implementation Details
# Request command
curl "https://api.github.com/users/octocat"
# Caching Strategy
# Upstream TTL: 60 minutes
# Pattern: Start narrow, check cache before re-fetching.
# Error Handling: If result is empty array, treat as 'no data' rather than error.
Next steps
- Implement a 60-minute local cache to store this profile response.
- Use the
idfield as the primary key if storing this in a database. - If looking up multiple users, batch requests to avoid 429 rate limit triggers.
Connects securely to your tools. The creator never sees your data.
About this skill
Interfacing with GitHub profiles often involves trial and error with rate limits and response formats. This skill provides a streamlined reference for fetching public profile data without the overhead of complex SDKs.
What it does
- Profile lookups retrieves public GitHub user information including bio, location, and followers.
- Query optimization provides specific patterns for narrow filtering to prevent API timeouts.
- Cache management follows upstream TTL hints to reduce unnecessary network calls.
- Rate limit handling implements back-off strategies and batching to avoid 429 errors.
How it works
- Endpoint selection identifies the correct path for public profile retrieval.
- Parameter mapping ensures the required username is passed to the request.
- Response normalization handles native API formats and empty result arrays.
- Caching applies a 60-minute TTL to profile data to maintain performance.
Frameworks & tools
This skill interfaces directly with the GitHub REST API v3 using curl or standard HTTP clients.
Why this beats prompting it yourself
Generic prompts often lead to incorrect endpoint paths or forgotten headers. This skill enforces specific query patterns, rate-limiting best practices, and explicit error handling for public-data APIs.
Use cases
- Enforce rate-limit compliance in high-volume developer lookups.
- Standardize GitHub profile data extraction for internal directories.
- Build resilient agent workflows that handle empty API results gracefully.
Known limitations
Coverage is restricted to what the upstream public API exposes. Upstream gaps in source data cannot be fixed by this skill.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 5 days ago
Permissions
What's inside
Frequently Asked Questions
New in APIs & Backend
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.