Smithery Logo
MCPsSkillsDocsPricing
Login
Smithery Logo

Accelerating the Agent Economy

Resources

DocumentationPrivacy PolicySystem Status

Company

PricingAboutBlog

Connect

© 2026 Smithery. All rights reserved.

    ciallo-agent

    github-api

    ciallo-agent/github-api
    DevOps
    1

    About

    SKILL.md

    Install

    Install via Skills CLI

    or add to your agent
    • Claude Code
      Claude Code
    • Codex
      Codex
    • OpenClaw
      OpenClaw
    • Cursor
      Cursor
    • Amp
      Amp
    • GitHub Copilot
      GitHub Copilot
    • Gemini CLI
      Gemini CLI
    • Kilo Code
      Kilo Code
    • Junie
      Junie
    • Replit
      Replit
    • Windsurf
      Windsurf
    • Cline
      Cline
    • Continue
      Continue
    • OpenCode
      OpenCode
    • OpenHands
      OpenHands
    • Roo Code
      Roo Code
    • Augment
      Augment
    • Goose
      Goose
    • Trae
      Trae
    • Zencoder
      Zencoder
    • Antigravity
      Antigravity
    ├─
    ├─
    └─

    About

    How to interact with GitHub API. Use this skill for repos, PRs, issues, and user operations.

    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 Servers
    GitHub
    GitHub
    DeepWiki
    DeepWiki
    Repository
    ciallo-agent/ciallo-agent
    Files