mirror of
https://github.com/vince-winkintel/gitlab-cli-skills.git
synced 2026-09-19 06:01:21 +08:00
v1.7.0
* feat: add build-claude-skill.sh for Claude.ai integration Closes #32 Claude.ai organization skill upload requires a zip containing exactly one SKILL.md. The existing release zip contains 38 SKILL.md files (one per sub-skill), causing an upload error. Changes: - scripts/build-claude-skill.sh: merges all sub-skill SKILL.md files into a single consolidated SKILL.md, strips OpenClaw YAML frontmatter, and packages the result into claude-skill.zip - README.md: documents Claude.ai installation via pre-built zip download or running the build script locally - .gitignore: excludes claude-skill.zip (build artifact) * fix: correct ZIP structure and add required YAML frontmatter Per Claude.ai skill spec (support.claude.com): - ZIP must contain files inside a subdirectory, not at the root: claude-skill.zip/gitlab-cli-skills/SKILL.md ✅ claude-skill.zip/SKILL.md ❌ - SKILL.md must start with YAML frontmatter containing 'name' and 'description' fields (required by Claude.ai to decide when to invoke the skill) Previously the script stripped all frontmatter and placed SKILL.md directly in the zip root — both violations of spec. --------- Co-authored-by: Ubuntu <ubuntu@vps-9755df38.vps.ovh.us>
____ _ _ _ _ ____ _ ___ ____ _ _ _ _
/ ___(_) |_| | __ _| |__ / ___| | |_ _| / ___|| | _(_) | |___
| | _| | __| | / _` | '_ \ | | | | | | \___ \| |/ / | | / __|
| |_| | | |_| |__| (_| | |_) | | |___| |___ | | ___) | <| | | \__ \
\____|_|\__|_____\__,_|_.__/ \____|_____|___| |____/|_|\_\_|_|_|___/
GitLab CLI Skills
A collection of skills for AI coding agents following the Agent Skills format. These skills enable AI agents to use the GitLab CLI (glab) effectively.
Available Skills
Available Skills
glab-authglab-aliasglab-apiglab-attestationglab-changelogglab-check-updateglab-ciglab-clusterglab-completionglab-configglab-deploy-keyglab-duoglab-gpg-keyglab-helpglab-incidentglab-issueglab-iterationglab-jobglab-labelglab-mcpglab-milestoneglab-mrglab-opentofuglab-releaseglab-repoglab-scheduleglab-securefileglab-snippetglab-ssh-keyglab-stackglab-tokenglab-userglab-variableglab-version
Installation
OpenClaw / Agent Skills
npx skills add vince-winkintel/gitlab-cli-skills
Claude.ai (Organization Skills)
Claude.ai requires a zip containing exactly one SKILL.md. Download the pre-built claude-skill.zip from the latest release and upload it in your organization's Settings → Custom Skills.
The zip contains a single merged SKILL.md combining all 37+ sub-skills into one comprehensive glab reference.
Build it yourself:
bash scripts/build-claude-skill.sh
# Output: ./claude-skill.zip
Usage
Skills are automatically activated when relevant tasks are detected. Example prompts:
- "Log into GitLab CLI"
- "Check glab auth status"
- "Configure GitLab Docker auth"
Prerequisites
- GitLab CLI installed (
glab) - GitLab access token or browser auth
Install glab (Homebrew)
brew install glab
License
MIT
Languages
Python
70.3%
Shell
29.7%