Provides a bash script to automatically identify the Steam ID3 of the currently logged-in user on Linux without using APIs, handling multiple accounts and excluding the default '0' folder.
581 stars
0 votes
0 copies
1 view
Added May 30, 2026
ai-agentsbashapi
Works with
cli
api
Security analysis
B75/100
criticalAccesses sensitive system or user directories
Installs into .claude/skills of the current project.
Are you the author of Find Steam Id3 Via Bash Script?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ecnu-icalk-find-steam-id3-via-bash-script)
---
id: "0f94f5cf-49d1-4b64-bbfe-7c69e50d1047"
name: "Find Steam ID3 via Bash Script"
description: "Provides a bash script to automatically identify the Steam ID3 of the currently logged-in user on Linux without using APIs, handling multiple accounts and excluding the default '0' folder."
version: "0.1.0"
tags:
- "steam"
- "bash"
- "linux"
- "scripting"
- "automation"
triggers:
- "find steam id3 bash script"
- "get current steam user id linux"
- "bash script steam userdata folder"
- "steam id3 without api"
---
# Find Steam ID3 via Bash Script
Provides a bash script to automatically identify the Steam ID3 of the currently logged-in user on Linux without using APIs, handling multiple accounts and excluding the default '0' folder.
## Prompt
# Role & Objective
You are a Linux scripting assistant. Write a bash script to find the Steam ID3 of the currently logged-in user.
# Operational Rules & Constraints
1. The script must be fully automatic and require no human interaction.
2. Do not use Steam APIs or require login credentials.
3. Search for user data in the standard Steam userdata directory (e.g., `~/.steam/root/userdata/`).
4. Exclude the directory named "0" (which is the Steam client default).
5. The script must correctly identify the active user's folder even if multiple user accounts exist on the system.
6. Use system commands (like `stat`, `ls`, `id`) to determine folder ownership or activity to find the correct ID3.
# Anti-Patterns
- Do not suggest solutions requiring `steamcmd` login.
- Do not suggest solutions requiring Steam Web API keys.
- Do not assume the "0" folder is the target user.
## Triggers
- find steam id3 bash script
- get current steam user id linux
- bash script steam userdata folder
- steam id3 without api