agentsclimarketplace

Setup check

Skill azmym/agent-skills/skills/setup-check

Plug-and-play skills that supercharge Claude Code, Cursor, Codex & other AI agents. Talk to Slack, audit your setup, and more.

Install
npx -y skills add azmym/agent-skills --skill setup-check

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Audit Claude Code configuration for issues, overlaps, unused components, update status, and misconfigurations. Use when the user (1) asks to check or audit their setup, (2) wants to find duplicate or conflicting skills, hooks, plugins, or rules, (3) asks what is broken or needs cleanup, (4) wants to check Claude Code or plugin updates, (5) asks to review MCP servers or memory state, (6) asks which recommended Amazon Bedrock config options they are missing, or (7) invokes /setup-check with optional scope (all, updates, skills, hooks, plugins, rules, settings, security, mcp, memory, overlaps, bedrock).

SKILL.md

31.0 KB, as published. Nobody here has run it

Setup Check

Audit Claude Code configuration and report issues, overlaps, update status, and cleanup recommendations.

Arguments

Parse from $ARGUMENTS. Default: all.

ArgScope
allFull audit (all categories below, including updates)
updatesClaude Code CLI + plugin version/update checks
skillsSkills: duplicates, broken symlinks, unused, placeholders
hooksHooks: conflicts, broken paths, event collisions
pluginsPlugins: disabled, stale cache, version tracking
rulesRules: contradictions, overlap with plugin behavior
settingsSettings files: duplicates, conflicting keys (health only)
securitySecurity: broad permissions, skipped prompts, orphaned MCP perms
mcpMCP servers: empty configs, duplicate servers
memoryMemory: empty dirs, stale entries, index mismatches
overlapsCross-category overlap detection only
bedrockBedrock config: recommended Bedrock-compatible options not currently set

Multiple args supported: /setup-check skills plugins runs both.

Goal Message

In addition to category args, the user can pass a quoted free-text string as a goal message:

/setup-check "ready for production?" /setup-check settings "security hardening"

If an argument is not a recognized category keyword, treat it as a goal message. The goal triggers an additional Goal Assessment section in the output (see below).

Scan Paths (MANDATORY)

You MUST read ALL of these paths for the relevant category. Do not skip any. Missing a path means missing findings.

