Works with the AI tools you already use

    CCCGGVW

    User Detection & Session Context Reviewer

    by LB Creations

    2

    Review macOS admin scripts for reliable current-user detection and safe session-context handling.

    $14.99

    · or 75 credits

    30-day refund guarantee

    Secure checkout via Stripe

    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.

    Details

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    Security Scanned

    Passed automated security review

    Permissions

    Terminal / Shell

    Creator

    LB designs and builds autonomous AI systems optimized for local deployment. Specializing in distributed inference fleets, multi-model orchestration, and agent-native tooling, everything runs on your hardware, zero API fees.

    Frequently Asked Questions

    More Premium Skills