Command Palette

Search for a command to run...

Назад к скиллам
скилл № 95958

Audit

Read-only GitHub admin audit via live gh and docs (findings only, zero mutations): current state, drift, conventions, consistency, and cost signals for…

БесплатноБез исполняемых скриптов
melodic-softwareот melodic-software★ 34 звезды на GitHub

Установить Audit в Claude Code и Claude Desktop

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

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

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

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

github audit

Read-only findings over the GitHub admin plane for the authenticated gh user. The job: report what is (grounded), what the consumer declared it should be (when conventions exist), and the delta, plus cost signals and honest gates. This skill never executes a change.

1. Resolve areas

Route the request through the area router at ${CLAUDE_PLUGIN_ROOT}/reference/areas.md:

  • $ARGUMENTS (or the user's phrasing when model-invoked) names one or more area keys.
  • No area given: summarize the router's areas and ask which to audit. Do not silently sweep.
  • An all-area org sweep requires an explicit user confirm first (scoping rule in the method ladder), and findings are emitted incrementally per area.

2. Resolve target and scope

Admin areas are repo-, org-, or enterprise-scoped. For reads: an explicit argument wins; a repo-scoped area defaults to the current repository; an org/enterprise target may be inferred from the current repository's remote, but the inference must be named in the output ("auditing org X, inferred from this repo's remote") so a wrong guess is visible. When ambiguous, ask.

3. Ground every finding

Mechanics and current state resolve through the method ladder at ${CLAUDE_PLUGIN_ROOT}/reference/method-ladder.md. Preflight and credential diagnosis, gh native first, then gh api REST, then GraphQL, then UI-only detection, then guided manual with a deep link. Non-negotiables from the ladder:

  • Fetch integrity: verify a fetched page is the expected canonical surface before grounding on it.
  • Refusal branch: if a doc fetch failed, was blocked, or cannot be verified as the expected page, say so and refuse to present training-data recall as grounded. Label any unavoidable from-memory statement as unverified. Never blend it into grounded findings.
  • 403/404 disambiguation: probe before attributing (plan gate vs token scope vs credential modality vs genuinely unset). Never report a gate as drift. Missing scope → recommend gh auth refresh for the user to run themselves; never auto-run a re-consent.
  • Honest degradation: name every gate; report reachable state; guess nothing behind a gate.

4. Compare against declared conventions

When the consumer has declared GitHub conventions (any layer in ${CLAUDE_PLUGIN_ROOT}/reference/conventions-file.md: user-global, team or personal override), audit findings compare current state against them and cite the convention and its layer. Absent declared conventions, compare against current official-docs recommendations and name that provenance instead. Never a from-memory "best practice".

5. Report

Per area, incrementally:

  • Finding: current state, with the exact read that produced it (gh … command) so the user can reproduce it.
  • Expectation basis: the consumer convention or fetched-doc recommendation it was compared against, cited.
  • Delta / cost signal / gate: what differs, what it costs, or why it could not be assessed.
  • Proposed remedy (when one exists): the exact command or settings path. Proposed only, never executed.

--apply

The explicit mutation override, for acting on findings this audit just produced. It never widens what a bare invocation may do mid-flight. It is declared at invocation, and everything it does resolves through the --apply resolution flow in ${CLAUDE_PLUGIN_ROOT}/reference/change-routing.md. Scope and target resolved first. Org and enterprise targets are asked, never silently inferred. The read-path inference in step 2 does not carry over to writes. Then the consumer's effective routing: propose (emit exact commands/diff, execute nothing), guided-apply (per-step user confirms, each step naming the exact command/payload and its doc provenance, post-write read-back), or handoff (emit a change request for the consumer's declared channel). Unconfigured consumers resolve to propose. Every path keeps the user in the loop.

Read-only contract (hard)

A bare invocation of this skill performs zero mutations, stated in write-capability terms:

  • No gh api call carries -f/-F/--field/--raw-field/--input, except gh api graphql, where field flags supply the query document and variables.
  • No --method/-X with any value other than GET.
  • No gh api graphql body containing a mutation document. query documents only.
  • No gh native subcommand that writes (create/edit/delete/enable/disable verbs).
  • No browser automation fires from this skill on a bare invocation.

Which gh api flags send a request body or set the method: gh api options. As of 2026-11-10. Recheck when a gh release note names a new gh api request-body or request-method flag, or when a read from this skill returns a non-GET method the list above does not explain.

Requests to "just fix it" mid-audit do not override this: emit the exact proposed change and state the contract

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

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

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

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

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

  • evals/evals.json

FAQ

Что делает скилл Audit?

Read-only GitHub admin audit via live gh and docs (findings only, zero mutations): current state, drift, conventions, consistency, and cost signals for rulesets, billing, org security posture, what Actions policy allows, webhooks, PATs, apps. Use when: 'audit my GitHub org', 'check billing', 'review repo settings'. Not for design: /github:advise.

Как установить скилл Audit?

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

Скилл Audit запускает скрипты?

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

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

Сравнить Audit с