github

github is a skill for Claude Code, Codex from MassLab-SII/open-agent-skills. It costs 44 tokens per session (6,940 once invoked), scanned A, original, Apache-2.0.

A toolkit for managing GitHub repositories, which host source code and its collaboration history. It covers file changes, issues, pull requests, GitFlow, releases, CI/CD workflows, and repository configuration.

In plain words
What is it for?
Use it to edit repository files, investigate project history, manage issues and pull requests, create CI/CD workflows, follow GitFlow, prepare releases, and generate configuration files.
Why use it?
It groups common repository operations into guided tasks with error handling and workflow rules. This reduces the risk of incomplete multi-file edits or inconsistent issue, pull-request, and release updates.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/masslab-sii/open-agent-skills/github
Any agent
npx skills add MassLab-SII/open-agent-skills --skill github
Clone the repo
git clone --depth 1 https://github.com/MassLab-SII/open-agent-skills

Made for: Claude Code, Codex.

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/masslab-sii/open-agent-skills/github.svg)](https://agentmods.dev/skills/masslab-sii/open-agent-skills/github)
Your own site
<a href="https://agentmods.dev/skills/masslab-sii/open-agent-skills/github"><img src="https://agentmods.dev/badge/skills/masslab-sii/open-agent-skills/github.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,940 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00044 $0.06940
Opus 5 $0.00022 $0.03470
Sonnet 5 $0.00009 $0.01388
Haiku 4.5 $0.00004 $0.00694

Measured 4d ago against content hash b7c1135c692c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d ago.

The scan reads SKILL.md. This mod also ships 12 executable files (scripts/comment_manager.py, scripts/config_generator.py, scripts/file_editor.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

portable-skills/github/SKILL.md · 749 lines

How it starts

The opening of the file, as written. The whole thing — 749 lines — stays where its author put it; the contents beside it link to each section on GitHub.

GitHub Skill

This skill provides complete GitHub repository management capabilities using MCP GitHub tools.

Core Concepts

  1. Skill: Meaningful combinations of multiple tool calls, encapsulated as independent Python scripts
  2. Basic Tools: Single function calls for atomic operations via run_github_ops.py

I. Strategy: Skills vs Tools (Read First)

1. Skill-First Strategy

Always prioritize Skill Scripts over atomic tools. Skills encapsulate best practices and error handling.

Goal Recommended Skill Why?
Multi-file Edits file_editor.py batch Atomic commit; prevents partial updates
Content Investigation github_detective.py Unified interface for all investigation tasks
GitFlow Operations gitflow_manager.py Enforces naming conventions and correct workflow
PR + Label Management pr_manager.py update Handles labels atomically with PR updates
Issue + Label issue_manager.py update Handles labels atomically with issue updates
CI/CD Setup workflow_builder.py Full automated pipeline (branch → PR → merge)
Release Preparation release_manager.py Automates version bump, changelog, and merge
Project Config config_generator.py Standardized templates and configurations

2. When to Use Basic Tools

Only use run_github_ops.py when:

  1. Unique Filtering: Need specific API filters not exposed by skills
  2. One-off Read: Quick check of file SHA or content
  3. Custom Operations: Operations not covered by any skill

3. GitHub Domain Coverage

This skill covers the following GitHub task categories:

Category Covered By
File CRUD file_editor.py, basic file tools
Issue Management issue_manager.py
PR Management pr_manager.py
Label Management issue_manager.py, pr_manager.py (integrated)
Branch Management gitflow_manager.py, basic branch tools
Commit Investigation github_detective.py
PR Investigation github_detective.py
Repository Exploration github_detective.py
CI/CD Workflows workflow_builder.py
Release Management release_manager.py
Config Generation config_generator.py

Read the full file on GitHub · 749 lines

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. 4d ago First seen · 749 lines · 44 tokens per session scan A b7c1135c692c

Subscribe to this mod's changes

github is a skill published in the GitHub repository MassLab-SII/open-agent-skills (133 stars, last pushed 8mo ago), licensed Apache-2.0. It adds 44 tokens to every session and 6,940 once invoked, about $0.0002 per session on Opus 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-08-30.

Related

Other skills, from other repositories

close-task-commit-push-pr

Close the active backlog task (detected from branch name), commit all changes, push to remote, and open a pull request. Use when the user says "close task and ship it", "close task commit push pr", or invokes /close-task-commit-push-pr.

devoxx/DevoxxGenieIDEAPlugin · 64 tokens

gh-workflow

GitHub CLI (gh) workflow automation for repository management, issue tracking, pull request workflows, GitHub Actions debugging, GitHub Projects (multi-repo boards with custom fields, views, and workflows), label management, secrets handling, and advanced API operations. Complements git-workflow by covering…

nasrulhazim/claude · 248 tokens

smith-build

Autonomous build phase — generates tasks, implements, tests, commits, pushes, merges, and produces release notes. Runs without user interaction.

ATTCKDigital/smith · 31 tokens

completing-a-task

Use when a routed task has been implemented and the working code needs to be committed, pushed, PR'd, commented on the issue, and handed to a reviewer. The canonical task-handoff protocol; runs standalone or as the final phase of implement-feature.

arozumenko/sdlc-skills · 57 tokens

git-workflow

Branching strategies, conventional commits, PR templates, and merge vs rebase guidance. Activate when starting features, creating PRs, or managing releases.

DVNghiem/FlowDeck · 34 tokens

submit

Complete submission workflow - quality checks, commit, PR creation, changelog generation, and final push. Use after finishing implementation work.

lablup/backend.ai · 28 tokens