Tooluck logoTooluck
SKILL.md

access-lifecycle

Agent skill fromLeoYeAI/agent-master-skills

Use when preparing or running a user access review, checking that leavers lost their access, finding orphaned or ownerless service accounts, answering an auditor's access-control request for SOC 2, ISO 27001, PCI DSS, HIPAA or NIST 800-53, or checking whether a finished review campaign will hold up. Diffs the HR roster against account exports, tests the campaign for coverage, self-review, unremoved revokes and rubber-stamping, and maps every exception to the controls it breaks.

How to install access-lifecycle

install access-lifecycle
# install the agent-master-skills pack with the skills CLI
npx skills add LeoYeAI/agent-master-skills

# or add only this skill to Claude Code: copy the folder

skills/access-lifecycle/

# into

~/.claude/skills/access-lifecycle/ (all projects)

.claude/skills/access-lifecycle/ (one project)

skills/access-lifecycle/SKILL.md

MITFull file
1# Access Lifecycle
2
3> **Portability:** 3 stdlib scripts, no network, no IdP or HR connection. Export CSV, run, keep the output as evidence.
4> **Not audit advice.** Periods and thresholds are your policy; the scripts make you state them.
5
6Access reviews fail audits in four ordinary ways: the review ran on an incomplete
7export, someone approved their own access, a revoke was decided and never
8carried out, and leavers kept working accounts nobody looked at. Each script
9catches one class of these before the auditor does.
10
11## Workflow
12
13```bash
14# 1 - Diff: who has access that the HR roster says they should not?
15python scripts/access_diff.py --roster hr_roster.csv --accounts accounts.csv \
16 --inactive-days 90 --privileged-review-days 90 --as-of 2026-10-31
17# 2 - Campaign: did the review cover everything, and did the revokes happen?
18python scripts/access_review_campaign.py --decisions campaign.csv --population accounts.csv \
19 --remediation-days 10 --close-date 2026-10-20
20# 3 - Map: which controls do the exceptions break, and what evidence do you keep?
21python scripts/control_evidence_mapper.py --diff diff.json --campaign campaign.json --framework soc2,iso27001
22```
23
24**Step 1** joins each account to the roster on employee ID, then email. A
25terminated person with an enabled account is a blocker; one who logged in after
26their exit date is a worse one. Accounts that match nobody are orphans; service
27accounts need a named owner. Inactivity and privileged-review age use your periods.
28…

Excerpt shown under the repository's MIT license.

More skills in agent-master-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates