[FEATURE] Subroutine Aliasing
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
I would like to be able to use shorthand phrases to implement more complicated requests. On my host machine I have aliased commands, and would like the same in Claude. I would like to be able to, for instance, say, "Remember that for me." And have that write the current output to a file for later reference. But the feature I am requesting is the ability to create those shorthands on the fly for Claude.
Another instance is I would like to answer, "Make it so," when Claude asks for permissions during an install, and have that answer 'yes' to all similar requests during the install. Akin to 'apt-get install <thing> -y
Proposed Solution
[Creation]
I would like to say, "Claude when I say <shorthand phrase> please do <macro>". Claude would then verify the shorthand phrase and the steps I wish to be associated with that phrase. Ideally, Claude would ask if I want this to last for this session or beyond.
[Dissolution]
I would like to say, "Claude please ignore <shorthand phrase> from now on". Claude would then confirm that it will remove the shorthand phrase and confirm what the phrase currently does.
Alternative Solutions
This is more of an ease of use request. Claude informed me that it could not alias commands, but to submit a feature request here. Currently I am making liberal use of Sublime Text as a repo of stored output and saved command requests. It would still be nice to be able to say, "Make it so," and have it do a thing,
Priority
Medium - Would be very helpful
Feature Category
CLI commands and flags
Use Case Example
I would use this feature to streamline my interactions with Claude and create a bespoke environment. As I learn Claude there are sections and interactions I would like to reference for later. So, "remember that" becoming a command that records the data I want to remember, writes it somewhere, and maybe even writes out some context clues for when I refer to it would be awesome.
I would also use Claude more if I could say, "Good Morning," and have it spin up a set of preset commands. It would be the first thing I fired up each day.
Additional Context
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