github

github is a skill for Claude Code, Codex from initializ/forge. It costs 15 tokens per session (3,095 once invoked), scanned A, original, Apache-2.0.

A set of tools and workflows for working with GitHub repositories and Git, the system that records code changes. It supports repository cloning, code exploration, edits, commits, branches, pushes, issues, and pull requests.

In plain words
What is it for?
Use it to inspect a repository, make code changes, create commits, push a branch, open pull requests, and manage issues.
Why use it?
It keeps repository work in a defined sequence and makes changes reviewable before they are shared. It also prevents using the wrong method for GitHub-specific operations.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to inspect a repository, make code changes, create commits, push a branch, open pull requests, and manage issues.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/initializ/forge/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 initializ/forge --skill github
Clone the repo
git clone --depth 1 https://github.com/initializ/forge

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/initializ/forge/github/github.svg)](https://agentmods.dev/skills/initializ/forge/github)
Your own site
<a href="https://agentmods.dev/skills/initializ/forge/github"><img src="https://agentmods.dev/badge/skills/initializ/forge/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/initializ/forge/github"><img src="https://agentmods.dev/badge/skills/initializ/forge/github.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,095 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00015 $0.03095
Opus 5.5 $0.00006 $0.01238
Sonnet 5.5 $0.00003 $0.00619
Haiku 4.5 $0.00002 $0.00310

Measured 1mo ago against content hash 6c9c3961f21b, 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 1mo ago.

The scan reads SKILL.md. This mod also ships 13 executable files (scripts/github-branch-name-from-ticket.sh, scripts/github-checkout.sh, scripts/github-clone.sh, …), 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.

forge-skills/local/embedded/github/SKILL.md · 241 lines

How it starts

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

System Prompt

You have access to GitHub and git tools. You MUST use these tools for all git and GitHub operations. Do NOT use cli_execute or bash to run git commands directly.

When asked to clone, checkout, or work with a GitHub repository, ALWAYS start by calling github_clone. This is the ONLY way to clone repositories. Do NOT attempt to use cli_execute, bash, or any other tool to run git clone directly.

The repo parameter accepts any of these formats:

  • owner/repo (e.g. initializ-mk/openclaw)
  • SSH URL: [email protected]:owner/repo.git
  • HTTPS URL: https://github.com/owner/repo.git

Required workflow for code changes:

  1. github_clone — clone the repository (auto-creates a feature branch)
  2. Explore: use directory_tree, grep_search, glob_search, code_agent_read to understand the codebase
  3. Edit: use code_agent_edit or code_agent_write to make changes
  4. github_status — review what changed before committing
  5. github_commit — stage and commit changes
  6. github_push — push the feature branch to remote
  7. github_create_pr — create a pull request

File path convention:

  • github_clone clones repos into workspace/. The returned project_dir (e.g. openclaw) is the directory name inside workspace/.
  • ALL tools that accept project_dir (github tools, code-agent tools) accept BOTH openclaw and workspace/openclaw — the workspace/ prefix is stripped automatically.
  • For directory_tree, grep_search, glob_search use workspace/<project_dir> as the path (e.g. workspace/openclaw).

Workflow completion rule:

When asked to fix a bug or make changes, you must drive the full sequence: explore → understand → edit → commit → push → create PR. Do NOT stop after exploration to report findings. Complete the full sequence in one session.

Exceptions where pausing is correct:

  • Ticket-driven mode: if the task originated from a linear_get_issue call (or any external ticket) and the ticket leaves a material question unanswered, post a linear_add_comment (or the equivalent for your tracker) asking the question, then stop and wait. Do NOT guess on irreversible decisions like API contract shape, data model changes, or user-facing copy.
  • Code planning: if code_plan_create returns complexity: "high" or non-empty risks, present the plan to the user and confirm before writing code.
  • Genuine ambiguity: if you cannot determine what to change even after thorough exploration, stop and ask. Do not invent a change.

Outside these exceptions, complete all steps in one session.

Exploration strategy — bug fixes:

  1. directory_tree to understand project structure.
  2. grep_search for the error message, config key, or symptom from the bug description.
  3. Trace to the origin: follow the error/value through call sites until you find where it is first produced or validated. Do not stop at the first file that mentions the symptom.
  4. Read what you will change: before editing a function, read its implementation. Before replacing a function call, read both the old and new function to confirm the new one handles the same inputs correctly.
  5. Find a working reference: if similar functionality works elsewhere in the codebase (e.g., another provider, another endpoint), read how it handles the same input. Replicate that approach, not a different one.
  6. Form your hypothesis with evidence, then edit.
  7. Verify your fix: after editing, trace the specific failing input through your new code path. Read the functions your new code calls and confirm they handle the input type that was failing (e.g., objects, not just strings). If your fix adds types but doesn't change runtime behavior, it is wrong.

Exploration strategy — features and refactors:

  1. directory_tree to understand project structure.
  2. grep_search for existing patterns similar to what you need to add (2-3 searches).
  3. Read the file(s) where you will add or modify code.
  4. Follow existing conventions, then edit immediately.

Read the full file on GitHub · 241 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. 1mo ago Changed · -203 lines · -4 tokens per session 4c50c05d1d4c
  2. 3mo ago First seen · 241 lines · 15 tokens per session scan A 6c9c3961f21b

Subscribe to this mod's changes

github is a skill published in the GitHub repository initializ/forge (223 stars, last pushed 9d ago), licensed Apache-2.0. It adds 15 tokens to every session and 3,095 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-08-30.

Related

github compared with skills from other repositories

github next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
githubinitializ/forgeSkill2239d agoApache-2.0A15Claude Code, Codex
github-mcpFriz-zy/ai-capability-registrySkill12yesterdayMITA26Claude Code, Codex
github-managerchainlesschain/chainlesschainSkill1115d agononeA21Claude Code
gh-clibobmatnyc/claude-mpm-skillsSkill794mo agoMITA42Claude Code
github-pr-workflowpaperclipai/paperclipSkill118kyesterdayMITA39Claude Code, Codex
create-prfcakyon/claude-codex-settingsSkill1.2ktodayApache-2.0A49Claude Code
resolve-pr-commentsfcakyon/claude-codex-settingsSkill1.2ktodayApache-2.0A47Claude Code