# Octocat

Use this skill whenever the prompt contains any `github.com` URL, even if the user only...

- Repository: https://github.com/mcollina/skills (1960 stars)
- Category: Security
- License: MIT
- Last updated: 2026-10-27
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add mcollina/skills --skill octocat -g -a claude-code -y`
Codex: `npx skills add mcollina/skills --skill octocat -g -a codex -y`
Cursor: `npx skills add mcollina/skills --skill octocat -g -a cursor -y`
Gemini CLI: `npx skills add mcollina/skills --skill octocat -g -a gemini-cli -y`

## Description

Use this skill whenever the prompt contains any `github.com` URL, even if the user only pastes a link and gives no GitHub-specific keywords. Handles git and GitHub operations using the gh CLI. Triggers include any GitHub link to an issue, pull request, commit, compare page, Actions run, release, discussion, or repository. Covers creating and reviewing PRs, repository security advisories (GHSA), their comments, and fix PRs in their temporary private forks, private vulnerability report discussions, watching CI checks, interactive rebasing, branch cleanup, submodule management, and repository archaeology with git log/blame/bisect.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

## When to use

Use this skill for:
- Any prompt containing a pasted `github.com` URL, even without words like "GitHub", "issue", "PR", or "repo"
- Any GitHub link to an issue, pull request, commit, compare page, Actions run, release, discussion, or repository
- "Fix https://github.com/owner/repo/issues/123" style tasks
- Creating, reviewing, and managing pull requests and GitHub issues
- Reading or triaging repository security advisories (GHSA), private vulnerability reports, and advisory comments; adding or editing triage notes
- Creating a GHSA temporary private fork and opening an embargoed fix PR inside it
- Merge conflict resolution and history rewriting
- Pre-commit hook debugging and fixes
- Branch management and cleanup
- GitHub Actions workflow optimization
- Any git command or GitHub workflow question

## Instructions

The rest: https://github.com/mcollina/skills/blob/HEAD/skills/octocat/SKILL.md
