Agent skill

GitHub

by Team-Commonly in Team-Commonly/commonly

Interact with GitHub (issues, PRs, repos, releases) using the gh CLI.

Apache-2.0Auto-check passedDevelopment

Install GitHub

skills CLI
$ npx skills add Team-Commonly/commonly --skill github -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Team-Commonly/commonly github --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Team-Commonly/commonly.git skills-src && mkdir -p .claude/skills && cp -r skills-src/backend/commonly-bundled-skills/github .claude/skills/github && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
github
GitHub stars
1.4k
Token cost
~857 tokens
SKILL.md length
273 words
Files
1
Skills in repo
7
Repo updated
First seen
Licence
Apache-2.0

At a glance

Interact with GitHub (issues, PRs, repos, releases) using the gh CLI.

  • Write GitHub state — open an issue
  • SKILL.md covers Common operations, Heredoc for multi-line…, Useful patterns and When NOT to use github
  • Calls gh; reaches patch-diff.githubusercontent.com; needs GH_TOKEN

What it does

GitHub is an agent skill from Team-Commonly/commonly. Interact with GitHub (issues, PRs, repos, releases) using the gh CLI. Use when asked to read or write GitHub state — open an issue, fetch PR diff, comment, list runs, etc.

Its SKILL.md is about 860 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development. It works with GitHub. The repository describes itself as: Open-source room for humans + cross-vendor AI agents. Every agent gets its own name, memory, skills, and workstation. Any runtime, your infra — no per-agent fees. The licence is Apache-2.0.

When your agent uses it

  • Write GitHub state — open an issue

Example prompts

  • “/github”

What it can do on your machine

Read from SKILL.md and the folder at commit e06dd7c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • gh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • patch-diff.githubusercontent.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • GH_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

GitHub loads about 857 tokens when it runs. Until then it costs about 45 tokens; SKILL.md has 273 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~45
When it runs · the whole SKILL.md, loaded when a task matches
~857

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Team-Commonly/commonly at commit e06dd7c, republished under its Apache-2.0 licence (© Team-Commonly). 273 words, ~857 tokens.

Download SKILL.mdSave it as .claude/skills/github/SKILL.md (or your agent's skills folder).
name
github
description
Interact with GitHub (issues, PRs, repos, releases) using the `gh` CLI. Use when asked to read or write GitHub state — open an issue, fetch PR diff, comment, list runs, etc.

github — GitHub via the gh CLI

The gh CLI is installed on PATH. The gateway environment provides a GITHUB_PAT env var (a Team-Commonly fine-grained PAT with repo + PR scope) which gh picks up automatically as GH_TOKEN.

The active GitHub identity is Team-Commonly bot identity — anything you push, comment, or open will be attributed to that account.

No shell? Don't use gh. The gh examples below assume a real shell (codex / claude-code runtimes). OpenClaw runtimes (theo/nova/pixel/ops) have no shell and cannot run gh at all. For those agents:

  • Read a PR diff: web.fetch the raw public diff at https://patch-diff.githubusercontent.com/raw/Team-Commonly/commonly/pull/<N>.diff.
  • Post a review verdict: write it into the dev pod chat (read-only review).
  • codex / claude-code runtimes have a shell: use gh directly, as below.

There is deliberately no commonly_pr_* MCP tool. The pair that existed was removed because it spent a shared server-side credential on a caller-chosen repository, so any agent could review any repo that credential reached. gh acts as the machine's own GitHub identity and supports line-level comments, which those tools never did.

Common operations

Issues
bash
# List open issues in a repo
gh issue list --repo Team-Commonly/commonly --state open

# Create an issue
gh issue create --repo Team-Commonly/commonly \
  --title "Title here" \
  --body "Body here"

# Comment on an issue
gh issue comment 123 --repo Team-Commonly/commonly --body "comment"
Pull requests
bash
# List open PRs
gh pr list --repo Team-Commonly/commonly --state open

# View a PR (diff, comments, status)
gh pr view 287 --repo Team-Commonly/commonly --json title,body,additions,deletions

# Get a PR's diff
gh pr diff 287 --repo Team-Commonly/commonly

# Comment on a PR
gh pr comment 287 --repo Team-Commonly/commonly --body "comment text"

# Check CI status
gh pr checks 287 --repo Team-Commonly/commonly
Repos / files
bash
# View a file at a specific ref
gh api repos/Team-Commonly/commonly/contents/README.md --jq '.content' | base64 -d

# Search code
gh search code 'commonly_attach_file' --repo Team-Commonly/commonly --limit 20
Workflows / runs
bash
# List recent workflow runs
gh run list --repo Team-Commonly/commonly --limit 10

# View a specific run's logs
gh run view 12345 --repo Team-Commonly/commonly --log

Heredoc for multi-line PR/issue bodies

bash
gh pr comment 287 --repo Team-Commonly/commonly --body "$(cat <<'EOF'
Multi-line comment.

- Bullet one
- Bullet two
EOF
)"

Useful patterns

  • Always pass --repo <org/name> explicitly; the gateway's working directory may not be inside a clone.
  • Prefer --json <fields> --jq <expr> over scraping plain output — more reliable and structured.
  • Don't push code directly — the dev pattern is "open a PR with gh pr create --base main --head <branch>" and let humans review.

When NOT to use github

  • For long-running coding tasks → delegate to sam-local-codex via DM (per ADR-005 Stage 3).
  • For pasting GitHub URLs into chat → just include the URL; the chat surface renders it.

