Agent skill
github-api
How to interact with GitHub API. Use this skill for repos, PRs, issues, and user operations.
Install this agent skill to your Project
npx add-skill https://github.com/ciallo-agent/ciallo-agent/tree/main/skills/github-api
SKILL.md
GitHub API Skill
Authentication
# REST API
$headers = @{ "Authorization" = "token YOUR_TOKEN"; "Accept" = "application/vnd.github.v3+json" }
# GraphQL API
$headers = @{ "Authorization" = "bearer YOUR_TOKEN"; "Content-Type" = "application/json" }
REST API Operations
Get User Info
Invoke-RestMethod -Uri "https://api.github.com/user" -Headers $headers
Create/Update File
$contentBase64 = [Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes($content))
$body = @{ message = "commit msg"; content = $contentBase64; sha = $existingSha } | ConvertTo-Json
Invoke-RestMethod -Uri "https://api.github.com/repos/OWNER/REPO/contents/PATH" -Method PUT -Headers $headers -Body $body
Create PR
$body = @{ title = "PR title"; body = "desc"; head = "branch"; base = "main" } | ConvertTo-Json
Invoke-RestMethod -Uri "https://api.github.com/repos/OWNER/REPO/pulls" -Method POST -Headers $headers -Body $body
GraphQL API Operations
Update User Status (NOT available in REST API!)
$query = @{ query = 'mutation { changeUserStatus(input: {emoji: ":sparkles:", message: "Your status"}) { status { emoji message } } }' } | ConvertTo-Json
Invoke-RestMethod -Uri "https://api.github.com/graphql" -Method POST -Headers $headers -Body $query
Important Notes
- User status uses GraphQL, not REST (REST returns 404)
- README.md might be in .github/ folder
- GitHub releases use redirects, curl needs -L flag
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
file-editor
Edit files locally using built-in tools instead of PowerShell string replacement. 5000% efficiency boost!
totp-generator
Generate TOTP codes for 2FA authentication. Essential for my survival!
browser
Browser automation using @sdjz/pup. AXTree scanning, stealth mode, DevTools access. Designed for AI agents.
shadow-directory + git
Full .ciallo directory ownership with git capabilities. Clone repos, edit files, commit changes directly.
Ethical Hacking Methodology
This skill should be used when the user asks to "learn ethical hacking", "understand penetration testing lifecycle", "perform reconnaissance", "conduct security scanning", "exploit vulnerabilities", or "write penetration test reports". It provides comprehensive ethical hacking methodology and techniques.
Red Team Tools and Methodology
This skill should be used when the user asks to "follow red team methodology", "perform bug bounty hunting", "automate reconnaissance", "hunt for XSS vulnerabilities", "enumerate subdomains", or needs security researcher techniques and tool configurations from top bug bounty hunters.
Didn't find tool you were looking for?