/install whoami-tool-check
Whoami Tool Check — Identity & Access Verifier
Extended identity verification: confirm the current user matches an expected role, verify sudo/root access, check group membership for specific capabilities, and audit user-level access for security-sensitive operations.
Quick Start
# Verify current user
whoami-tool-check
# Check if current user has sudo access
whoami-tool-check --sudo
Usage
whoami-tool-check [OPTIONS]
Options:
--sudo Check if user has sudo/root access
--role ROLE Verify user belongs to a role group (sudo, docker, admin, etc.)
--capabilities List all accessible system capabilities
--audit Full user audit: uid, gid, groups, sudo, shell, home
--json Output as structured JSON
--check-user USER Check if a specific user exists and their details
Examples
# Full audit
whoami-tool-check --audit
# Check if user has docker access
whoami-tool-check --role docker
# List all capabilities
whoami-tool-check --capabilities
# Check if another user exists
whoami-tool-check --check-user www-data
# JSON for pipeline ingestion
whoami-tool-check --audit --json
Features
- Current identity — standard whoami output
- Sudo access check — passwordless sudo availability
- Role verification — check group membership for specific roles
- User audit — comprehensive report (uid, gid, groups, sudo, shell, home dir)
- User existence — verify other system users
- JSON output — structured for security audits and automation
- Exit codes — 0/1 for easy script integration
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install whoami-tool-check - After installation, invoke the skill by name or use
/whoami-tool-check - Provide required inputs per the skill's parameter spec and get structured output
What is Whoami Tool Check?
Identity verification utility — validate current user against expected roles, check sudo access, and audit user capabilities. Extended whoami for security an... It is an AI Agent Skill for Claude Code / OpenClaw, with 82 downloads so far.
How do I install Whoami Tool Check?
Run "/install whoami-tool-check" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Whoami Tool Check free?
Yes, Whoami Tool Check is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Whoami Tool Check support?
Whoami Tool Check is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Whoami Tool Check?
It is built and maintained by BIN (@dinghaibin); the current version is v1.0.0.