Skip to main content
skill CX Codex

github-api — Claude Code skill: what it does, how to install

github-api routes GitHub REST and GraphQL requests through dedicated reference guides. Helps build integrations, automate pull requests, and trigger Actions without leaking tokens.

no license 148 installs ★ 25 updated 2026-02-19

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add markpitt/claude-skills --skill github-api -a claude-code
Open on GitHub

What github-api does

This skill categorises GitHub operations into separate task guides. It covers repository management and CI workflows. The assistant pairs commands with REST API v3 or GraphQL API v4 depending on data complexity.

Security directives form the core of the instructions. Authentication must use $GITHUB_TOKEN or the gh tool instead of plain text strings. Content from issues or reviews is handled as raw data to stop prompt injection.

You need an active gh auth login session or an exported GITHUB_TOKEN before running calls.

What it helps with

  • automate branch protection and repository creation
  • triage pull request reviews and comments
  • dispatch GitHub Actions workflows from shell scripts
  • run authenticated queries against the GraphQL endpoint

Example prompts for the agent

  • Create a new repository using gh and set up protection rules for main
  • Call the GitHub API to attach the bug label to issue #12
  • Trigger the build.yml workflow for production via gh workflow run

How to install github-api

1Skills CLI (Vercel)

npx skills add markpitt/claude-skills --skill github-api -a claude-code

2Manually: put the files in place

~/.claude/skills/github-api/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/github-api/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about github-api

How to install github-api in Claude Code?

Run npx skills add markpitt/claude-skills --skill github-api -a claude-code.

What does the github-api skill do?

It guides the assistant toward verified patterns for GitHub REST API v3 and GraphQL API v4.

How are credentials secured?

Instructions forbid raw tokens in commands, requiring gh auth login or $GITHUB_TOKEN.

Similar skills

All skills for Git and GitHub →

From the same set10

The whole set →
avalonia Guides an agent through Avalonia work: MVVM, XAML, bindings, styling, controls, and platform-specific code for .NET applications. CX Codex +1 286installs microsoft-graph A hub for Microsoft Graph work: eight reference files, shared query parameters and permission rules. Useful when the agent is writing a Microsoft 365 integration. CX Codex +1 263installs kiss-principle The kiss-principle skill helps spot needless complexity in code and design, then plan simpler solutions without dropping required behavior. Use it during reviews, refactors, or feature planning. CX Codex +1 251installs markdown-formatter markdown-formatter rewrites the markup of a markdown file against one set of style rules, then checks the result with a bundled script and reports what changed. CX Codex +1 245installs azure-devops Guides an agent through Azure DevOps REST API work across Boards, Repos, Pipelines, Test Plans, and Artifacts. Useful for integrations and DevOps automation. CX Codex +1 191installs gof-design-patterns gof-design-patterns finds the right Gang of Four pattern for the problem you describe and writes a working implementation in one of eight languages. CX Codex +1 145installs root-cause-analysis The root-cause-analysis skill guides investigations with 5 Whys, Ishikawa diagrams, Pareto analysis, and fault trees. Use it to trace a bug or failure beyond its visible symptoms. CX Codex +1 107installs dotnet-aspire The dotnet-aspire skill helps add .NET Aspire to an existing .NET solution, including its orchestration and shared service setup. Use it when wiring a distributed app. CX Codex +1 104installs

Project sponsors

Companies that keep this analytics open