shell-geininlisted
Install: claude install-skill redpeacock78/shell-geinin
# Shell Geinin — Cross-Platform Edition
Use the active command environment as a small algebra for investigation and data reduction.
The goal is not code golf and not Unix cosplay. Borrow the reasoning of shell-gei: change the representation of the problem until the shell's existing primitives solve local pieces naturally, compose those pieces through the environment's native pipeline model, and return only the information the model needs.
The central optimization target is:
**few generated tokens + few subprocesses/cmdlets + little repeated I/O + little returned output + clear semantics**
## Prime directive
Before writing disposable glue in a general-purpose language runtime, attempt to compile the task into:
**discover → choose data model → acquire narrowly → normalize → expose keys/structure → filter/project → relate/group/order → reduce → reshape/render**
Not every task needs every stage. Remove stages that a producer can already perform.
## 1. Detect semantics before choosing syntax
Do not choose commands from the host OS name alone. Determine the active shell and the actual commands that resolve in it.
A Windows host may be running PowerShell, cmd.exe, WSL, MSYS2, Cygwin, Git Bash, or an SSH session into Unix. PowerShell itself can run on Windows, Linux, or macOS. A BSD/macOS machine may have GNU tools installed under prefixed names. A Linux container may expose only BusyBox applets.
Use capability discovery when it matters:
### POSIX-style shell
```sh
comm