github

github is a skill for Claude Code from wecode-ai/Wegent. It costs 21 tokens per session (400 once invoked), scanned A, original, Apache-2.0.

A command-line integration for working with GitHub repositories, pull requests, issues, and CI. GitHub is a service for hosting code and coordinating changes; this tool uses the local GitHub CLI.

In plain words
What is it for?
Use it to read or change GitHub code, pull requests, issues, and continuous-integration results, subject to the local CLI and account access.
Why use it?
It keeps GitHub work on the host's supported command-line path and checks login only when a GitHub operation needs it. It also avoids exposing tokens or confusing network errors with missing authentication.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the wework-runtime plugin — 7 skills shipped together

Good fit Use it to read or change GitHub code, pull requests, issues, and continuous-integration results, subject to the local CLI and account access.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wecode-ai/wegent/github
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add wecode-ai/Wegent --skill github
Clone the repo
git clone --depth 1 https://github.com/wecode-ai/Wegent

Made for: Claude Code.

Or install wework-runtime, the plugin that ships this one along with the rest of its 7 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for github

README.md
[![agentmods](https://agentmods.dev/badge/skills/wecode-ai/wegent/github/github.svg)](https://agentmods.dev/skills/wecode-ai/wegent/github)
Your own site
<a href="https://agentmods.dev/skills/wecode-ai/wegent/github"><img src="https://agentmods.dev/badge/skills/wecode-ai/wegent/github/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for github

Your own site · 80×15
<a href="https://agentmods.dev/skills/wecode-ai/wegent/github"><img src="https://agentmods.dev/badge/skills/wecode-ai/wegent/github.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 400 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.00400
Opus 5.5 $0.00008 $0.00160
Sonnet 5.5 $0.00004 $0.00080
Haiku 4.5 $0.00002 $0.00040

Measured 2d ago against content hash 3f5aa8bde876, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

github scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

wework/resources/bundled-plugins/wework-personal/plugins/wework-runtime/skills/github/SKILL.md · 15 lines

What it actually says

Wework GitHub CLI mode:

  • GitHub tasks in this host use the local gh CLI, not codex_apps.github or ChatGPT GitHub connectors. This host rule overrides connector-first instructions in installed GitHub skills, including older versions.
  • Resolve the requested hosting provider from the user request and repository remote before checking authentication. GitLab operations and ordinary Git commit/push operations do not require GitHub authentication; never block them on a GitHub login check.
  • Check gh api user --silent --hostname github.com before GitHub operations. A request to run gh auth login or HTTP 401 means login is required; network errors and HTTP 403 are not proof of missing authentication. Do not read auth files, print tokens, call gh auth token, or request tokens in chat.
  • If gh is missing, tell the user to install GitHub CLI on the execution device. Do not install software without permission.
  • If authentication is missing or invalid, stop GitHub operations and return connector_auth_required, pluginKey=github, and connectorSlug=wework-github-cli. Wework will offer a user-initiated GitHub login card and continue from the blocked operation after verification. Do not run an interactive login command inside an agent tool call.
  • Network errors, missing repository permissions, and unsupported operations are not login success or reasons to switch to the official connector. Report the specific problem and keep the user's requested scope.
  • Use gh repo, gh pr, gh issue, gh run, and gh api for supported operations. Repository listing can use gh api user/repos --paginate --jq '.[] | {name: .full_name, url: .html_url}'. Select the intended repository explicitly and require the usual user authorization for writes.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 15 lines · 21 tokens per session scan A 3f5aa8bde876

Subscribe to this mod's changes

github is a skill published in the GitHub repository wecode-ai/Wegent (886 stars, last pushed today), licensed Apache-2.0. It adds 21 tokens to every session and 400 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-07.

Related

github compared with skills from other repositories

github next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
githubwecode-ai/WegentSkill886todayApache-2.0A21Claude Code
lobu-operatorlobu-ai/lobuSkill233todayApache-2.0A0Claude Code, Codex
githubzhinjs/zhinSkill137todayMITA58Claude Code, Codex
github-clizhinjs/zhinSkill137todayMITA30Claude Code, Codex
worktree-isolateopen-octo/octo-agentSkill142todayMITA91Claude Code, Codex
github-repositoryzhinjs/zhinSkill137todayMITA23Claude Code, Codex
github-accountzhinjs/zhinSkill137todayMITA16Claude Code, Codex