--- name: ase-meta-alias argument-hint: "[--help|-h] [--scope|-s=(auto|user|project)] []" description: > List, set, delete, or expand the skill command aliases of ASE: full aliases like `/foo-bar` for an arbitrary ASE skill command line, option aliases like `--custom` for a sequence of options of a skill, and the option defaults of a skill. Use when the user wants to "alias" a skill command, define an "option alias" or "default options" of a skill, or inspect or test the configured aliases. user-invocable: true disable-model-invocation: false effort: high allowed-tools: - "Bash(ase alias *)" --- @${CLAUDE_SKILL_DIR}/../../meta/ase-control.md @${CLAUDE_SKILL_DIR}/../../meta/ase-skill.md @${CLAUDE_SKILL_DIR}/../../meta/ase-getopt.md Skill Command Alias Management $ARGUMENTS *List*, *set*, *delete*, or *expand* the *skill command aliases* of ASE, mirroring the `ase alias ` CLI subcommands. Procedure --------- 1. **Determine Operation:** 1. Set , with any leading and trailing whitespace stripped. Set to its *first* whitespace-separated token, lower-cased, and to the *verbatim* remainder of after this token, with any leading and trailing whitespace stripped. If is empty, set (none) and to empty. Do not output anything. 2. Set (empty) if is `auto`, else set --scope . Do not output anything. 3. You *MUST* *NOT* use `Read`, `Write`, `Edit`, or any other filesystem-touching tool anywhere in this skill. *Every* access to the aliases is performed *exclusively* through the `ase alias` CLI command via the `Bash` tool, with every token of passed *verbatim* (keeping the quoting of the user), and with nothing else appended to the command (especially no redirections and pipes). A `--tool` option is passed only where stated below. Do not output anything. 2. **Dispatch Operation:** 1. Run the command `ase alias ` -- for `expand` *without* , as it always considers both scopes, and for `set` and `delete` with an additional `--tool ` directly after , as they write the shim skills for the current agent tool -- and set to its standard output and to its standard error. - If the command failed, set to the message of the `[ERROR]:` line of and only output the following