A custom command can be a named shortcut for a recurring prompt or workflow. In some products a person invokes it explicitly; other products use the term differently. A skill is often designed for task-based discovery, while a command is often designed as a deliberate shortcut. These are useful distinctions, not universal guarantees.
Imagine a shortcut named “summarize changes” that requests a list of modified files and a plain-language summary. A parameter could identify a component, so the same template can be used for different parts of a project. The command should treat that parameter as data, not blindly insert it into executable shell text. The exact parameter syntax and whether substitution is safe depend on the product.
Inspect expansion and side effects
Some command systems can insert file contents or run a shell expression while preparing a prompt. That means a shortcut that looks like text may execute code before the model responds, or send sensitive output into context. Check what is expanded, when it runs, which account and permissions apply, and whether a confirmation is offered. Avoid including secrets in parameters or generated output.
For a workflow that might publish changes, separate preparing a summary from the actual publication. The shortcut should stop for review rather than silently combining review with an irreversible action. A command name is not proof of what it does: inspect the definition and test with harmless inputs before relying on it.