claude-skills/engineering/coding-agent-rollout/commands/cs-claude-settings-lint.md
Claude 8407939adb
fix(commands): hide skill-wrapper commands from the model's skill listing
Claude Code puts every model-invocable command into the same character-budgeted
listing as skills. Every plugin command here wraps a skill that is already listed,
so the model saw each capability twice and the listing overflowed sooner.
disable-model-invocation keeps /cs-<name> typeable and only removes the
duplicate from the model's view (verified on Claude Code 2.1.314).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L8KYFLGyaha8ReWA1JaCfC
2026-10-30 17:14:41 +00:00

1.1 KiB

disable-model-invocation description argument-hint
true Lint Claude Code settings across shared, local, user and managed scopes, and say what the merged permission policy actually allows. [repo path] [managed-settings.json] [user settings.json]

/cs-claude-settings-lint

python ${CLAUDE_PLUGIN_ROOT}/skills/coding-agent-rollout/scripts/settings_linter.py --repo <repo> [--managed <file>] [--user <file>]

Remember while reading the result: permissions.allow arrays merge across scopes, and evaluation is deny, then ask, then allow, first match wins. A strict shared file does not cancel a permissive user file.

Report

  1. Verdict: CLEAN (0) / WARNINGS (2) / BLOCKED (4).
  2. Every BLOCKER with its fix: blanket Bash allows, pre-approved destructive commands, literal credentials, committed .claude/settings.local.json, managed bypassPermissions.
  3. Dead rules (an allow shadowed by deny or ask, mcp__* in allow, defaultMode set where Claude Code ignores it).
  4. Whether a managed policy disables bypass mode. If not, say that any engineer can skip every prompt.