Updates:

  • Claude Code CLI binary (run claude --version to get current version)
  • npm registry (run npm view @anthropic-ai/claude-code version 2>/dev/null for latest published version; requires network)
  • ~/.claude/plugins/installed_plugins.json (plugin versions, gitCommitSha, lastUpdated)
  • ~/.claude/plugins/cache/ (all cached versions; detect stale ones not matching active installPath)
  • claude plugins update <name>@<marketplace> -s <scope> output (authoritative source for update availability; the scope flag is required and must come from each plugin's scope field in installed_plugins.json)
  • ~/.claude/plugins/known_marketplaces.json (installed marketplaces with per-marketplace lastUpdated timestamps; used to detect which marketplaces changed after a refresh)
  • claude plugin marketplace list --json output (authoritative current marketplace set; read-only)

Skills:

  • ~/.claude/skills/ (symlinks; check for broken links with ls -la)
  • ~/.agents/skills/ (source directories; compare against symlinks for orphans)
  • ~/.claude/plugins/cache/<marketplace>/<plugin>/<version>/skills/ and .../agents/ (plugin-provided; the nesting is marketplace/plugin/version, so glob accordingly)

Hooks:

  • ~/.claude/plugins/cache/*/hooks/hooks.json (glob ALL versions, not just active)
  • Cross-reference against ~/.claude/plugins/installed_plugins.json to identify stale vs active

Plugins:

  • ~/.claude/plugins/installed_plugins.json (installed list with versions)
  • ~/.claude/settings.json > enabledPlugins (enabled/disabled state)
  • ~/.claude/plugins/cache/ (all cached versions; detect stale ones)

Rules:

  • ~/.claude/rules/*.md (read every rule file)

Settings:

  • ~/.claude/settings.json (main; lower precedence)
  • ~/.claude/settings.local.json (local overrides; higher precedence, wins on conflicts)

Security:

  • ~/.claude/settings.json (check skipDangerousModePermissionPrompt, permissions)
  • ~/.claude/settings.local.json (check permissions for broad Bash(<command>:*) patterns)
  • MCP server sources (for orphaned-permission detection): ~/.claude.jsonmcpServers (user-scope, authoritative), project-level .mcp.json, ~/.claude/.mcp.json (if present), claude mcp list stdout (fallback)

MCP:

  • ~/.claude.jsonmcpServers key (user-scope servers; authoritative location)
  • ~/.claude/.mcp.json (legacy/optional; often absent)
  • Project-level .mcp.json files in workspace directories

Memory:

  • ~/.claude/projects/<current-project-path>/memory/ (project memory)
  • MEMORY.md in that directory (index file)

Bedrock:

  • ~/.claude/settings.json (current config: top-level keys AND the env block)
  • ~/.claude/settings.local.json (overrides; merge for the full "currently set" key set)
  • gemini_search_grounded MCP call (the recommended Bedrock-compatible options reference set; live each run)

Checks Per Category

Updates

Execution order within this category: (0) marketplace refresh, (1) CLI version check, (2) plugin version freshness, (3) stale plugin cache. Never abort the audit on a failure in any step; degrade to an i or finding and continue.

  1. Marketplace refresh (mutating, runs first):
    • Read ~/.claude/plugins/known_marketplaces.json and record each marketplace's lastUpdated timestamp BEFORE updating (this is the baseline for change detection).
    • Run claude plugin marketplace update (no name argument updates all marketplaces). Capture stdout, stderr, and exit code.
    • Re-read known_marketplaces.json AFTER and compare each marketplace's lastUpdated:
      • Timestamp advanced: ⬆ <marketplace> refreshed (pulled latest from <repo>)
      • Timestamp unchanged: ✓ <marketplace> already current
    • Parse output for per-marketplace failures. Each failure: ⚠ <marketplace> refresh failed (<reason>) -> Run 'claude plugin marketplace update <name>' manually
    • If the whole command fails (network down, CLI error): emit a single i Marketplace refresh skipped (<reason>) and continue to the CLI version check. Do NOT abort.
    • Compare timestamps rather than trusting stdout for success: the bulk update stdout format is not guaranteed stable across CLI versions; known_marketplaces.json lastUpdated is the durable record of what was actually pulled. Stdout is used only to surface failures.
  2. Claude Code CLI version: Run claude --version to get current version. Then run npm view @anthropic-ai/claude-code version 2>/dev/null to get the latest published version. Compare the two. If npm is unavailable or network fails, report current version as i (INFO) only with message "Could not check for updates".
  3. Plugin version freshness: For each plugin in installed_plugins.json:
    • If version is "unknown", flag as (WARN) with recommendation to reinstall for version tracking
    • Read the plugin's scope field (values: user, project, local, managed) from its entry in installed_plugins.json. claude plugins update defaults to -s user, so the scope flag MUST be passed explicitly for non-user scopes or the command will fail with "Plugin X is not installed at scope user".
    • Run claude plugins update <name>@<marketplace> -s <scope> for each plugin (the plugin key in installed_plugins.json is already in name@marketplace format). Parse the output:
      • If output contains "already at the latest version", mark as with current version
      • If output indicates an update was applied (version changed), mark as with old and new versions
      • If the command fails with "not installed at scope <X>", retry once with -s project, then -s user as fallbacks before giving up
      • If the command fails for any other reason, fall back to checking lastUpdated: flag plugins not updated in 30+ days as i (INFO, "not updated in N days, possibly stale")
    • Important: Do NOT compare gitCommitSha against the marketplace repo HEAD. Marketplace repos contain multiple plugins, so repo HEAD advances when any plugin changes, causing false positives for unrelated plugins.
    • Show one finding per plugin, using the full name@marketplace identifier so users can copy-paste directly into commands
  4. Stale plugin cache: Detect version directories in ~/.claude/plugins/cache/<marketplace>/<plugin>/ where more than one version directory exists. The active version is the one matching installPath in installed_plugins.json. Other directories are stale cache. Flag as (WARN) with recommendation to clean up.

Skills

  1. Broken symlinks: ls -la ~/.claude/skills/ and verify each target exists
  2. Orphaned sources: Directories in ~/.agents/skills/ with no symlink in ~/.claude/skills/
  3. Semantic duplicates: Skills with overlapping names OR overlapping descriptions (read frontmatter). Common pairs: api-docs-generator/api-documentation-generator, android-design-guidelines/mobile-android-design, kubernetes-specialist/kubernetes-best-practices
  4. Plugin collisions: Standalone skill with same name as a plugin-provided skill (double-loaded). Also check partial overlaps: a standalone skill whose functionality is a subset of a plugin's sub-skills (e.g., standalone slack-messaging vs plugin providing slack:slack-messaging)
  5. Placeholder skills: Skills with unfilled template content in either the description ("Replace with description") OR the body ("Insert instructions below", empty body)
  6. Tech stack mismatch: Skills for technologies not found in any workspace project. Check ~/workspace/ for project indicators (go.mod, build.gradle, package.json, Cargo.toml, etc.). If ~/workspace/ does not exist, skip this check and note it as i

Hooks

  1. Event collisions: Multiple hooks on the same event (e.g., two UserPromptSubmit handlers)
  2. Broken commands: Hook commands referencing non-existent scripts
  3. Stale hooks: Hooks from old plugin versions still in cache (compare installPath in installed_plugins.json)

Plugins

  1. Disabled plugins: enabledPlugins: false entries (candidates for removal)
  2. Version unknown: Plugins with "version": "unknown" (cannot track updates)
  3. Stale cache: Old version directories in cache that are not the active installPath
  4. Enablement mismatch: Plugin in installed_plugins.json but missing from enabledPlugins or vice versa

Rules

  1. Contradictions: Rules that give opposing instructions (read all rule files, compare)
  2. Plugin overlap: Rules that duplicate behavior a plugin already provides (e.g., formatting rules when a formatting plugin is installed)
  3. Outdated references: Rules mentioning tools, commands, or patterns that no longer exist

Settings

  1. Duplicate keys: Same key in both settings.json and settings.local.json with identical values (redundant)
  2. Conflicting keys: Same key with different values (settings.local.json takes precedence over settings.json)

Security

  1. Skipped prompts: skipDangerousModePermissionPrompt set to true in settings
  2. Broad permissions: Bash(<command>:*) patterns that allow arbitrary arguments (especially python3:*, osascript:*, chmod:*, xargs:*)
  3. Orphaned MCP permissions: MCP tool permissions (mcp__<server>__*) for servers not found in any configured source. Important: Claude Code stores user-scope MCP servers in ~/.claude.json under the mcpServers key, NOT in ~/.claude/.mcp.json (which often does not exist). Build the known-server set from multiple sources in this order: (a) mcpServers keys in ~/.claude.json, (b) mcpServers keys in any project-level .mcp.json in the current workspace, (c) mcpServers keys in ~/.claude/.mcp.json if it exists, (d) fallback: parse claude mcp list stdout (lines like ^ <name>: ... - [✓✗] ...). Flag a permission as orphaned only when <server> is absent from ALL sources.
  4. Credential exposure: Credential files with loose filesystem permissions

MCP

  1. Empty configs: All MCP sources empty (no mcpServers in ~/.claude.json, no project .mcp.json, no ~/.claude/.mcp.json)
  2. Duplicate servers: Same server name configured at multiple scopes (e.g., in both ~/.claude.json and a project .mcp.json)

Memory

  1. Empty directory: Memory dir exists but has no files
  2. Missing index: Memory files exist but no MEMORY.md
  3. Index mismatch: MEMORY.md references files that do not exist, or files exist but are not in the index
  4. Stale entries: Memories referencing deleted files or very old dates

Overlaps (Cross-Category)

When running overlaps, you need data from ALL categories. Read all scan paths from every category, then run ONLY the cross-category checks below (not per-category checks like broken symlinks).

  1. Skill vs plugin: Standalone skill duplicates plugin-provided skill or behavior (exact name match or functional subset)
  2. Rule vs plugin/hook: Rule enforces what a plugin or hook already does
  3. Permission vs actual tools: Permissions granted for tools/servers not actually configured
  4. Multi-concern overlap: Multiple components (skill + plugin + rule) all addressing the same concern (e.g., Slack formatting)

Scoring note: Overlap findings are cross-category views of issues already counted in their source categories. Do NOT count overlap findings toward either score. They appear in the report for visibility but have zero weight.

Bedrock Config

Stateless audit that runs on every invocation when scope is all or bedrock. It surfaces recommended, Bedrock-compatible config options not currently set. There is NO state file and NO dismissal: an option the user skips reappears on the next run, by design.

  1. Collect current config: Build the set of all keys present in ~/.claude/settings.json and ~/.claude/settings.local.json, including every variable name inside their env blocks. Track each name with its namespace (top-level setting vs env variable) so matching stays namespace-aware. This is the "already set" set.
  2. Fetch the reference set: Call the gemini_search_grounded MCP tool asking which settings.json keys and environment variables are recommended for Claude Code AND work when Claude Code runs on Amazon Bedrock. Request citations. For each returned option, record: name, type (setting or env), one-line purpose, recommended value (if known), a short Bedrock note, and source citation URL. Keep ONLY options whose Bedrock compatibility the sources confirm; drop any option that cannot be confirmed Bedrock-compatible.
  3. Diff: Drop any option already in the "already set" set, matching within the same namespace (a setting against settings keys, an env against env variable names). The remainder is "missing recommended Bedrock config."
  4. Outcomes:
    • None missing: emit ✓ All recommended Bedrock config present. Render no block.
    • Gemini/network failure: emit i Bedrock config check unavailable (Gemini/network) -> Re-run /setup-check bedrock when online. Never abort the audit; continue to remaining categories.
    • Some missing: render the BEDROCK CONFIG block (see Output Format) and present a single AskUserQuestion multi-select listing the missing options. Selecting none is valid.
  5. Apply approved options: For each selected option, invoke the update-config skill to add the key to ~/.claude/settings.json with its recommended value (for an env-type option, add it under the env block). update-config is responsible for preserving the rest of the file and writing valid JSON. On success emit ✓ Added "<key>" to settings.json (<value>). If it reports a failure or the result would be invalid JSON, skip the write and emit ⚠ Could not add "<key>" to settings.json (<reason>) -> Add it manually.
  6. No persistence: Do not write any record of skipped options. Unselected options are simply re-diffed and re-shown next run. This is intended.

Goal Assessment

This section only appears when the user provides a quoted goal message in the arguments. It is NOT a standard check category; it is generated after all other checks complete.

How it works:

  1. All standard checks run first (whichever categories are selected)
  2. Review all findings through the lens of the user's stated goal
  3. Produce a filtered view: only findings relevant to the goal, plus any concerns that were not flagged by standard checks but matter for the stated goal
  4. End with a one-line "Verdict" summarizing readiness

Output structure:

┌─ GOAL ASSESSMENT ───────────────────────────────────
│
│  Goal: "<user's quoted message>"
│
│  ✓  <relevant positive finding>
│  ⚠  <relevant warning> -> <recommendation>
│  ✗  <relevant error> -> <how to fix>
│
│  Verdict: <one-line readiness assessment>
│
└─────────────────────────────────────────────────────

Examples of how to interpret goal messages:

  • "ready for production?" - focus on errors, security settings, broken configs, stale versions
  • "security hardening" - focus on broad permissions, MCP orphaned permissions, security flags, unknown versions
  • "clean up unused stuff" - focus on disabled plugins, stale cache, placeholder skills, duplicates, orphans
  • "starting a new React project" - focus on relevant skills available, missing skills for React ecosystem, MCP servers for dev tooling

Verdict tone: Be direct and honest. Examples:

  • "Ready. No blockers found for your goal."
  • "Almost ready. Address the 2 warnings above first."
  • "Not ready. 3 errors must be fixed before proceeding."

Output Format

Use this exact structure. Do not wrap the report in markdown code blocks. Render all box-drawing characters directly as plain text output.

Header

╭─────────────────────────────────────────────────────
│  Claude Code Setup Check
│  YYYY-MM-DD  |  Scope: <scope>
│  Claude Code v<version>
╰─────────────────────────────────────────────────────

Replace YYYY-MM-DD with today's date, <scope> with the selected scope (e.g., "all", "skills, plugins"), and <version> with the output of claude --version.

Scores

Displayed immediately after the header, stacked on two lines:

  Health:   N.N / 10  ████████░░░░  <Label>
  Security: N.N / 10  ████████░░░░  <Label>

Health Score Calculation:

Health measures functional correctness. Only health-classified findings contribute.

SeverityTierWeight
ERROR (✗)Major-2.0
ERROR (✗)Minor-1.0
WARN (⚠)Major-0.7
WARN (⚠)Minor-0.3
INFO (i)---0.1
OK (✓)--0.0
UPDATE (⬆)--0.0

Formula: health_score = max(0.0, min(10.0, 10.0 - sum_of_health_penalties))

Health Labels:

  • 9.0 to 10.0: "Excellent"
  • 7.0 to 8.9: "Healthy"
  • 5.0 to 6.9: "Needs Attention"
  • 0.0 to 4.9: "Critical"

Security Score Calculation:

Security measures how locked-down the permission model is. These are intentional preferences, not defects, so no ERROR is used; all findings are WARN with recalibrated weights.

FindingIndicatorWeight
skipDangerousModePermissionPrompt enabled-1.0
Broad permission (each Bash(<command>:*) pattern)-0.5
Orphaned MCP permissions (server not configured)-0.5
Credential files with loose permissions-0.5

Formula: security_score = max(0.0, min(10.0, 10.0 - sum_of_security_penalties))

Security Labels:

  • 9.0 to 10.0: "Locked Down"
  • 7.0 to 8.9: "Guarded"
  • 5.0 to 6.9: "Relaxed"
  • 0.0 to 4.9: "Permissive"

Progress bar (both scores): 12 characters wide. Calculate filled blocks as round(score / 10 * 12). Use for filled and for empty.

Category Sections

Each category renders as a left-bordered section with its name and finding count in the header:

┌─ CATEGORY NAME (N findings) ────────────────────────
│
│  ✓  Finding with no issues
│  i  Informational note (details inline)
│  ⚠  Problem description (specifics) -> Recommendation
│  ✗  Broken config (specifics) -> How to fix
│
└─────────────────────────────────────────────────────

Indicators (use these exact symbols, not text tags):

  • = OK (check passed, no issues)
  • = WARN (actionable recommendation)
  • = ERROR (broken configuration, must fix)
  • i = INFO (informational, no action needed)
  • = Update available (used only in the Updates section)

Formatting rules:

  • One finding per line. Each finding MUST fit on a single line: indicator + description + (details) + -> recommendation. Do not wrap findings across multiple lines. Use concise language to keep lines compact.
  • Examples of single-line findings:
    • ✓ 88 symlinks intact, no broken links
    • ⚠ 3 plugins "unknown" version (frontend-design, playwright, skill-creator) -> Reinstall for version tracking
    • ✗ Broken symlink: my-skill -> missing target -> Remove or recreate symlink
    • ⬆ prompt-improver@severity1-marketplace updated (0.5.1 -> 0.6.0) -> Was auto-updated by check
  • Use parentheses for inline details rather than separate indented lines
  • Use -> to attach the recommendation directly on the same line
  • If ALL sub-checks in a category pass, show a single ✓ No issues found
  • Missing scan paths: show i <path> not found, skipping and continue. Do not error out.
  • Long findings may extend past the bottom rule width. This is expected behavior; there is no right border to align with. Do not truncate or wrap findings to match the rule length.

Severity rules (applies to health categories):

  • (ERROR): Broken symlinks, missing scripts, corrupted configs, CLI not found
  • (WARN): Duplicates, overlaps, disabled plugins, stale cache, available updates, unknown versions
  • i (INFO): Version not checked (network unavailable), tech stack mismatch, empty memory, component not updated in 30+ days
  • (OK): Category or sub-check passed with no issues

Severity rules (Security category):

  • (WARN): All security findings (broad permissions, skipped prompts, orphaned MCP perms, credential exposure)
  • (OK): All security checks passed
  • No ERROR in Security; these are intentional preferences, not broken configuration

Tier classification (determines weight, see Scores section above):

  • Major = impacts runtime correctness. Ask: "Does this cause wrong behavior?"
  • Minor = housekeeping, cosmetic, or redundant. Ask: "Is this messy but harmless?"
  • When unsure, default to minor. Promote to major only if the finding can cause incorrect behavior.
  • Security findings have their own fixed weights (see Security Score Calculation) and do not use tier classification.

Health Tier Assignment Table

Use this table to classify each health finding as major or minor for health score calculation. Security findings are NOT in this table; they use the Security Score weights above.

ERROR Tier Assignments

CheckTier
Corrupted/unparseable config filesMajor
CLI not found / claude --version failsMajor
Broken hook commands (script doesn't exist)Major
Broken skill symlinksMinor
Missing scan paths for critical configsMinor

WARN Tier Assignments

CheckTier
Contradicting rulesMajor
Conflicting settings keys (different values)Major
Stale plugin cache (old versions in cache/)Minor
Disabled plugins still installedMinor
Unknown plugin versionsMinor
Semantic duplicate skillsMinor
Plugin collisions (standalone + plugin-provided)Minor
Duplicate settings keys (identical values)Minor
Orphaned skill sources (no symlink)Minor
Placeholder skillsMinor
Stale hooks from old plugin versionsMinor
Event collisions (multiple hooks on same event)Minor
Rule overlaps with plugin behaviorMinor
Empty MCP configsMinor
Duplicate MCP servers across scopesMinor
Memory index mismatchesMinor
Marketplace refresh failed (single marketplace)Minor

INFO (all single-tier, -0.1)

No tier distinction. All INFO findings use the flat -0.1 weight. Updates INFO findings: marketplace refresh skipped (whole command failed).

Zero-weight Updates findings (0.0, no penalty)

These render in the Updates section but contribute nothing to the health score, matching the existing treatment of plugin updates:

CheckIndicator
Marketplace refreshed
Marketplace already current

Bedrock Config findings (zero-weight, exempt)

The entire Bedrock Config category is advisory and contributes to NEITHER the Health score nor the Security score. This is a deliberate exemption from the standard severity weights (which would otherwise penalize an i at -0.1 and a as a minor): the user intentionally and repeatedly skips some recommended options, so scoring them would peg the score permanently low. Do NOT count any of these toward either score:

CheckIndicator
Missing recommended Bedrock option (each)i
All recommended Bedrock config present
Bedrock config check unavailable (Gemini/network)i
Bedrock option added to settings.json
Could not add Bedrock option (write failed)

BEDROCK CONFIG Block

When the Bedrock Config category (scope all or bedrock) finds recommended-but-missing options, render this section box. Every listed option is, by construction, both recommended and Bedrock-compatible, so there is no per-item compatibility badge. The box itself is not a scored finding; the entire Bedrock category is zero-weight (see Scores).

┌─ BEDROCK CONFIG (N findings) ───────────────────────
│
│  i  <N> recommended Bedrock-compatible options not currently set.
│
│  1. settings.json: "<key>"
│     <one-line purpose>. Recommended: <value>.
│     Source: <citation url>
│
│  2. env: <VAR_NAME>
│     <one-line purpose>. Recommended: <value>.
│     Source: <citation url>
│
└─────────────────────────────────────────────────────

After rendering, present the AskUserQuestion multi-select described in the Bedrock Config check, write approved options via the update-config skill, and emit the per-option ✓ Added ... confirmations as normal findings within the Bedrock Config section.

Section Ordering

When all is selected, render sections in this order:

  1. Updates
  2. Bedrock Config
  3. Skills
  4. Hooks
  5. Plugins
  6. Rules
  7. Settings
  8. Security
  9. MCP
  10. Memory
  11. Overlaps
  12. Goal Assessment (only if a goal message was provided)

When a single category is selected, show only that category section plus the summary.

Summary

╭─────────────────────────────────────────────────────
│  Summary
├─────────────────────────────────────────────────────
│
│  Health:   ✓ OK: N   ✗ ERROR: N major, N minor   ⚠ WARN: N major, N minor   i INFO: N
│  Security: ✓ OK: N   ⚠ WARN: N
│
│  Top Recommendations:
│
│  1. Most impactful recommendation
│  2. Second most impactful
│  3. Third
│  4. Fourth
│  5. Fifth
│
╰─────────────────────────────────────────────────────

Summary counts formatting:

  • Health line: show tier breakdown for ERROR and WARN: ✗ ERROR: 1 major, 2 minor
  • Health line: when a severity has zero findings for a tier, omit that tier: ⚠ WARN: 3 minor
  • Health line: when a severity has zero findings entirely, show 0: ✗ ERROR: 0
  • Security line: show total WARN count only (no tier breakdown): ⚠ WARN: 3
  • Security line: when no warnings, show: ✓ OK: all clear

Rank recommendations across both dimensions by severity (health ERROR first, then health WARN, then security WARN), and within the same severity by impact. Show up to 5 recommendations.

Execution Order

  1. Parse arguments to determine scope. Separate category keywords from a quoted goal message (if any).
  2. Read ALL mandatory scan paths for selected categories (use parallel tool calls where possible).
  3. Run update checks first (if all or updates is selected) in this sub-order: (0) claude plugin marketplace update to refresh all marketplaces, comparing known_marketplaces.json lastUpdated before/after; (1) claude --version and npm view for the CLI version check; (2) read installed_plugins.json and run claude plugins update <name>@<marketplace> -s <scope> for each plugin (scope read from the plugin's entry); (3) detect stale plugin cache.
  4. Run the Bedrock Config audit (if all or bedrock is selected), immediately after Updates so execution order matches render order: collect current config keys from settings.json and settings.local.json, call gemini_search_grounded for recommended Bedrock-compatible options, diff out already-set keys, present the BEDROCK CONFIG block and AskUserQuestion multi-select for any missing options, and write approved options via the update-config skill. On Gemini/network failure, emit the unavailable INFO line and continue. This category is zero-weight.
  5. Run checks for each remaining selected category (including the Security category).
  6. Run overlap checks (if all or overlaps is selected).
  7. Calculate dual scores:
    • Health score: start at 10.0, classify each health finding by tier (see Health Tier Assignment Table), subtract the corresponding weight. Floor at 0.0, cap at 10.0.
    • Security score: start at 10.0, subtract each security finding's fixed weight (see Security Score Calculation). Floor at 0.0, cap at 10.0.
  8. Generate goal assessment (if a goal message was provided): review all findings against the stated goal, filter to relevant findings, write verdict.
  9. Render the full report: header, dual score lines, category boxes (including Security), goal assessment (if any), summary.
  10. End with the summary box containing per-dimension counts and top 3-5 recommendations sorted by impact across both dimensions.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.