Claude-skill-registry gitlab-deploy-tokens
Manages GitLab deploy tokens. Use for creating, listing, or deleting tokens at instance, project, or group levels. Triggers: deploy keys, access tokens.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/gitlab-deploy-tokens" ~/.claude/skills/majiayu000-claude-skill-registry-gitlab-deploy-tokens && rm -rf "$T"
manifest:
skills/data/gitlab-deploy-tokens/SKILL.mdsource content
Overview
Handles deploy tokens for CI/CD access.
Available Tools
: Retrieve a list of all deploy tokens for the GitLab instance.get_deploy_tokens
: Retrieve a list of deploy tokens for a specific GitLab project.get_project_deploy_tokens- Parameters:
(str): Optional. - Project ID or pathproject_id
(Optional[int]): Optional. - Deploy token IDtoken_id
- Parameters:
: Create a deploy token for a GitLab project with specified name and scopes.create_project_deploy_token- Parameters:
(str): Optional. - Project ID or pathproject_id
(str): Optional. - Name of the deploy tokenname
(List[str]): Optional. - Scopes for the deploy token (e.g., ['read_repository'])scopes
(Optional[str]): Optional. - Expiration date (ISO 8601 format)expires_at
(Optional[str]): Optional. - Username associated with the tokenusername
(Optional[Context]): Optional. - MCP context for progressctx
- Parameters:
: Delete a specific deploy token for a GitLab project.delete_project_deploy_token- Parameters:
(str): Optional. - Project ID or pathproject_id
(int): Optional. - Deploy token IDtoken_id
(Optional[Context]): Optional. - MCP context for progressctx
- Parameters:
: Retrieve deploy tokens for a GitLab group (list or single by ID).get_group_deploy_tokens- Parameters:
(str): Optional. - Group ID or pathgroup_id
(Optional[int]): Optional. - Deploy token ID for single retrievaltoken_id
- Parameters:
: Create a deploy token for a GitLab group with specified name and scopes.create_group_deploy_token- Parameters:
(str): Optional. - Group ID or pathgroup_id
(str): Optional. - Name of the deploy tokenname
(List[str]): Optional. - Scopes for the deploy token (e.g., ['read_repository'])scopes
(Optional[str]): Optional. - Expiration date (ISO 8601 format)expires_at
(Optional[str]): Optional. - Username associated with the tokenusername
(Optional[Context]): Optional. - MCP context for progressctx
- Parameters:
: Delete a specific deploy token for a GitLab group.delete_group_deploy_token- Parameters:
(str): Optional. - Group ID or pathgroup_id
(int): Optional. - Deploy token IDtoken_id
(Optional[Context]): Optional. - MCP context for progressctx
- Parameters:
Usage Instructions
- Specify scopes as list (e.g., ["read_repository"]).
- Use expires_at for time-bound tokens.
Examples
- Create project token:
with project_id="123", name="ci-token", scopes=["read_registry"].create_project_deploy_token - List group tokens:
with group_id="group/path".get_group_deploy_tokens
Error Handling
- Duplicate names: Use unique names.
- Revocation: Delete to revoke.