.claude/skills/api-github/SKILL.md
GitHub REST API for issues, PRs, repos. Uses PAT for headless/CI. Activate for GitHub operations.
npx skillsauth add d0nghyun/neuron api-githubInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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 headerdatabases
Notion schedule management. Query today/weekly schedules, add/modify/complete schedules.
testing
Recap session memory into vault and validate vault structure
testing
Counterfactual review of decision paths after Moderate+ tasks
tools
Create a release with version tag. Converts UNRELEASED.md to version file and creates git tag.