glab-repo
Skill1 starsChanged 7 months agoMITView on GitHub
Work with GitLab repositories and projects including clone, create, fork, archive, view, update, delete, search, transfer, and member management. Use when managing repo lifecycle, forking projects, cloning repositories, searching for projects, managing collaborators, or configuring repo settings. Triggers on repository, repo, project, clone, fork, create repo, search projects, collaborators.
- Commits and pushes
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 7 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 80
Use the sync script for one-command fork updates:
- Very specific: line 166
Verify you have access: glab repo view group/project
- Distinctive: line 171
Check if fork already exists in your namespace
- Distinctive: line 172
Verify you have permission to fork (some repos disable forking)
- Distinctive: line 176
Verify you have owner/maintainer access
- Distinctive: line 177
Check target namespace exists and you have create permissions
- Distinctive: line 181
Verify group exists and you have access
- Distinctive: line 182
Check you have enough disk space
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
glab repo
Work with GitLab repositories and projects.
Quick start
# Clone a repository
glab repo clone group/project
# Create new repository
glab repo create my-new-project --public
# Fork a repository
glab repo fork upstream/project
# View repository details
glab repo view
# Search for repositories
glab repo search "keyword"Common workflows
Starting new project
- Create repository:
glab repo create my-project \ --public \ --description "My awesome project" - Clone locally:
glab repo clone my-username/my-project cd my-project - Initialize with content:
echo "# My Project" > README.md git add README.md git commit -m "Initial commit" git push -u origin main
Forking workflow
- Fork upstream repository:
glab repo fork upstream-group/project - Clone your fork:
glab repo clone my-username/project cd project - Add upstream remote:
git remote add upstream https://gitlab.com/upstream-group/project.git - Keep fork in sync:
git fetch upstream git merge upstream/main
Automated sync:
Use the sync script for one-command fork updates:
scripts/sync-fork.sh main
scripts/sync-fork.sh develop upstreamThis automatically: fetches → merges → pushes to origin.
Repository management
View repository info:
glab repo view
glab repo view group/project # Specific repo
glab repo view --web # Open in browserUpdate repository settings:
glab repo update \
--description "Updated description" \
--default-branch developArchive repository:
glab repo archive download main # Downloads .tar.gz
glab repo archive download main --format zipTransfer to new namespace:
glab repo transfer my-project --target-namespace new-groupDelete repository:
glab repo delete group/projectMember management
List collaborators:
glab repo members listAdd member:
glab repo members add @username --access-level maintainerRemove member:
glab repo members remove @usernameUpdate member access:
glab repo members update @username --access-level developerBulk operations
Clone all repos in a group:
glab repo clone -g my-groupSearch and clone:
glab repo search "api" --per-page 10
# Then clone specific result
glab repo clone group/api-projectList your repositories:
glab repo list
glab repo list --member # Only where you're a member
glab repo list --mine # Only repos you ownTroubleshooting
Clone fails with permission error:
- Verify you have access:
glab repo view group/project - Check authentication:
glab auth status - For private repos, ensure you're logged in with correct account
Fork operation fails:
- Check if fork already exists in your namespace
- Verify you have permission to fork (some repos disable forking)
- Try with explicit namespace:
glab repo fork --fork-path username/new-name
Transfer fails:
- Verify you have owner/maintainer access
- Check target namespace exists and you have create permissions
- Some projects may have transfer protections enabled
Group clone fails:
- Verify group exists and you have access
- Check you have enough disk space
- Large groups may time out - clone specific repos instead
Related Skills
Authentication and access:
- See
glab-authfor login and authentication setup - See
glab-ssh-keyfor SSH key management - See
glab-deploy-keyfor deployment authentication
Project configuration:
- See
glab-configfor CLI defaults and settings - See
glab-variablefor CI/CD variables
Fork synchronization:
- Script:
scripts/sync-fork.shautomates upstream sync
v1.89.0 Updates
v1.89.0+:
glab repo contributorssupports--output json/-F jsonfor structured output, ideal for agent automation.
# List contributors with JSON output (v1.89.0+)
glab repo contributors --output json
glab repo contributors -F jsonCommand reference
For complete command documentation and all flags, see references/commands.md.
Available commands:
clone- Clone repository or groupcreate- Create new projectfork- Fork repositoryview- View project detailsupdate- Update project settingsdelete- Delete projectsearch- Search for projectslist- List repositoriestransfer- Transfer to new namespacearchive- Download repository archivecontributors- List contributorsmembers- Manage project membersmirror- Configure repository mirroringpublish- Publish project resources
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 2
- vince-winkintel/gitlab-cli-skills★ 4939% same
- cormacc/dotagents★ 156% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository52 other files it gives its agents.
- gh-cliSkill
- glab-aliasSkill
- glab-apiSkill
- glab-attestationSkill
- glab-authSkill
- glab-changelogSkill
- glab-check-updateSkill
- glab-ciSkill
- glab-clusterSkill
- glab-completionSkill
- glab-configSkill
- glab-deploy-keySkill
- glab-duoSkill
- glab-gpg-keySkill
- glab-helpSkill
- glab-incidentSkill
- glab-issueSkill
- glab-iterationSkill
- glab-jobSkill
- glab-labelSkill
- glab-mcpSkill
- glab-milestoneSkill
- glab-mrSkill
- glab-opentofuSkill
- glab-quick-actionsSkill
- glab-releaseSkill
- glab-runner-controllerSkill
- glab-runnerSkill
- glab-scheduleSkill
- glab-securefileSkill
- glab-snippetSkill
- glab-ssh-keySkill
- glab-stackSkill
- glab-todoSkill
- glab-tokenSkill
- glab-userSkill
- glab-variableSkill
- glab-versionSkill
- glab-workitemsSkill
- gitlab-cli-skillsSkill
- ui-color-palette-audit-paletteSkill
- ui-color-palette-build-color-systemSkill
- ui-color-palette-figmaSkill
- ui-color-palette-framerSkill
- ui-color-palette-generate-codeSkill
- ui-color-palette-generate-semantic-codeSkill
- ui-color-palette-generate-source-colorsSkill
- ui-color-palette-helpSkill
- ui-color-palette-manage-palettesSkill
- ui-color-palette-penpotSkill
- ui-color-palette-scale-paletteSkill
- ui-color-palette-sketchSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

