Github Api

🌐Community
by markpitt · vlatest · Repository

Helps with GitHub, API as part of agent workflows workflows.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add github-api npx -- -y @trustedskills/github-api
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "github-api": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/github-api"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

The github-api skill enables AI agents to interact directly with GitHub's API, allowing them to retrieve repository data, manage issues, and automate workflow tasks within the platform. It serves as a bridge between autonomous agents and code hosting infrastructure, facilitating seamless integration for development operations.

When to use it

  • Automating routine repository maintenance tasks like updating issue statuses or closing stale pull requests.
  • Fetching specific commit histories or file contents to analyze code changes without manual inspection.
  • Triggering automated deployments or creating new branches based on AI-generated logic.
  • Querying user permissions and organization settings to ensure compliance before executing actions.

Key capabilities

  • Direct access to GitHub REST API endpoints for data retrieval and manipulation.
  • Ability to create, update, and delete issues and pull requests programmatically.
  • Support for authentication flows required to access private repositories.
  • Integration with GitHub Actions workflows for event-driven automation.

Example prompts

  • "Search for all open issues in the trustedskills repository that are tagged with 'bug' and summarize their descriptions."
  • "Create a new issue titled 'Update documentation links' in the project repository and assign it to the current user."
  • "Fetch the latest commit message from the main branch of this repository and format it for a release note."

Tips & gotchas

Ensure your AI agent has valid OAuth tokens or personal access tokens with the necessary scopes (e.g., repo, issues) before attempting to modify resources. Rate limiting is enforced by GitHub, so avoid sending rapid-fire requests that could trigger temporary blocks on the agent's identity.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
markpitt
Installs
48

🌐 Community

Passed automated security scans.