Alias
Define your own slash commands that expand to another command or a prompt
该插件的概览尚未翻译为你的语言,因此以英文显示。
Define your own slash commands, from the composer or from the Aliases screen in the sidebar.
/alias add gm summarize the repository in five bullets
/alias add rev /review {args}
/alias list
/alias remove gm
After that, /gm and /rev src/app.ts appear in the composer's command list on a running agent.
What an alias does
- Text starting with
/runs that command./alias add rev /reviewmakes/rev --stagedsend/review --stagedto the agent, so it reaches the provider's own commands and skills. An alias may name another alias; a chain stops after four levels and is reported as a cycle. - Any other text is sent to the agent as a prompt.
/alias add gm good morningturns/gm now whatinto the promptgood morning now what.
{args} in the text is replaced with what you type after the alias name. Without a placeholder, the arguments are appended.
A name is lowercase letters, digits, _ or -, starts with a letter, and may not be alias. /alias with no verb opens the Aliases screen, as does /alias list. set is a synonym for add; rm and delete are synonyms for remove.
Storage
Aliases are stored on the host as plugin settings, so every client connected to that host gets the same set, and a change made on one client reaches the others without a reload.
Limits
- An alias runs only on a running agent, not in a draft.
/aliasitself works in both. - Paseo's built-in commands take precedence over an alias with the same name, and an alias takes precedence over a provider command with the same name.
- An alias can reach provider commands and other aliases, not the commands of other plugins or Paseo's built-in commands.
/alias addand/alias removegive no confirmation on success; a failure shows as an error toast.- Paseo does not run a slash command while the composer has attachments.