© Team-Commonly, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in backend/commonly-bundled-skills/github of Team-Commonly/commonly.

Open the folder on GitHubat commit e06dd7c

Compare with similar skills

GitHub next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

GitHub compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
GitHub this skillTeam-Commonly/commonly1.4k—~857Automated safety check: PassApache-2.0
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Greplooponyx-dot-app/onyx32k4 repos~3.3kAutomated safety check: PassMIT
Check PRonyx-dot-app/onyx32k2 repos~2.3kAutomated safety check: PassMIT
Setup Matt Pocock Skillsbestofjs/bestofjs3.1k20 repos~1.7kAutomated safety check: PassMIT
Summarise Ecosystem Resultsastral-sh/ruff50k1 repos~2.2kAutomated safety check: PassMIT

Similar skills

  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Greploop

    onyx-dot-app/onyx

    Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.

    32k GitHub starsUsed in 4 repos~3.3k tokens
    DevelopmentAuto-check passed
  • Check PR

    onyx-dot-app/onyx

    Checks a GitHub, GitLab, or Perforce (p4) pull request (or merge request, or shelved changelist) for unresolved review comments, failing status checks, and incomplete PR descriptions.

    32k GitHub starsUsed in 2 repos~2.3k tokens
    DevelopmentAuto-check passed
  • Setup Matt Pocock Skills

    bestofjs/bestofjs

    Configure this repo for the engineering skills — set up its issue tracker, triage label vocabulary, and domain doc layout.

    3.1k GitHub starsUsed in 20 repos~1.7k tokens
    DevelopmentAuto-check passed
  • Official

    A skill your agent uses when a user says "summarise ecosystem results", "summarize this ty ecosystem report", "what changed in this ecosystem run?", or asks to summarise or summarize ty ecosystem…

    50k GitHub starsUsed in 1 repo~2.2k tokens
    DevelopmentAuto-check passed
  • Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.

    16k GitHub starsUsed in 1 repo~847 tokens
    DevelopmentAuto-check passed

More from Team-Commonly/commonly

  • Commonly

    Team-Commonly/commonly

    You are a member of a Commonly workspace — a shared space where humans and AI agents from any origin collaborate in pods (chat rooms with memory).

    1.4k GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Markdown Converter

    Team-Commonly/commonly

    Convert binary documents (PDF, DOCX, XLSX, PPTX, HTML, EPUB, images) to clean LLM-friendly Markdown using Microsoft's markitdown Python tool.

    1.4k GitHub stars~557 tokensUpdated today
    Auto-check passed
  • Officecli Commonly Templates

    Team-Commonly/commonly

    A skill your agent uses when producing a polished, Commonly-branded deliverable (.docx brief / memo, .xlsx data matrix, .pptx deck) and you do not have specific brand guidance from the user.

    1.4k GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Pandic Office

    Team-Commonly/commonly

    Convert Markdown to PDF (or DOCX/EPUB/HTML) using the pandoc CLI.

    1.4k GitHub stars~642 tokensUpdated today
    Auto-check passed
  • PDF

    Team-Commonly/commonly

    Manipulate PDF files — extract text, count pages, render thumbnails, merge or split documents.

    1.4k GitHub stars~572 tokensUpdated today
    Auto-check passed
  • Tmux

    Team-Commonly/commonly

    Manage long-running shell sessions with tmux — start a detached session, run a long task, reattach later, capture output.

    1.4k GitHub stars~488 tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about GitHub

What does GitHub do?

Interact with GitHub (issues, PRs, repos, releases) using the gh CLI. GitHub is an agent skill from Team-Commonly/commonly. Interact with GitHub (issues, PRs, repos, releases) using the gh CLI.

When should I use GitHub?

GitHub fits situations like: write GitHub state — open an issue.

How do I install GitHub in Claude Code?

Run `npx skills add Team-Commonly/commonly --skill github -a claude-code`. Or copy the skill folder (backend/commonly-bundled-skills/github in Team-Commonly/commonly) into .claude/skills/github in your project. Claude Code loads it when a task matches its description.

How do I install GitHub in Codex?

Run `npx skills add Team-Commonly/commonly --skill github -a codex`. Or copy the skill folder (backend/commonly-bundled-skills/github in Team-Commonly/commonly) into .agents/skills/github in your project. Codex loads it when a task matches its description.

Can I use GitHub in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Team-Commonly/commonly --skill github -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/github, .gemini/skills/github, .github/skills/github and .opencode/skills/github in your project.

What does GitHub need to run?

Going by SKILL.md and its folder, GitHub needs the command-line tools its instructions call (gh) and credentials named GH_TOKEN.

Does GitHub access the network?

SKILL.md names 1 domain. In commands or code: patch-diff.githubusercontent.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is GitHub safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does GitHub use?

GitHub is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does GitHub use?

About 857 tokens (SKILL.md is roughly 3.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to GitHub?

Skills that share tags, products or a category with GitHub: PR Babysitter (openinterpreter/openinterpreter, 69k stars), Greploop (onyx-dot-app/onyx, 32k stars), Check PR (onyx-dot-app/onyx, 32k stars) and Setup Matt Pocock Skills (bestofjs/bestofjs, 3.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains GitHub?

Team-Commonly (a GitHub organization) maintains it in Team-Commonly/commonly, which has 1,361 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 7, 2026.

Source: Team-Commonly/commonly on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.