/configure-plugin:configure-claude-plugins [--check-only] [--fix] [--exhaustive] [--plugins <plugin1,plugin2,...>] [--workflows] [--no-workflows]from configure-plugin
Onboards projects to the laurigates/claude-plugins marketplace by configuring .claude/settings.json, pinning plugins, and scaffolding GitHub Actions workflows (claude.yml, claude-code-review.yml).
Ships in configure-plugin. 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.
Read when SKILL.md points to them.
Configure a project to use the laurigates/claude-plugins Claude Code plugin marketplace. Sets up .claude/settings.json with permissions, marketplace enrollment, and enabledPlugins; and GitHub Actions workflows (claude.yml, claude-code-review.yml) with the marketplace pre-configured.
| Use this skill when... | Use another approach when... |
|---|---|
| Onboarding a new project to use Claude Code plugins | Configuring Claude Code settings unrelated to plugins |
Setting up claude.yml and claude-code-review.yml workflows | Creating general GitHub Actions workflows (/configure:workflows) |
Adding the laurigates/claude-plugins marketplace to a repo | Installing individual plugins manually |
Merging plugin permissions into existing .claude/settings.json | Debugging Claude Code action failures (check GitHub Actions logs) |
| Selecting recommended plugins based on project type | Developing new plugins (see CLAUDE.md plugin lifecycle) |
find . -maxdepth 3 -name 'settings.json' -path '*/.claude/*'find . -path '*/.github/workflows/*' -maxdepth 3 -name 'claude*.yml'git remote -vfind . -maxdepth 1 \( -name 'package.json' -o -name 'pyproject.toml' -o -name 'Cargo.toml' -o -name 'go.mod' -o -name 'Dockerfile' -o -name 'justfile' -o -name 'Justfile' \)find . -maxdepth 2 \( -name 'idf_component.yml' -o -name 'sdkconfig' -o -name 'CMakeLists.txt' \)find . -maxdepth 2 -name '*.yaml' -path '*/esphome/*'Parse from command arguments:
| Parameter | Description |
|---|---|
--check-only | Report current configuration status without changes |
--fix | Apply configuration automatically |
--plugins | Comma-separated list of plugins to install (default: all recommended) |
--exhaustive | Pin every marketplace plugin as explicit true/false (see Flags) |
--workflows | Force-scaffold workflows without a git remote (see Flags) |
--no-workflows | Skip workflow scaffolding (see Flags) |
.claude/settings.json.github/workflows/claude.yml.github/workflows/claude-code-review.ymlgit remote -v: has_remote = true when non-empty, else false. This gates workflow scaffolding in Steps 4 and 5 (no remote → no GitHub Actions → do not scaffold by default).<owner> from it and list <owner>/.github's workflows with one gh api repos/<owner>/.github/contents/.github/workflows call. A listed reusable-claude.yml / reusable-claude-review.yml makes Steps 4 / 5 emit a caller; anything else (a missing file, 404, no GitHub remote) makes them emit the inline template (layout table).If --plugins is not specified, add the plugins of every policy stack whose detect matches the repo root, then the workflow plugins per indicator from references/plugin-selection.md; with no indicator, use the default set (git-plugin, code-quality-plugin, testing-plugin, tools-plugin).
Then evaluate each stack's detect one directory level down (Glob */<file> for each files entry, */<glob> for each globs entry). A stack that matches there but not at the root is a candidate stack: add none of its plugins, and list it in the Step 6 report with the directory that matched and the plugins it would add, so the user can opt in (detect rules).
Always include: configure-plugin, health-plugin, hooks-plugin.
Create or merge into .claude/settings.json (permissions, marketplace enrollment so web sessions retain plugin access, enabledPlugins).
One suffix:
@laurigates-claude-plugins.enabledPluginstakes it from the extraKnownMarketplaces key, workflowplugins:from the marketplacenamein marketplace.json; the stanza sets them equal. Any other key registers the marketplace twice; rename a key listed in the policy'ssettings.legacyMarketplaceAliasesand its suffixes together. Details: references/settings-json.md.
Pick the mode: the default writes only the recommended plugins as true (lean, but globally-toggled plugins leak in); --exhaustive pins every marketplace plugin as true/false (drift-resistant). Rationale and mode table: references/settings-json.md.
Permissions — always include the common baseline (Bash(git status *), Bash(git diff *), Bash(gh pr *), Bash(gh issue *), Bash(pre-commit:*), Bash(gitleaks:*)) plus the stack-specific entries for the detected stack. Use narrow subcommand patterns: auto mode drops broad and interpreter rules such as Bash(bash *) or a python3 wildcard, so they do nothing there. Per-stack table: same file.
Policy floor + enabledPlugins — deep-merge the policy's settings.floor, then add the selected plugins as <plugin>@laurigates-claude-plugins: true (merge rules).
Exhaustive mode (--exhaustive only) — enumerate both marketplaces, derive each boolean from repo context, preserve existing project values, and show the diff before writing. Signal table, baseline set, LSP list, diff format: references/exhaustive-mode.md.
MCP consistency — every name in enabledMcpjsonServers must be defined by a .mcp.json the repo carries. The floor names pal, context7 and sequential-thinking; if .mcp.json is absent, add the policy's mcpServers entries (env-var references only, via /configure:mcp). A name the repo adds beyond the floor (a project server such as foundryvtt) is allowed only when something real defines it: list the names and say which file supplies each. A parent directory's .mcp.json supplies them in a nested checkout but not in a clone, and the web.
If .claude/settings.json already exists, MERGE without duplicating entries. Preserve any existing hooks, env, or other fields.
Gate this step on a git remote being present. Decide whether to scaffold using this table:
has_remote (from Step 1) | Flag | Behaviour |
|---|---|---|
true | (default) or --workflows | Scaffold claude.yml |
true | --no-workflows | Skip; record STATUS=SKIPPED (--no-workflows) |
false | (default) | Default-skip — prompt the user via AskUserQuestion: "No git remote detected. claude.yml cannot run without GitHub Actions. Scaffold anyway (will sit dormant until a remote is added), or skip?" Default to skip on --check-only (no prompt). |
false | --workflows | Force-scaffold anyway (e.g. the user plans to add a remote later) |
false | --no-workflows | Skip without prompting |
When the decision is skip, do not write the file, and surface STATUS=SKIPPED (no git remote) in the Step 6 report so the omission is visible.
When the decision is scaffold, create .github/workflows/claude.yml in the layout the Step 1 probe chose: a thin caller of <owner>/.github's reusable-claude.yml with a job-level permissions: block, or the standalone inline template (SHA-pinned actions, explicit --model and --effort, defaulting to --effort low). Either way the marketplace and plugin list are inputs, and plugins: entries use the @laurigates-claude-plugins suffix (marketplace name, NOT the Step 3 key). For a caller, read the reusable workflow's live inputs and permissions: first. Both templates and the live-read commands: references/workflow-templates.md.
Apply the same git-remote gate from Step 4. Reuse the user's answer (or the --workflows / --no-workflows flag) — do not re-prompt. If Step 4 skipped, skip Step 5 as well and record STATUS=SKIPPED (no git remote).
When the decision is scaffold, create .github/workflows/claude-code-review.yml for automatic PR reviews in the layout the Step 1 probe chose: a caller of <owner>/.github's reusable-claude-review.yml, or the standalone inline template with --max-turns 50, from references/workflow-templates.md. The reusable workflow skips release-please and bot-authored PRs by default; the standalone inline template keeps a job-level if: github.event.pull_request.user.type != 'Bot' for the same reason (claude-code-action fails on a Bot-authored PR unless the bot is in allowed_bots).
Print the status report (settings, git remote, each workflow's status incl. SKIPPED reasons, next steps) from references/report-template.md.
| Context | Command |
|---|---|
| Quick status check | /configure:claude-plugins --check-only |
| Auto-configure all | /configure:claude-plugins --fix |
| Specific plugins only | /configure:claude-plugins --fix --plugins git-plugin,testing-plugin |
| Pin against global drift | /configure:claude-plugins --fix --exhaustive |
| Settings only (local-only repo) | /configure:claude-plugins --fix --no-workflows |
| Pre-stage workflows before remote exists | /configure:claude-plugins --fix --workflows |
| List marketplace plugin names | jq -r '.plugins[].name' .claude-plugin/marketplace.json |
| Verify settings exist | find .claude -maxdepth 1 -name 'settings.json' |
| List Claude workflows | find .github/workflows -name 'claude*.yml' |
| Check for git remote | git remote -v |
| Flag | Description |
|---|---|
--check-only | Report current status without making changes |
--fix | Apply all configuration automatically |
--plugins | Override automatic plugin selection |
--exhaustive | Enumerate every marketplace plugin as an explicit true/false so the project fully overrides global toggles. Triggered by "pin plugins" / "override global plugins for this project". |
--workflows | Force-scaffold the claude.yml / claude-code-review.yml workflows even when no git remote is detected. |
--no-workflows | Skip workflow scaffolding even when a git remote is present. Useful for local-only or vendored projects. |
CLAUDE_CODE_OAUTH_TOKEN secret must be added manually to the repository./configure:repo - Full end-to-end driver (runs this skill + web-session + health check)/configure:web-session - SessionStart hook for infrastructure tools/configure:all - Run all compliance checksclaude-security-settings skill - Claude Code security settingsWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub laurigates/claude-plugins --plugin configure-plugin49 skills in this plugin
/ci-workflowsReference YAML for the canonical container-build, test, release-please and auto-fix workflow files. Use when another skill or a review needs the standard shape to cite or diff against./claude-security-settingsClaude Code security settings: permission wildcards, shell operator protections, project-level allowlists. Use when auditing or hardening .claude/settings.json permissions./config-syncConfig sync across FVH repos: extract, diff, propagate tooling improvements. Use when syncing workflows or configs across multiple repos./configure-allRun all infrastructure standards checks and fixes. Use when onboarding a new project, doing a full compliance audit, or batch-fixing with --fix./configure-api-testsAPI contract testing: Pact, OpenAPI validation, JSON Schema/Zod. Use when adding consumer/provider contract tests or detecting breaking API changes in CI./configure-argocd-automergeargocd-automerge.yml: auto-create and merge PRs from ArgoCD Image Updater's image-updater-** branches. Use when setting up that workflow or checking its PAT permissions.Other plugins' skills for the same job