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.
Best use case
github-pat is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
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.
Teams using github-pat should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/github-token/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How github-pat Compares
| Feature / Agent | github-pat | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
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.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# GitHub PAT Interact with GitHub using Personal Access Tokens. User controls access via PAT scopes. ## Setup User provides their PAT: ``` 1. Create PAT at github.com/settings/tokens 2. Select scopes (repo for full, public_repo for public only) 3. Provide token to agent ``` Store in TOOLS.md or pass via `--token`. ## Commands ```bash # List repos you have access to python3 scripts/gh.py repos [--token TOKEN] # Clone a repo python3 scripts/gh.py clone owner/repo [--token TOKEN] # Create branch python3 scripts/gh.py branch <branch-name> [--repo owner/repo] # Commit and push python3 scripts/gh.py push "<message>" [--branch branch] [--repo owner/repo] # Open a pull request python3 scripts/gh.py pr "<title>" [--body "description"] [--base main] [--head branch] # Create an issue python3 scripts/gh.py issue "<title>" [--body "description"] [--repo owner/repo] # View repo info python3 scripts/gh.py info owner/repo ``` ## Security Model - **User controls access** via PAT scopes - **No OAuth** - no "allow full access" prompts - **Least privilege** - user creates PAT with minimal needed scopes - **Fine-grained PATs** supported for specific repo access ## Token Storage Agent stores token in TOOLS.md under `### GitHub` section. Never expose in logs or messages.
Related Skills
github-kb
Manage a local GitHub knowledge base and provide GitHub search capabilities via gh CLI. Use when users ask about repos, PRs, issues, request to clone GitHub repositories, explore codebases, or need information about GitHub projects. Supports searching GitHub via gh CLI and managing local KB with GITHUB_KB.md catalog. Configure via GITHUB_TOKEN and GITHUB_KB_PATH environment variables.
github-actions-troubleshooting
Troubleshoot GitHub Actions workflows, particularly for Go projects. Diagnose failing workflows, distinguish between code and environment issues, interpret logs, and apply fixes for common CI/CD problems.
super-github
**The ultimate GitHub automation framework.** Combines the best of GitHub skills for issues, PRs, releases.
<!-- https://github.com/gillberto1/moltwallet -->
---
github-mentions
Monitor and track GitHub mentions for your username across your orgs. Queries for new mentions, tracks status (pending/in_progress/completed) to avoid redundant work. Use to check for new mentions or mark mentions as being addressed.
github-pr
Fetch, preview, merge, and test GitHub PRs locally. Great for trying upstream PRs before they're merged.
github-issues
Fetch and manage GitHub issues via the API
flatnotes-tasksmd-github-audit
Thoroughly audit Tasks.md +.
read-github
Read GitHub repos the RIGHT way - via gitmcp.io instead of raw scraping. Why this beats web search: (1) Semantic search across docs, not just keyword matching, (2) Smart code navigation with accurate file structure - zero hallucinations on repo layout, (3) Proper markdown output optimized for LLMs, not raw HTML/JSON garbage, (4) Aggregates README + /docs + code in one clean interface, (5) Respects rate limits and robots.txt. Stop pasting raw GitHub URLs - use this instead.
paylock
Non-custodial SOL escrow for AI agent deals.
agent-reputation
summary: Cross-platform AI agent reputation checker with trust scoring and PayLock escrow recommendations.
Telecom Agent Skill
Turn your AI Agent into a Telecom Operator. Bulk calling, ChatOps, and Field Monitoring.