mcpbeat Sign in

Access And Identity Agent Skill

Designs and audits who can reach what — authentication, authorization models, privileged access, service credentials, and joiner-mover-leaver process. Use this to design a permissions model, run an access review, reduce standing privilege, handle offboarding, set up SSO or MFA, manage service and machine credentials, or diagnose why permissions have sprawled.

867 tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
220
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/cbrock84/headcount --skill access-and-identity

The instruction itself

7 sections, as written by the author

Access and identity

Access accumulates. People change roles and keep the old permissions, services get broad credentials

because narrow ones were inconvenient, and contractors' accounts outlive their contracts. Left alone,

entitlement always grows and never shrinks.

Principles that actually hold

  • Least privilege, and it must be practical. A model so restrictive that people share accounts

to get work done is worse than a looser one they follow.

  • Role-based, not person-based. Grants attached to individuals are ungovernable at any scale.
  • Time-bound elevation over standing privilege. Nobody should hold administrative access

continuously because they occasionally need it. Elevation on request, with a reason, expiring

automatically.

  • Separate duties where the consequence is severe. The person who requests a payment does not

approve it; the person who writes the deploy does not solely authorize the production change.

Authentication

Single sign-on wherever possible — the value is not convenience, it is that offboarding becomes one

action rather than forty. Every system outside SSO is a system someone will still have access to

after they leave.

Multi-factor everywhere it is available, and phishing-resistant factors for administrative access.

SMS is better than nothing and is the weakest option worth deploying.

Joiner, mover, leaver

Mover is the one everyone gets wrong. Joining and leaving are events with a process; changing

role usually adds permissions and removes none, which is how a long-tenured employee ends up with

access to everything.

Make role change a revoke-and-regrant rather than an addition. It is the single highest-value change

most organizations can make to their access posture.

Offboarding needs to be same-day, cover everything including systems outside SSO, and be verified

rather than assumed. Keep a list of what exists to be revoked — the fastest way to find the shadow

systems is to try to offboard someone thoroughly.

Service and machine credentials

Usually more numerous and less governed than human ones. Each needs a named human owner, a scope

limited to its actual use, a rotation path, and an expiry.

Prefer short-lived, automatically issued credentials over long-lived keys. A key that never expires

will eventually appear in a repository, a log, or a support ticket.

Access reviews

Periodic, by system, with the reviewer being the person accountable for the data rather than IT.

Reviewers who cannot say why someone needs access should remove it — the burden belongs on

retention, not removal.

Review dormant accounts as a separate pass. An account nobody has used in six months is either

unnecessary or belongs to someone who left.

Diagnosing sprawl

Look for: permissions granted to individuals rather than roles, roles nobody can define, standing

administrative access, accounts whose owner has left, service credentials with no owner, and systems

outside SSO. Each is a specific fix, and the list is nearly always the same list.

How to use it

Copy the folder

Take cbrock84/access-and-identity from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.