Command Palette

Search for a command to run...

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

glab-govern

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

Manage glab minder and legacy glab govern. Configure and diagnose GitLab AI agent governance hooks, fallback periodic sync, and explicitly approved Claude…

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

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

glab minder (glab-govern skill)

Configure and operate GitLab's experimental AI agent governance support for external agents.

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

Project sessions, configuration and human setup

Requires glab v1.134.0 or later. This is a source-backed summary, not a new binary help capture. Historical help below or in references retains its original version and normalization.

minder setup and minder setup --uninstall refuse execution when glab detects a coding agent, even with --yes. Have the user perform an explicitly approved setup/removal in their own terminal. Do not remove detection variables, change agent identity or use a wrapper to evade the refusal. Detection is environment-based and is not proof that an undetected invocation is human. Setup still does not authorize trust/approval-state changes or transcript uploads beyond the agreed scope.

CLAUDE_CONFIG_DIR, when set, selects Claude Code's settings and transcript directory instead of ~/.claude; it must be absolute for hook setup. Doctor uses that location too. Relative paths are rejected for hook handling; uninstall may remove other components while reporting unreadable hooks, so verify completion. Existing hooks/jobs need an explicitly approved configuration update; changing an environment variable alone does not migrate records or prove a background service sees the same directory.

A session working in multiple GitLab projects now becomes a separate GitLab session per eligible project. Claude Code supplies folders per entry; Codex supplies them per turn and shell call; OpenCode and Cursor supply one folder per session. Attribution follows the recorded shell folder, not every target in a shell command, git -C, absolute path or API request. A hook-recorded folder and its same-repository descendants use that mapping; other folders use origin. Entries with no folder use the last hook folder or --repo fallback.

Only projects on the original session host and in its original top-level group are eligible; that original boundary does not move when hooks later run elsewhere. Activity outside those projects, or in folders without a GitLab project, is not uploaded later. If one project accepts the session and another does not, the rejected project's activity is not later replayed; if none accepts it, sync retries. Approval must cover every eligible project and the actual prompts, arguments, response metadata (model and token usage), and other uploaded metadata; response text is not uploaded. --repo is not a promise to keep an entire multi-project session in one project.

Subsequent sync reuses each project's recorded GitLab project/session IDs instead of recreating the session on every turn. A 404 on a reused session can trigger creation/lookup under its recorded key to distinguish a removed session from disabled governance. Local records therefore matter for continuity; do not delete them to force a replay. Doctor checks the glab paths used by Claude hooks, the OpenCode plugin and fallback job for missing binaries, missing minder command and build drift. A bare glab in a hook uses the agent's PATH, which can differ from the interactive shell. Diagnose privately and let the user approve repair; do not automatically install/update or rerun setup.

The release also adds schema-v2 policy-snapshot parsing and local tool-call matching primitives (shell, file and MCP patterns, block/ask-user actions). They have no operational hook/command caller in this tag. They do not establish active enforcement, snapshot freshness, support for skipped custom Rego rules, or a new command to configure policy.

Source: setup.go, claudehooks.go, sync.go, parts.go, hookprograms.go, policysnapshot.go, toolcallmatcher.go.

Managed agent routing and session consent

Requires glab v1.132.0 or later for the

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

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

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

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

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

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

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

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

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

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

FAQ

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

Manage glab minder and legacy glab govern. Configure and diagnose GitLab AI agent governance hooks, fallback periodic sync, and explicitly approved Claude Code, OpenCode, Codex, or Cursor session audit uploads. Use for glab minder setup, govern doctor, and govern audit sync, including agent selection and uninstall. Triggers on AI agent governance, agent audit, session audit, Claude hooks, OpenCode audit, Codex audit, Cursor audit, fallback sync, govern setup, govern doctor, govern audit sync, govern uninstall.

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

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

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

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

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

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