Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

glab-api

БесплатноБез исполняемых скриптовНе проверен

Make direct GitLab REST API calls for advanced queries and operations not covered by other glab commands. Use when accessing GitLab API endpoints directly…

vince-winkintelот vince-winkintel★ 51 звезда на GitHub

Об этом скилле

glab api

Historical captured help and immutable provenance: command reference. Older command captures retain their original provenance and describe earlier interfaces.

Help provenance — capture key 206ebab4f: official macOS arm64 release binary, source commit 206ebab4fc3fa590b720d2885ac890c195c46650; binary archive SHA-256 905271694af2dd68cc254d9a2f3dae80036e5c752a82ea16dec5220f4bff1de7. Applies only to adjacent 206ebab4f markers; complete binary stdout is preserved except trailing spaces/tabs. Historical references retain their own provenance. This attribution is kept inline for single-file exports that omit references and VERSION.

Organization routing and agent identification

Requires glab v1.132.0 or later for the behavior in this section. This is a source-backed summary; retained help captures keep their original immutable version and are not v1.132.0 binary verification.

GITLAB_ORGANIZATION_ID supplies X-GitLab-Organization-ID on clients built from configuration. It must parse as a positive signed 64-bit integer; a path, slug, zero, overflow or malformed value fails client creation. It has no config-file key or dedicated flag. The environment value replaces a configured custom header of the same name regardless of casing; the host-scoped header transport also covers the selected API/refresh hosts. It selects routing, not a visible actor or additional permissions.

Agent detection recognizes Cline, Goose, Junie, Kilo Code, Kiro CLI/IDE, Amazon Q CLI, Qwen Code, Roo's extension and Warp's cloud agent. Kilo precedes inherited OpenCode markers and Kiro precedes Amazon Q markers. Zed's agent distinction requires an explicitly empty PAGER plus GIT_PAGER=cat. AI_AGENT remains a validated name override (1–64 ASCII letters/digits/dots/hyphens/underscores), but boolean words 0, 1, true, false, yes, and no fall through to detection. These signals describe request origin; they are not authentication or consent.

Source: client.go, coding_agent.go, custom_headers.go.

Rate limits and HTTP debug output

When glab api returns HTTP 429, its error can include the rate-limit name and a retry delay. The delay comes from Retry-After (seconds or an HTTP date), falling back to RateLimit-Reset (Unix time). Without a usable header there is no delay hint. Wait as advised; this is diagnostic advice, not a new retry flag or permission to repeat a mutation. Check the resulting resource before retrying an approved write.

GLAB_DEBUG_HTTP redacts selected request headers, credential query parameters, and recognized fields in JSON/form request and response bodies. JSON fields are the exact names token, access_token, refresh_token, id_token, runners_token, device_code, private_token, and job_token; forms and query strings also cover code, code_verifier, and client_secret. This is a narrow field filter: unknown or differently cased keys, plain text, malformed/unparsed content, response headers, and other sensitive payloads may remain. The real API response and normal command stdout are unchanged and can still contain secrets. Keep debugging disabled during token issuance/rotation and protected handoffs; do not treat a debug dump as safe to paste or upload.

Mutual TLS client certificates

The shared API transport accepts PEM or DER certificate/key pairs (client_cert and client_key), or a PKCS#12 bundle (.p12/.pfx) in client_cert with client_key unset. DER keys may be PKCS#8, PKCS#1, or EC. Use protected file paths via GLAB_CLIENT_CERT and GLAB_CLIENT_KEY; provision a bundle password through GLAB_CLIENT_CERT_PASSWORD without putting its value in argv or logs. The per-host client_cert_password setting uses the OS keyring when use_keyring is true. Never print config to diagnose it or weaken server certificate verification. A lone non-PKCS#12 certificate without its key can be ignored for compatibility; it does not prove mutual TLS was configured successfully.

Automatic retries and agent attribution

The shared API client does not automatically retry ordinary POST or PATCH requests after a server error, or a network failure after the request was written. The server may already have applied the write: inspect the resource before repeating an approved mutation. This is not a blanket no-retry guarantee: HTTP 429 and eligible connection failures before sending can still be retried, and selected internal read-only or idempotency-protected operations explicitly opt into safe retries. That internal opt-in is not a glab api flag.

COPILOT_CLI=1

Полный SKILL.md на GitHub

Установить glab-api в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/commands.mdreferences/help-206ebab4f.md

FAQ

Что делает скилл glab-api?

Make direct GitLab REST API calls for advanced queries and operations not covered by other glab commands. Use when accessing GitLab API endpoints directly, making custom API requests, or fetching data in JSON format. Triggers on API call, REST API, GitLab API, JSON query, advanced query.

Как установить скилл glab-api?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл glab-api запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить glab-api с