Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude loads one when your task matches it, or you run it by name.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
GitHub REST API: Tools for repository metadata, READMEs, user profiles, and rate limit checking
Version: v0.2.0
Install: /plugin install github-api@mearman
Check your current GitHub API rate limit status and remaining requests.
npx tsx scripts/rate-limit.ts [options]
| Option | Description |
|---|---|
--token=TOKEN | GitHub Personal Access Token (optional, overrides GITHUB_TOKEN env var) |
--no-cache | Bypass cache and fetch fresh data from API |
GitHub API Rate Limit Status
-----------------------------
Core API:
Limit: 5,000 requests/hour
Used: 1,234 requests
Remaining: 3,766 requests
Resets in: 23 minutes
Search API:
Limit: 30 requests/minute
Used: 5 requests
Remaining: 25 requests
Resets in: 45 seconds
Authentication: Authenticated (your_token_here)
npx tsx scripts/rate-limit.ts [options]
Options:
--token=TOKEN - GitHub Personal Access Token (optional, overrides GITHUB_TOKEN env var)--no-cache - Bypass cache and fetch fresh data from APIRun from the github-api plugin directory: ~/.claude/plugins/cache/github-api/
GET https://api.github.com/rate_limit
The response contains rate limit information for different API categories:
{
"resources": {
"core": {
"limit": 5000,
"used": 1234,
"remaining": 3766,
"reset": 1697376000
},
"search": {
"limit": 30,
"used": 5,
"remaining": 25,
"reset": 1697372400
}
},
"rate": {
"limit": 5000,
"used": 1234,
"remaining": 3766,
"reset": 1697376000
}
}
| Authentication Type | Core API | Search API |
|---|---|---|
| None (Unauthenticated) | 60/hour | 10/minute |
| Personal Access Token | 5,000/hour | 30/minute |
| OAuth App | 5,000/hour | 30/minute |
| GitHub App Installation | 5,000/hour | 30/minute |
To check your authenticated rate limit, provide a GitHub Personal Access Token:
Via environment variable:
export GITHUB_TOKEN=your_token_here
npx tsx scripts/rate-limit.ts
Via command-line option:
npx tsx scripts/rate-limit.ts --token=your_token_here
Create a token at: https://github.com/settings/tokens
Rate limit status is cached for 5 minutes. Rate limits reset frequently, so short cache times provide near-real-time accuracy while improving performance.
Use the --no-cache flag to bypass the cache.
When you exceed your rate limit:
HTTP 403 Forbidden
{
"message": "API rate limit exceeded for xxx.xxx.xxx.xxx.",
"documentation_url": "https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"
}
Solutions:
If-None-Match headersgithub-repo to get repository information (consumes core quota)github-readme to fetch READMEs (consumes core quota)github-user to get user profiles (consumes core quota)Authentication errors: Verify your token is valid and not expired.
Network errors: Check your internet connection and try again.
Invalid response: The GitHub API may be temporarily unavailable.
Check quota before running many API calls:
npx tsx scripts/rate-limit.ts --token=$GITHUB_TOKEN
Track API usage during development:
npx tsx scripts/rate-limit.ts
Diagnose rate limit problems:
npx tsx scripts/rate-limit.ts --no-cache
reset timestamp is Unix epoch time in secondsnpx claudepluginhub mearman/marketplace --plugin github-apiBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground