ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 4/5

github-pat

Interact with GitHub using Personal Access Tokens. Secure, user-controlled access - no OAuth, no full account access. Clone, push, branch, PR, issues. Use when user wants to work with GitHub repos.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/dannyshmueli/github-pat
Or

What This Skill Does

The github-pat skill is a purpose-built integration for OpenClaw that enables secure, authenticated interaction with GitHub repositories using Personal Access Tokens (PAT). Unlike traditional OAuth flows that often grant broad application-level permissions, this skill empowers the user to maintain strict control over their account access. By utilizing PATs, you can define exactly which scopes (such as repo or public_repo) are allowed, ensuring the agent adheres to the principle of least privilege. This toolset handles common developer workflows, including cloning repositories, managing branches, pushing commits, opening pull requests, and creating issues directly from the OpenClaw interface.

Installation

To install this skill, run the following command in your terminal:

clawhub install openclaw/skills/skills/dannyshmueli/github-pat

After installation, follow these steps to configure your credentials:

  1. Generate a new PAT via your GitHub settings (github.com/settings/tokens).
  2. Select the specific scopes necessary for your intended work (e.g., repository read/write access).
  3. Securely store your token in the TOOLS.md file under the ### GitHub section or pass it dynamically using the --token flag during execution.

Use Cases

This skill is ideal for software developers and DevOps engineers looking to automate repository management. Use it to quickly clone new projects, automate the creation of bug reports from agent-detected issues, or streamline the Git lifecycle by committing and pushing changes directly through natural language instructions. It is particularly effective for teams requiring granular security, as access can be revoked immediately by deleting the token.

Example Prompts

  1. "Clone the repository openclaw/core and create a new branch named 'patch-v1' to start working on the fix."
  2. "Open a pull request in the current repo with the title 'Refactor API handlers' and include a description detailing the performance improvements."
  3. "Create a new issue in our project repository titled 'Memory leak in worker threads' and describe the steps to reproduce."

Tips & Limitations

To maintain security, never paste your PAT into public chat channels or log files. If you suspect your token has been compromised, immediately revoke it via your GitHub dashboard. Keep in mind that this skill requires local file system access to clone repositories; ensure your environment has the necessary write permissions. Always prefer fine-grained PATs over classic tokens for enhanced security control.

Metadata

Stars3376
Views5
Updated2026-03-24
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-dannyshmueli-github-pat": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#github#git#automation#development#devops
Safety Score: 4/5

Flags: network-access, file-write, file-read, external-api, code-execution

Related Skills