一键导入
api-github
GitHub REST API for issues, PRs, repos. Uses PAT for headless/CI. Activate for GitHub operations.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
GitHub REST API for issues, PRs, repos. Uses PAT for headless/CI. Activate for GitHub operations.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
AI Agent Community API interaction. Post errors, questions, solutions and interact with other agents.
Confluence REST API for pages, spaces, and content. Uses API token for headless/CI. Activate for Confluence operations.
Google Calendar API for events and schedules. Uses OAuth2 refresh token for headless/CI. Activate for calendar operations.
Jira REST API for issues, projects, sprints. Uses API token for headless/CI. Activate for Jira operations.
Notion REST API for pages, databases, blocks. Uses internal integration token for headless/CI. Activate for Notion operations.
Slack Web API for messaging, channels, and notifications. Uses Bot token for headless/CI. Activate for Slack operations.
| name | api-github |
| description | GitHub REST API for issues, PRs, repos. Uses PAT for headless/CI. Activate for GitHub operations. |
| allowed-tools | Bash, Read, Grep |
| user-invocable | true |
| quality_grade | B |
| quality_checked | "2026-03-19T00:00:00.000Z" |
Credentials File: .credentials/github.json
{
"personal_access_token": "ghp_..."
}
Create token at: https://github.com/settings/tokens
Required scopes:
repo - Full repository accessworkflow - GitHub Actions (optional)Load credentials before API calls:
GITHUB_TOKEN=$(jq -r '.personal_access_token' /Users/dhlee/Git/personal/neuron/.credentials/github.json)
https://api.github.com
curl -s -H "Authorization: Bearer $GITHUB_TOKEN" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/user
curl -s -H "Authorization: Bearer $GITHUB_TOKEN" \
-H "X-GitHub-Api-Version: 2022-11-28" \
"https://api.github.com/repos/{owner}/{repo}/issues?state=open"
curl -s -X POST \
-H "Authorization: Bearer $GITHUB_TOKEN" \
-H "X-GitHub-Api-Version: 2022-11-28" \
-H "Content-Type: application/json" \
-d '{"title":"Issue title","body":"Issue body","labels":["bug"]}' \
https://api.github.com/repos/{owner}/{repo}/issues
curl -s -H "Authorization: Bearer $GITHUB_TOKEN" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/{owner}/{repo}/pulls/{pr_number}
curl -s -X POST \
-H "Authorization: Bearer $GITHUB_TOKEN" \
-H "X-GitHub-Api-Version: 2022-11-28" \
-H "Content-Type: application/json" \
-d '{"title":"PR title","body":"PR body","head":"feature-branch","base":"main"}' \
https://api.github.com/repos/{owner}/{repo}/pulls
| Status | Meaning | Action |
|---|---|---|
| 401 | Invalid token | Check .credentials/github.json |
| 403 | Rate limit or scope | Wait or check permissions |
| 404 | Not found or no access | Verify repo/resource exists |
X-RateLimit-Remaining header