--- name: shell-aliases-social description: > Regenerate a shareable shell-aliases JSON from the user's shell config — curated, universally-useful aliases and functions with usage frequency from shell history. Use when the user runs /shell-aliases-social, optionally with paths that override the defaults — to refresh, update, regenerate, share, or export their shell aliases as the shell aliases social media JSON (aliases JSON), a shareable list of their zsh aliases and functions. disable-model-invocation: true --- # Shell Aliases Social JSON Read the user's shell config and history, curate the most interesting and universally-useful aliases and functions, and write them to a shareable JSON file. Nothing private (internal hosts, project IDs, credentials) reaches the file — it is committed to a public repo. ## Inputs Defaults; each is overridable by invocation args. - **Shell config**: `~/.zshrc` (or the actual config, e.g. `~/dotfiles/zsh/.zshrc` if symlinked), plus `~/.zshrc.local` if present - **History**: `~/.zsh_history` — rank the top 100 most-used commands for frequency. This strips zsh's extended-history prefix (`: