claude-skills/ra-qm-team/access-lifecycle/commands/cs-access-diff.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.4 KiB

disable-model-invocation description argument-hint
true Just the roster diff - find leavers with enabled accounts, logins after exit, orphaned and ownerless service accounts, unreviewed movers and inactive accounts. hr_roster.csv accounts.csv --inactive-days N [--privileged-review-days N --leaver-grace-days N --as-of YYYY-MM-DD]

/cs-access-diff

Answer one question about $ARGUMENTS: who has access the HR roster says they should not?

python ${CLAUDE_PLUGIN_ROOT}/skills/access-lifecycle/scripts/access_diff.py --roster <roster.csv> --accounts <accounts.csv> \
  --inactive-days <policy> [--privileged-review-days <policy>] [--leaver-grace-days <policy>] [--as-of YYYY-MM-DD]

If no inactivity period was given, ask for the policy. PCI DSS 8.2.6 uses 90 days; that is not a default for everyone.

What blocks (exit 4)

  • A terminated person with an enabled account, or any login after the exit date.
  • A privileged account matching nobody on the roster, or a privileged service account with no owner.

What warns (exit 2)

  • Standard orphans and ownerless service accounts, movers not reviewed since their role change, overdue privileged reviews, inactive accounts.

Report

Verdict first, then blockers with account, person and action. Flag any login after exit as a security event for whoever owns incident response. List data-quality warnings (duplicate IDs or emails) before the findings they affect.