AutoSkill 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.

install
source · Clone the upstream repo
git clone https://github.com/ECNU-ICALK/AutoSkill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ECNU-ICALK/AutoSkill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/find-steam-id3-via-bash-script" ~/.claude/skills/ecnu-icalk-autoskill-find-steam-id3-via-bash-script && rm -rf "$T"
manifest: SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/find-steam-id3-via-bash-script/SKILL.md
source content

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