Cli Gh

🌐Community
by paulrberg · vlatest · Repository

Cli Gh helps you quickly execute Git commands directly from GitHub, streamlining your workflow and boosting productivity.

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 cli-gh npx -- -y @trustedskills/cli-gh
2

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

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

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

About This Skill

What it does

The cli-gh skill allows AI agents to interact with GitHub repositories using the GitHub CLI. It can be used to list files, create pull requests, and perform other common Git operations directly from within an agent's workflow. This enables automation of tasks related to code management and collaboration on GitHub.

When to use it

  • Automated Code Review: An agent could automatically review changes in a branch and create a pull request with suggested improvements.
  • Repository File Listing: Retrieve a list of files within a specific repository for documentation or analysis purposes.
  • Pull Request Creation: Generate a new pull request based on changes made by the agent, including descriptions and assignee selection.
  • Automated Issue Management: Automatically label or close issues in a GitHub repository based on predefined criteria.

Key capabilities

  • GitHub CLI interaction
  • File listing within repositories
  • Pull request creation
  • Git operations automation

Example prompts

  • "List all files in the 'docs' directory of the 'my-org/my-repo' repository."
  • "Create a pull request from my branch to main, with title 'Fix: typo in README'."
  • "Find and label any open issues tagged as 'bug' in the 'my-org/my-repo' repository."

Tips & gotchas

The agent requires access to a GitHub token with appropriate permissions (e.g., repo) to perform actions on repositories. Ensure the token is securely stored and managed within the agent’s environment.

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
paulrberg
Installs
0

🌐 Community

Passed automated security scans.