Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add encoreshao/encore-skills --skill gitlab-configgit clone --depth 1 https://github.com/encoreshao/encore-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/encoreshao/encore-skills/gitlab-config)<a href="https://agentmods.dev/skills/encoreshao/encore-skills/gitlab-config"><img src="https://agentmods.dev/badge/skills/encoreshao/encore-skills/gitlab-config/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/encoreshao/encore-skills/gitlab-config"><img src="https://agentmods.dev/badge/skills/encoreshao/encore-skills/gitlab-config.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00029 | $0.01433 |
| Opus 5.5 | $0.00012 | $0.00573 |
| Sonnet 5.5 | $0.00006 | $0.00287 |
| Haiku 4.5 | $0.00003 | $0.00143 |
Grade B, and why
gitlab-config scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
chmod 600 ~/.gitlab/config.json How it starts
The opening of the file, as written. The whole thing — 141 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GitLab Config
Do this once. Every other skill reads from the same config — get it right here and everything else just works.
Install
pip install requests
# or
pip install -r ~/.claude/skills/gitlab-config/requirements.txt
Configure
cp ~/.claude/skills/gitlab-config/gitlab_config.json.template ~/.gitlab/config.json
chmod 600 ~/.gitlab/config.json
Edit ~/.gitlab/config.json:
{
"default": "work",
"instances": {
"work": {
"url": "https://gitlab.company.com",
"token": "glpat-xxxxxxxxxxxxxxxxxxxx"
},
"personal": {
"url": "https://gitlab.com",
"token": "glpat-yyyyyyyyyyyyyyyyyyyy"
}
},
"projects": {
"webapp": {
"project_id": "acme/webapp",
"instance": "work"
}
}
}
Get a token: GitLab → Settings → Access Tokens — create with api scope. It won't be shown again.
Env var fallback (single instance only):
export GITLAB_URL="https://gitlab.com"
export GITLAB_TOKEN="glpat-xxxxxxxxxxxxxxxxxxxx"
Verify
python ~/.claude/skills/gitlab-config/scripts/gitlab_api.py list-instances
python ~/.claude/skills/gitlab-config/scripts/gitlab_api.py list-projects
API reference
All other skills use these scripts:
GITLAB="$HOME/.claude/skills/gitlab-config/scripts/gitlab_api.py"
# Issues
python $GITLAB get-issue <project> <issue_iid>
python $GITLAB list-issues <project> [state] [labels...]
python $GITLAB post-issue-comment <project> <issue_iid> "<comment>"
# Merge Requests
python $GITLAB get-mr <project> <mr_iid>
python $GITLAB list-mrs <project> [state]
python $GITLAB get-diff <project> <mr_iid>
python $GITLAB post-mr-comment <project> <mr_iid> "<comment>"
# Stats
python $GITLAB aggregate-issues <project> [days]
# Override instance for a single call
python $GITLAB --instance=personal get-issue blog 42
<project> accepts: alias (webapp), numeric ID (123), or full path (acme/webapp).
Config lookup order: ./gitlab_config.json → ~/.gitlab/config.json → skill directory.
What ships with it
10 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- examples/multi-instance-setup.md 1.3 KB
- gitlab_config.json.template 629 B
- references/code_review_style.md 11 KB
- references/issue_summary_format.md 4.1 KB
- requirements.txt 17 B
- scripts/auto_resolve_issue.py 6.9 KB runs code
- scripts/gitlab_api.py 27 KB runs code
- scripts/gitlab_cache.py 8.6 KB runs code
- tests/test_auto_resolve_issue.py 3.6 KB runs code
- tests/test_gitlab_api.py 13 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 141 lines · 29 tokens per session scan B 697cb7c08196
gitlab-config is a skill published in the GitHub repository encoreshao/encore-skills (2 stars, last pushed 1mo ago), licensed MIT. It adds 29 tokens to every session and 1,433 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
idea-refine
Refines raw ideas into sharp, actionable concepts through structured divergent and convergent thinking. Use when an idea is still vague, when you need to stress-test assumptions before committing to a plan, or when you want to expand options before converging on one. Triggers on "ideate", "refine this idea", or…
chinese-git-workflow
A reference for configuring Git with Chinese code-hosting services such as Gitee, Coding.net, GitLab China, and CNB, including SSH, HTTPS, credentials, CI, and repository mirroring.
chinese-documentation
A Chinese technical-documentation style guide covering spacing, punctuation, numbers, terminology, and links when Chinese and English appear together.
create-slack-app
Use when a developer wants to create, scaffold, or bootstrap a new Slack app or agent from scratch with the Slack CLI. Covers prerequisites, authentication, choosing a workspace to install into, and creating a project from a Bolt (JS or Python) template locally. Trigger on "create a Slack app", "new Bolt app", "start…
ai-output-validation
Validates, parses, and sanitizes AI-generated outputs before they reach end users or downstream systems. Structured output enforcement, schema validation, and fallback handling.
skill-trigger-auditor
Audit whether skills, agents and slash commands route correctly and safely, and whether a trigger regression test is needed. Use before changing routing metadata or widening a description.