Works with the AI tools you already use
User Detection & Session Context Reviewer
Review macOS admin scripts for reliable current-user detection and safe session-context handling.
$14.99
User Detection & Session Context Reviewer
Example session with this skill installed
Review this Jamf check-in script that uses $3 to identify the user and tell me if the UI prompt will work reliably during background runs.
- Read your context and instructions
- Compiled the user detection
Context Review
- Issue: Script uses static Jamf $3 which is empty during check-in policies.
- Fix: Implement 'stat -f %Su /dev/console' with a loginwindow check.
- Risk: UI prompt will hang if no user is logged in.
- Test: Verify behavior during Fast User Switching and Setup Assistant.
Connects securely to your tools. The creator never sees your data.
What you get
About this skill
Defensive review for macOS current-user logic
User Detection & Session Context Reviewer reviews Jamf, Kandji, and Iru scripts that need to identify the logged-in user or show a user-facing prompt.
What it checks
- Current-user patterns such as
stat -f %Su /dev/console,scutil, Jamf$3, and related approaches. - Root execution versus user UI context, including
launchctl asuser. - Loginwindow, logout, setup assistant, Fast User Switching, and stale-user edge cases.
- Prompt patterns that avoid logs, process listings, and persistent files.
- Jamf, Kandji, and Iru workflow differences.
Boundaries
This is a defensive admin-review skill. Use redacted or synthetic examples. It does not collect, validate, store, transmit, or request real passwords, tokens, recovery keys, or private tenant values.
Output
You get a context-readiness verdict, edge-case notes, safer detection and prompt patterns, validation checklist, and open questions for local policy or vendor documentation.
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean 4 months ago
- Passed all security checks, Safe to install