github-gitlab
Skill by yc-software
Lets an AI assistant work with GitHub and GitLab repositories through the gh, glab, and git logins on the agent computer. Built for developers who want help with issues, pull requests, merge requests, and small code changes, with approval required before writes.
Install github-gitlab
Built from the published package, never by AI.
git clone --depth 1 https://github.com/yc-software/qm /tmp/qm && mkdir -p ~/.claude/skills && cp -r /tmp/qm/skills-seed/github-gitlab ~/.claude/skills/github-gitlabRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/yc-software/qm /tmp/qm && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/qm/skills-seed/github-gitlab ~/.gemini/antigravity-cli/skills/github-gitlabAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The GitHub / GitLab skill lets an AI assistant inspect repositories, issues, pull requests, and merge requests, and make small code changes in hosted repos. It works through the gh, glab, and git logins on the agent computer, running commands with the execute tool and an explicit sandbox ID. Read-only checks, scoped clones and branch edits are covered, and pushes or PR/MR creation happen only after the user approves.
A bundled Node.js helper waits for GitHub CI checks on a reviewed head commit and reports status records. Merges use GitHub's head-commit guard and run only after all gates pass. The skill never uses auto-merge or bypasses repository gates. It is aimed at developers and teams who want an assistant to work on GitHub and GitLab code with review controls.
Written from the project's SKILL.md and checked against it.
What it can do
- Read-only repo inspectionChecks auth status and views repos, open issues, pull requests, and merge requests.
- Code history summariesUses git log, git show, and git diff, citing commit hashes, PR/MR numbers, and links.
- Scoped checkout and editsClones only the requested repo, creates a branch, and runs the repo's tests.
- Approved writesPushes branches and creates PRs or MRs only after the user approves the write.
- GitHub CI watcherBundled helper script waits on checks for a specific head SHA and emits JSON status records.
- Guarded mergeSquash-merges a GitHub PR with a head-commit match after all gates pass.
- Login recoveryRuns the interactive login flow after a confirmed authentication rejection.
What you need
- gh CLI for GitHub work
- glab CLI for GitLab work
- git on the agent computer
- Node.js to run the CI watcher script
- A GitHub or GitLab account with access to the repo
Try asking
- Summarize the open pull requests in OWNER/REPO
- Review recent commits on main and cite the hashes
- Prepare a small fix branch, then ask me before pushing
Good to know
- Pushes, PR or MR creation, and merges need user approval.
- The CI watcher is described for GitHub checks and does not retry GitLab commands.
- Explicit API rate limits stop the watcher with a rate_limited status.
- If the intended account is unclear before a write, the skill asks first.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills-seed/github-gitlab/SKILL.md, skills-seed/github-gitlab/scripts/watch-ci.mjs. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB -
scripts/watch-ci.mjs6 KB
Alternatives to github-gitlab
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
github-gitlab: common questions
Does it merge pull requests automatically?
It merges only when all gates pass, using gh pr merge with a head-commit match. The source says it never uses auto-merge or bypasses repository gates.
Which accounts does it use?
It uses an account authorized for the conversation, either a personal login or a shared org credential. If the intended account is unclear before a write, it asks.
How does it handle CI checks?
A bundled helper polls GitHub checks for a reviewed head SHA and stops with nonzero status on failures, auth errors, changed heads, or deadline expiry. Passing checks do not by themselves permit a merge.
How do I install github-gitlab?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is github-gitlab free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is github-gitlab safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to github-gitlab?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
