github

github is a skill for Claude Code, Codex from edimuj/tokenlean. It costs 83 tokens per session (1,332 once invoked), scanned A, original, MIT.

A set of workflows for Git commits, pushes, and GitHub tasks using tokenlean, a command-line tool for reducing command and output overhead. GitHub hosts code projects and supports issues, pull requests, and releases.

In plain words
What is it for?
Use it to review pending changes, create or amend commits, push selected files, manage issues and pull requests, and create releases. The correct command depends on whether the task is local Git work or a GitHub operation.
Why use it?
It provides checks and safer commands for selecting changed files, committing, pushing, and handling common GitHub operations.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to review pending changes, create or amend commits, push selected files, manage issues and pull requests, and create releases. The correct command depends on whether the task is local Git work or a GitHub operation.

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

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/edimuj/tokenlean/github/github.svg)](https://agentmods.dev/skills/edimuj/tokenlean/github)
Your own site
<a href="https://agentmods.dev/skills/edimuj/tokenlean/github"><img src="https://agentmods.dev/badge/skills/edimuj/tokenlean/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/edimuj/tokenlean/github"><img src="https://agentmods.dev/badge/skills/edimuj/tokenlean/github.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,332 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.00083 $0.01332
Opus 5.5 $0.00033 $0.00533
Sonnet 5.5 $0.00017 $0.00266
Haiku 4.5 $0.00008 $0.00133

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

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.

skills/claude/github/SKILL.md · 140 lines

How it starts

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

GitHub & Git Operations

Token-efficient git and GitHub workflows via tl push, tl commit-prep, and tl gh.

Committing & Pushing

tl push

Stages, commits, and pushes in one call.

Critical: multi-file safety guard. When multiple files are modified and no explicit files are given, tl push refuses to proceed. It prints the modified file list and exits with code 1. You must specify which files to include.

# Single modified file — auto-stages
tl push "feat: add caching"

# Multiple modified files — MUST specify files
tl push "fix: resolve race" src/worker.mjs src/queue.mjs

# Include untracked (new) files
tl push "feat: new tool" bin/tl-new.mjs -A

# Commit without pushing
tl push "wip: checkpoint" src/foo.mjs --no-push

# Amend previous commit
tl push "fix: better msg" --amend

# Preview what would happen
tl push "test" --dry-run

tl commit-prep

Pre-commit context in one call: git status + diff stat + recent log. Use before tl push when you need to see what changed.

tl commit-prep
# then decide which files to include:
tl push "fix: typo" README.md

Workflow

Need to commit?
  ├─ Know which files → tl push "msg" file1 file2
  ├─ Need to see changes → tl commit-prep, then tl push "msg" file1 file2
  └─ Only one file modified → tl push "msg" (auto-stages)

GitHub Operations — tl gh

Wraps multi-step GitHub API calls into single commands. Requires -R owner/repo.

When to use which tool

Scenario Tool
Single issue read with sub-issues or close with comment tl gh issue read / tl gh issue close
Bulk operations (create/close/label many) tl gh
View issue with direct sub-issues tl gh issue read
Full PR status (CI + reviews + merge readiness) tl gh pr digest
Check CI → merge → close issues → delete branch tl gh pr land
Auto-generate release changelog tl gh release notes

Issue commands

# Read issue with sub-issues (single GraphQL call)
tl gh issue read -R owner/repo 434
tl gh issue read -R owner/repo 434 --no-body    # compact
tl gh issue read -R owner/repo 434 --full        # complete bodies

# Bulk create from JSON array or JSONL on stdin
echo '[{"title":"Bug A","labels":["bug"]},{"title":"Bug B"}]' | tl gh issue create-batch -R owner/repo

# Create parent + children with auto sub-issue links
cat tree.json | tl gh issue create-tree -R owner/repo
# Input: {"title": "Epic", "body": "...", "children": [{"title": "Task 1"}, {"title": "Task 2"}]}

# Link existing issues as sub-issues
tl gh issue add-sub -R owner/repo --parent 10 42 43 44

# Close one or more issues
tl gh issue close -R owner/repo 1 2 3 -c "Sprint complete"
tl gh issue close -R owner/repo 10 11 --reason "not planned"

# Add/remove labels in bulk
tl gh issue label-batch -R owner/repo --add "bug,P0" --remove "triage" 1 2 3

Read the full file on GitHub · 140 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 First seen · 140 lines · 83 tokens per session scan A 9c2067e25bf8

Subscribe to this mod's changes

github is a skill published in the GitHub repository edimuj/tokenlean (13 stars, last pushed 3mo ago), licensed MIT. It adds 83 tokens to every session and 1,332 once invoked, about $0.0003 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

Other skills, from other repositories

git-ops

Use when Sam asks Claude Code to create, rename, compare, commit, push, merge, promote, or clean up Git branches. Covers Sam's feature branch naming convention, safe Git pre-checks, JetBrains DontCommit handling, commit-message defaults, push and release promotion verification, branch rename upstream cleanup, branch…

codingSamss/all-my-ai-needs · 77 tokens

github-automation

GitHub workflow automation, PR management, issue tracking, and code review coordination. Integrates with GitHub Actions and repository management. Use when: PR creation, code review, issue management, release automation, workflow setup. Skip when: local-only changes, non-GitHub repositories.

ruvnet/ruflo · 61 tokens

changelog

Auto-generate a changelog from git commits and sprint data. Internal and player-facing versions.

Donchitos/Claude-Code-Game-Studios · 22 tokens

comet-safe-delivery

A Chinese-language procedure for safely delivering specified Comet changes through Git. It covers checking worktrees and unrelated edits, staging exact files, validating hooks, and authorized commits or pushes.

rpamis/comet · 78 tokens

git-workflow

Guided git workflows: prepare PRs, clean up branches, resolve merge conflicts, handle monorepo tags, squash-and-merge patterns. Use when asked to prepare a PR, clean branches, resolve conflicts, or tag a release.

jezweb/claude-skills · 52 tokens

git-push

A GitHub publishing workflow that handles first-time uploads, routine updates, and tagged releases. Git is a system for recording code changes, while GitHub hosts repositories and releases online.

yunshu0909/yunshu_skillshub · 223 tokens