What is the Octocat skill?
Octocat is a coding skill by mcollina for Claude Code, Cursor, Codex and other AI coding agents. 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.
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…
When to use it
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.
What the SKILL.md covers
- When to use
- Instructions
- Activation examples
- Capabilities
- PR Body Formatting
- Validation Checkpoints for Complex Operations
- Commit Signing and Attribution Rules
- Author
- mcollina
- Pack
- mcollina/skills (11 skills)
- Category
- Coding, #798 of 1826
- Alyn Score
- 66 / 99
- Files
- 5
- License
- MIT
- Last updated
- 9 days ago
- Works with
- Claude Code, Claude, Cursor, Codex, Gemini CLI, Copilot
Octocat compared to similar skills
| Skill | Alyn Score | GitHub stars | Updated |
|---|---|---|---|
| Octocat · mcollina | 66 | 2k | 9 days ago |
| Address Github Comments · sickn33 | 82 | 50k | 32 h ago |
| Commit With Reflection · foryourhealth111-pixel | 61 | 3.8k | 17 days ago |
| Jlink · zhinkgit | 58 | 812 | 8 days ago |
Install Octocat
Pick your agent. Every command is ready to paste.
npx alyn-cli add octocatDetects your agents (Claude Code, Cursor, Codex and 70+ more) and installs to the right folder. Add -g to install globally.
npx skills add mcollina/skills --skill octocatOr use the open skills CLI directly.
01
Install it
Run the command above, or upload the folder in Claude.
02
Ask naturally
Describe the task. Your agent loads octocat when the request matches its description.
03
Name it if needed
If it does not trigger, say “use the octocat skill”. In Codex, type $octocat.
When to use
Use this skill for:
- Any prompt containing a pasted
github.comURL, 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
When invoked:
- If the prompt includes a GitHub URL, treat that URL alone as sufficient reason to invoke this skill and inspect it with
gh/gitfirst - Assess the git/GitHub situation immediately
- If the prompt includes a
github.comURL, activate this skill immediately and translate that URL into the relevantgh/gitworkflow - Use gh CLI for all GitHub operations (never suggest the web interface)
- Handle complex git operations with surgical precision
- Fix pre-commit hook issues or delegate to typescript-magician for TypeScript linting
- Never alter git signing key configuration; if signing is already enabled and configured, use it. Otherwise, proceed without signing
- NEVER include "Co-Authored-By: Claude" or similar AI attribution
- For security advisory work, read rules/security-advisory-comments.md and fetch the accessible discussion before drawing triage conclusions; advisory bodies alone can omit important context
- For advisory state questions or changes (
triage→draft→published, orclosed), read rules/security-advisory-lifecycle.md; never publish an advisory unless the user explicitly asks - For embargoed security fixes, read rules/security-advisory-private-fork-prs.md: push only to the advisory's temporary private fork and open the PR there with
gh pr create --repo <fork>, never against the public repository
Activation examples
Fix https://github.com/mercurius-js/mercurius/issues/1227Review https://github.com/nodejs/node/pull/12345What changed in https://github.com/org/repo/compare/v1.0.0...v1.1.0?Check https://github.com/org/repo/actions/runs/123456789Investigate https://github.com/org/repo/commit/abcdef1234567890Triage https://github.com/org/repo/security/advisories/GHSA-xxxx-xxxx-xxxx, including the discussionAdd a triage note to the private vulnerability report's advisoryOpen a fix PR in the private fork of https://github.com/org/repo/security/advisories/GHSA-xxxx-xxxx-xxxx
Capabilities
Advanced git operations:
- Interactive rebasing for clean history (commit splitting, squashing)
- Cherry-pick, bisect, worktrees
- Advanced merge strategies
- Submodule and subtree management
- Git hooks setup and maintenance
- Repository archaeology with git log/blame/show
GitHub operations via gh CLI:
- Create/manage PRs with proper templates
- Open PRs with explicit base/head and clear concise content, e.g.
gh pr create --base main --head <branch> --title "<title>" --body-file <file> - After opening a PR, wait for CI with
gh pr checks <num> --watch 2>&1and proactively fix failures - Validate unfamiliar gh commands first with
gh help <command>before using them in guidance - Track and change advisory state from triage to draft to published, or closed (lifecycle)
- Read repository security advisories and their comments; add/edit advisory comments via REST (workflow and limits)
- Create an advisory's temporary private fork and open fix PRs inside it (workflow)
- Handle issues and project boards
- Manage releases and artifacts
- Configure repository settings
- Automate workflows and notifications
PR Body Formatting
When creating PRs with gh pr create, use --body-file to avoid newline escaping issues with the --body flag.
PR descriptions should stay simple:
- Write a short description of the change in plain prose
- Do not add subsections or headings such as
## Summaryor## Testing - Do not include a testing section
- Architecture changes may need a slightly longer description if extra context is necessary
cat > /tmp/pr-body.md << 'EOF'
Refactor plugin loading so skills are discovered from the registry instead of being hardcoded.
EOF
gh pr create --body-file /tmp/pr-body.md
Using a temporary file is cleaner, more reliable, and easier to debug.
Validation Checkpoints for Complex Operations
Interactive rebase: git rebase -i <base> → verify with git log --oneline -n 10 → on conflict: resolve, git add <file>, git rebase --continue → abort anytime with git rebase --abort.
Merge conflict resolution: git status (find conflicts) → inspect with git diff or open file → resolve all markers → git add <resolved-file> → git merge --continue (or git rebase --continue) → confirm clean state with git status.
Branch cleanup: git branch --merged main → git branch -d <branch> → git push origin --delete <branch> → git fetch --prune.
Commit Signing and Attribution Rules
- NEVER alter git signing key settings (
user.signingkey) or signing mode in user/repo config - If commit signing is already enabled and correctly configured, create signed commits using the existing setup
- If signing is not enabled/configured, do not force or configure signing; proceed without it
- NEVER add AI co-authorship attributions (e.g. "Co-Authored-By: Claude")
Tips for Octocat
- • Start a fresh session after installing so your agent picks up the new skill.
- • It is part of a pack with 11 skills. Install only the ones you need with --skill to keep triggers precise.
- • If two skills overlap, mention the one you want by name.
Questions about Octocat
What does the Octocat skill do?
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.
How do I install Octocat?
Run "npx alyn-cli add octocat" in your project. The Alyn CLI installs it for Claude Code, Cursor, Codex and 70+ other agents. In Claude on the web, upload the skill folder as a ZIP under Customize > Skills.
Does Octocat work in Cursor and Codex?
Yes. Octocat uses the open SKILL.md format, so it works in Claude Code, Claude, Cursor, OpenAI Codex, Gemini CLI, GitHub Copilot and other agents that support agent skills.
When should I use the Octocat skill?
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.
What is inside the Octocat skill?
The SKILL.md covers When to use, Instructions, Activation examples, Capabilities, PR Body Formatting, Validation Checkpoints for Complex Operations, and the skill folder has 5 files.
What is a good alternative to Octocat?
Address Github Comments by sickn33 is the highest-ranked similar skill from another creator, with an Alyn Score of 82 compared to 66 for Octocat.
Is Octocat free?
Octocat is open source on GitHub under the MIT license. It is free to install; check the license before commercial use.
Who made Octocat?
Octocat is published by mcollina in the mcollina/skills repository, together with 10 other skills.


