github

A set of GitHub workflows for pull requests, issues, code-diff reviews, and merging through GitHub’s command-line tool, gh.

In plain words
What is it for?
Use it to list pull requests, inspect diffs, triage issues, prepare review comments, create branches, open pull requests, and merge with approval.
Why use it?
It separates read-only checks from changes that affect branches or protected code, making approval requirements clear.

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/otto-haus/otto/github
Any agent
npx skills add otto-haus/otto --skill github
Clone the repo
git clone --depth 1 https://github.com/otto-haus/otto

Made for: Claude Code, Codex.

Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 156 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.00021 $0.00156
Opus 5 $0.00010 $0.00078
Sonnet 5 $0.00004 $0.00031
Haiku 4.5 $0.00002 $0.00016

Measured yesterday against content hash 6c8cc5bcbab4, 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 yesterday.

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.

skill/github/SKILL.md · 27 lines

What it actually says

GitHub skill (stub)

Triggers

  • pull request, PR review, gh cli, merge, issue triage

Constraints

  • Green: list PRs, read diffs, comment drafts locally
  • Yellow: create branch, push feature branch, open PR
  • Red: merge to main, force-push, delete repo — explicit approval required

Approval

Merge and protected-branch writes are one-way doors. Run autonomy.evaluateAction before executing.

Autonomy

  • github.read: green
  • github.push_branch: yellow
  • github.merge: red
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. yesterday First seen · 27 lines · 21 tokens per session scan A 6c8cc5bcbab4

Subscribe to this mod's changes

github is a skill published in the GitHub repository otto-haus/otto (7 stars, last pushed 14d ago), licensed MIT. It adds 21 tokens to every session and 156 once invoked, about $0.0001 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-31.

Related

Other skills, from other repositories

check-work

Check your work with a verification subagent that reviews diffs, runs builds and tests, and evaluates correctness. Read this file for instructions. Use when asked to "check work", "verify changes", "self-verify", "/check-work", "/check", "/verify", or "/self-verify".

RoyZhao1991/LingShu · 64 tokens

create-skill

Interactively create a new Grok skill (SKILL.md + optional scripts/references). Use when the user wants to create a skill, scaffold a skill, or runs /create-skill.

RoyZhao1991/LingShu · 43 tokens

imagine

How to use the imagegen and imageedit tool calls in Grok Build: when to build a visual with code instead of generating it, prompt-craft, reference-first handling of real people, factual grounding, and asset-consistency. Load this whenever generating or editing an image is on the table, i.e. when an imagegen or…

RoyZhao1991/LingShu · 97 tokens

best-of-n

Implement a task N ways in parallel and pick the best. Spawns multiple subagents in isolated worktrees, evaluates all candidates, and applies the winner. Use when asked to "best of n", "try multiple approaches", "parallel implementations", "/best-of-n", or "/bon".

RoyZhao1991/LingShu · 62 tokens

help

Grok documentation and configuration help. Use when users ask about setup, configuration, MCP servers, authentication, skills, slash commands, keyboard shortcuts, or any Grok feature. Also use proactively when you detect a user is having trouble with setup or onboarding.

RoyZhao1991/LingShu · 53 tokens

safety-guardrails

Flags risky shell commands and unsafe tree ops.

andreaswasita/copilot-agents-dojo · 15 tokens