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 agentmods add skills/flc1125/skills/glab-clinpx skills add flc1125/skills --skill glab-cligit clone --depth 1 https://github.com/flc1125/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/flc1125/skills/glab-cli)<a href="https://agentmods.dev/skills/flc1125/skills/glab-cli"><img src="https://agentmods.dev/badge/skills/flc1125/skills/glab-cli.svg" alt="Measured on agentmods" 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 | $0.00095 | $0.01637 |
| Opus 5 | $0.00048 | $0.00818 |
| Sonnet 5 | $0.00019 | $0.00327 |
| Haiku 4.5 | $0.00010 | $0.00164 |
Grade A, and why
glab-cli scanned grade A with 0 findings 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 4d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 212 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GLab CLI
Use glab with host-aware defaults instead of hardcoding gitlab.com.
Workflow
Follow this order unless the user explicitly asks for a single command.
1. Let glab use the current context by default
Do not run host detection by default.
In a Git repository, prefer:
glab <command>
Only add GITLAB_HOST, --hostname, or -R when the task targets another repo or another instance, or when glab resolves the wrong context.
2. Detect the platform only when context is unclear or failing
Check git remote -v only when:
glabresolves to the wrong instance- auth checks fail against an unexpected host
- the repository has both GitHub and GitLab remotes
- multiple GitLab hosts are present
- the task targets a different instance than the current directory
Rules:
- Prefer a GitLab remote over any GitHub or Bitbucket remote.
- If the remote host is
gitlab.com, treat the platform asgitlab.com. - If the remote host is anything else, treat the platform as
self-managed-or-dedicated. - If multiple GitLab hosts appear in
git remote -v, treat the result as ambiguous and confirm before any write operation. - If
GITLAB_HOSTis already set, let it override the remote-derived host.
If git remote -v does not show a GitLab remote:
- check whether the user is in the intended repository
- ask for the GitLab host or repository URL only if the task is otherwise blocked
- avoid guessing
gitlab.comfor a private installation
If multiple GitLab hosts are present in git remote -v, do not silently pick one for write operations. Confirm the target or set GITLAB_HOST explicitly first.
3. Reuse explicit context only when needed
For repository-scoped commands, prefer one of these patterns:
glab <command>
GITLAB_HOST="$host" glab <command>
glab <command> -R "$repo"
GITLAB_HOST="$host" glab <command> -R "$repo"
Decision rules:
- If the current directory is already the target GitLab repository, keep using bare
glabcommands. - If the command targets another repository on the same instance, add
-R "$repo". - If the command targets another GitLab instance, set
GITLAB_HOST="$host"and add-R "$repo"when the command is repository-scoped. - For
glab api, prefer--hostname "$host"when calling an instance other than the current repository context.
What ships with it
2 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.
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.
- 4d ago First seen · 212 lines · 95 tokens per session scan A d843e18051d7
glab-cli is a skill published in the GitHub repository flc1125/skills (36 stars, last pushed today), licensed MIT. It adds 95 tokens to every session and 1,637 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
gemini
Use when the user requests to run Gemini CLI for code analysis, refactoring, or automated editing.
iflytek-hyper-tts
Use when user asks to synthesize speech, convert text to audio, or read text aloud. 讯飞超拟人语音合成 - 支持文本转语音、语音合成(发音人/语速/语调/音量/输出格式)。大模型语音合成技能。语音合成, 文字转语音, 超拟人, TTS.
iflytek-pdf-image-ocr
AI-powered OCR service for images and PDF documents using iFlytek's advanced recognition APIs.
iflytek-translate
Translate text using iFlytek's Machine Translation API (机器翻译). Supports 70+ language pairs.
iflytek-contract-intelligence-review
Use when user asks to review contracts, detect contract risks, or perform compliance checks. 合同智能审核 - 对合同扫描件、图片合同、双语合同进行完整审核。 覆盖 OCR 识别、条款分析、风险检测、合规校对、翻译摘要全流程。 适用于法务审核、采购合同审查、供应链合规检查等场景。 关键词:合同审核、风险检测、条款分析、合规校对、contract review、risk detection。.
iflytek-image-understanding
Use when user asks to analyze an image, describe image contents, or answer questions about a picture. iFlytek Image Understanding (图片理解) — analyze and answer questions about images using Spark Vision model. WebSocket API, pure Python stdlib, no pip dependencies.