cyrus-setup-gitlab
Configure GitLab authentication for Cyrus — glab CLI login and git config for creating merge requests.
How do I install this agent skill?
npx skills add https://github.com/cyrusagents/cyrus --skill cyrus-setup-gitlabIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill is generally safe and performs legitimate GitLab configuration tasks. It uses strong imperative instructions to prevent secrets from being read into the conversation context, which is a security best practice, though the language pattern matches prompt injection overrides. It also interpolates user input directly into shell commands for git configuration without explicit sanitization.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
CRITICAL: Never use Read, Edit, or Write tools on ~/.cyrus/.env or any file inside ~/.cyrus/. Use only Bash commands (grep, printf >>, etc.) to interact with env files — secrets must never be read into the conversation context.
Setup GitLab
Configures GitLab CLI and git so Cyrus can create branches, commits, and merge requests.
Step 1: Check Existing Configuration
Check if glab is already authenticated:
glab auth status 2>&1
If authenticated, check git config:
git config --global user.name
git config --global user.email
If both glab auth and git config are set, inform the user:
GitLab is already configured. Skipping this step.
Skip to completion.
Step 2: Authenticate GitLab CLI
If glab is not authenticated:
glab auth login
This opens an interactive browser flow. Let the user complete it.
For self-hosted GitLab instances, the user can specify the hostname:
glab auth login --hostname gitlab.example.com
After completion, verify:
glab auth status
Step 3: Configure Git Identity
If git user name or email are not set, ask the user for their preferred values:
What name should appear on commits made by Cyrus? (e.g., your name, or "Cyrus Bot")
What email should appear on commits? (e.g., your email, or a noreply address)
Then set them:
git config --global user.name "<name>"
git config --global user.email "<email>"
Step 4: Verify
glab auth status
git config --global user.name
git config --global user.email
Completion
✓ GitLab CLI authenticated ✓ Git identity configured:
<name><
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/cyrusagents/cyrus/cyrus-setup-gitlab">View cyrus-setup-gitlab on skillZs</a>