/github-inspector:setupfrom github-inspector
Verifies gh CLI is installed and authenticated, then writes the github-inspector connector config file. Idempotent setup step.
Ships in github-inspector. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Prepares the github-inspector connector. Confirms gh CLI is installed and authenticated, writes ~/.config/claude-grc/connectors/github-inspector.yaml, and runs a read-only health check.
bash "${CLAUDE_PLUGIN_ROOT}/scripts/setup.sh"
The script exits 0 on success, 2 on missing auth, 5 on missing gh binary.
None. Reads from the environment:
GH_TOKEN — optional; if set, gh uses it directly. Otherwise the script honors whatever gh auth login already configured.CLAUDE_GRC_CONFIG_DIR — override ~/.config/claude-grc.Check that gh is on PATH. If not, fail with remediation (brew install gh or apt install gh).
Run gh auth status to verify an active token.
Run gh api user --jq .login to confirm the token actually works.
Write ~/.config/claude-grc/connectors/github-inspector.yaml with defaults:
version: 1
source: github-inspector
source_version: "0.1.0"
authenticated_as: <your-login>
defaults:
scope: "@me" # "@me" | "org:<name>" | "repo:<owner>/<name>"
include_archived: false
include_forks: false
Print a one-line success message and a reminder of next steps.
github-inspector:setup ✓
gh version: 2.59.0
authenticated as: octocat
config written: ~/.config/claude-grc/connectors/github-inspector.yaml
Next: /github-inspector:collect --scope=@me
gh and re-run.gh auth login, then re-run.gh auth login --scopes=repo,read:org,read:packages.Yes. Running again re-validates auth and rewrites the config. It does not destroy cached findings.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
4 skills in this plugin
/collectQuery GitHub for compliance-relevant configuration and emit findings conforming to the v1 contract./github-inspector-expertExpertise in evaluating GitHub repositories for compliance — what checks are meaningful, which SCF controls they map to, and how to interpret gh CLI output./statusReport configuration state, auth validity, and last-run freshness for the github-inspector connector.npx claudepluginhub grcengclub/claude-grc-engineering --plugin github-inspectorOther plugins' skills for the same job