glab-repo
БесплатноЗапускает вложенные скриптыНе проверенWork with GitLab repositories and projects including clone, create, fork, archive, view, update, delete, search, transfer, and member management. Use when…
от vince-winkintel★ 51 звезда на GitHubОб этом скилле
glab repo
Work with GitLab repositories and projects.
Repository URLs returned by the API are validated before glab passes them to Git. Supported URL schemes and scp-like SSH syntax are accepted; option-like strings, remote-helper transports, whitespace, and control characters are rejected. If a clone, fork, or remote operation fails with an invalid remote URL, inspect the exact trusted project/host metadata rather than bypassing validation or handing that string directly to Git.
Complete listings and configured clone hosts
Requires glab v1.134.0 or later. This is a source-backed summary, not a new binary help capture. Historical help below or in references retains its original version and normalization.
repo list --paginate (also repo ls --paginate) fetches all pages starting at --page, retaining the selected ownership, group or user filters. Without it, only one page is fetched. --all removes the ownership filter; it does not enable pagination. For example, glab repo list --group my-group --paginate --output json returns the collected pages as one JSON result. The paginated text header reports the number collected instead of a single-page header.
repo clone configured.example.com/group/project recognizes the default host or another host in glab configuration. A dotted but unconfigured prefix remains part of the namespace because GitLab group names can contain dots; use a full URL for an unconfigured host. A configured hostname wins over a same-named group: include both host and group or use a full URL. This changes parsing, not clone authorization or credential requirements. Existing leaf-group destination/collision rules remain in force.
Archived projects are excluded from automatic push-target candidates, including fork lookup and head-repository selection. If all known local push remotes are archived, selection errors; review an active target before any separately approved push. This does not filter ordinary project listings unless requested, unarchive a repository, or authorize a push/fork.
Source: list.go, repo_clone.go, repo.go, resolver.go, fork.go.
Full clone URLs and host routing
A plain repo clone <full-URL> passes the URL to Git without requiring a GitLab API client or current-user lookup. Git still handles transport authentication; this does not make a private clone anonymous. Namespace/project shorthand and group cloning still use the selected GitLab host/API context.
A full-URL --wiki clone does use the API on the URL's own host, including a port, rather than the configured default host. It strips that host's configured subfolder before the project lookup and obtains the wiki URL from the project. Review the exact URL host before cloning: stored or environment credentials can be sent to it. A trusted authenticated host:port/group/project repository selector is recognized by --repo; use a full URL to make a nonstandard endpoint unambiguous.
repo view reads the README even when the default branch contains a slash. Fork creation waits between import-status polls; allow it to finish and inspect the existing fork before retrying. Clone writes locally and fork creation writes remotely, so approve the intended destinations and side effects first.
Clone from a leaf group
With glab v1.133.0+, repo clone --group org/platform/backend --preserve-namespace --leaf-group --paginate places a project such as org/platform/backend/services/api under backend/services/api, relative to the destination directory. --leaf-group requires both --group and --preserve-namespace. Group paths and numeric IDs are resolved through the API to the group's full path. Subgroup paths below that group remain intact; shared projects outside it keep their full namespace.
The command checks the selected projects for destination collisions before cloning. If two projects map to the same directory, it stops; review the targets and rerun without --leaf-group, or use --with-shared=false when shared projects are intentionally excluded. Pagination and subgroup filters still determine the selected set. Approve the local destination before cloning.
Source: clone implementation. Historical help in the command reference predates this option.
Quick start
Установить glab-repo в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл glab-repo?
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.
Как установить скилл glab-repo?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл glab-repo запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
agent-skill-stack
Find, evaluate, and assemble the smallest compatible set of AI Agent Skills for an end-to-end natural-language goal. Use when a user wants Skills for a…
от GitHubbuild-evidence-map
Build an auditable evidence map for a contested technical choice, research synthesis, proposal review, or consequential decision. Use when Copilot must…
от GitHubpinecone-rag
Build production RAG pipelines and persistent agent memory using Pinecone as the vector database backend. ALWAYS USE THIS SKILL when the user mentions…
от GitHubqdrant-monitoring-debugging
Diagnoses Qdrant production issues using metrics and observability tools. Use when someone reports 'optimizer stuck', 'indexing too slow', 'memory too high'…
от GitHub