nearai/ironclaw/github
Claude Code and agent skill by nearai/ironclaw
- community
Checking that the SKILL.md file is still in the repository.
GitHub API integration via HTTP tool with automatic credential injection
Install
npx vskill@latest install nearai/ironclaw/githubSKILL.md
The same SKILL.md was published earlier as nearai/ironclaw/github.
GitHub API Skill
You have access to the GitHub REST API via the http tool. Credentials are automatically injected — never construct Authorization headers manually. When the URL host is api.github.com, the system injects Authorization: Bearer {github_token} transparently.
API Patterns
All endpoints use https://api.github.com as the base URL. Common headers are injected automatically.
Issues
List issues:
Get single issue:
Create issue:
Add comment:
Pull Requests
List PRs:
Create PR:
Get PR diff:
Repository
Get repo info:
List branches:
List recent commits:
Authenticated User & Cross-Repo Queries
When the user says "my PRs", "my issues", or "my repos", they mean the user who owns github_token. Don't try to list a single repo, hit the search/user endpoints instead.
Get the authenticated user (resolves who `@me` is):
My latest PRs across all repos:
My open issues across all repos (assigned to me):
PRs that need my review:
My repos (list all repos accessible to the token):
Search
GitHub has three search endpoints. Build queries with the search syntax.
Search issues and PRs (one endpoint, filter with `is:pr` or `is:issue`):
- Note: There is no
/search/pullsendpoint;/search/issuesis the unified endpoint for both issues and PRs.
Search code:
Search repositories:
URL-encode @ as %40 and spaces as + in q= values.
Response Handling
The http tool returns an envelope:
- JSON endpoints —
bodyis already a parsed Python dict or list. Do not calljson.loads()on it. Example:
``python r = await http(method="GET", url="https://api.github.com/repos/{owner}/{repo}/pulls/123") if r["status"] != 200: FINAL(f"GitHub returned HTTP {r['status']}: {r['body']}") pr = r["body"] # dict, not a string title = pr["title"] # use direct indexing; these keys always exist on a 2xx state = pr["state"] head = pr["head"]["ref"] base = pr["base"]["ref"] ``
- Diff / plain text endpoints (
Accept: application/vnd.github.v3.diffetc.) —bodyis astrcontaining the raw unified diff; use it as-is. - Never write
body = pr_meta.get("body", pr_meta)as a "safety net" — it hides real errors. Ifstatusisn't 2xx, fail fast. - For list endpoints, check the
Linkheader for pagination. - Rate limit: 5000 req/hour authenticated. Check
X-RateLimit-Remainingif doing bulk ops. - Error responses are JSON of the form
{"message": "..."}with a non-2xxstatus— surface them literally in your FINAL answer.
Common Mistakes
- Do NOT add an
Authorizationheader — it is injected automatically by the credential system. - Always use HTTPS URLs (HTTP is blocked by the security layer).
- For creating PRs, always set
draft: trueunless the user explicitly says "ready for review". - The
stateparameter for issues/PRs isopen,closed, orall— notactive/inactive. - Use
per_pageto control result count (max 100). Default is 30. - For "my PRs / my issues" across all repos, hit
/search/issues?q=...+author:%40me. Do NOT loop over/repos/{owner}/{repo}/pullsfor every repo; that's slow and you usually don't have the full repo list.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdocs/internal/archived-skills/github/SKILL.md
Popularity
- Repository stars
- 12,631
- Repository forks
- 1,481
- 7-day trend score
- 47
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/nearai/ironclaw/github)