Keep
A Meta CLI toolkit : Personal shell command keeper and snippets manager
Install / Use
/learn @OrkoHunter/KeepREADME


A Meta CLI toolkit
Your personal shell command keeper
Why?
Writwick Wraj loves using the command line.
Writwick googles "How to do X in terminal?" and multiple forums and blog posts finally provide him the magical command for the rescue. Problem Solved !
Fast forward couple weeks, Writwick has to do X in terminal, again. Wraj remembers solving this few weeks ago. Let him do a reverse-i-search with Ctrl+R. Nope, can't remember sh*t. Browser search history? 25 web pages found matching X. Argh!
Writwik finally finds the solution. From this time Writwik starts writing the commands somewhere online for the future.
Wait, why shouldn't he keep the command in his terminal itself if this is only place where he'll ever have use it?
Features
- Save a new command with a brief description
- Save notes or command sets with
keep new notesandkeep new set - Search the saved commands using powerful patterns
- Save the commands as a secret GitHub gist
- Use
keep pushandkeep pullto sync the commands between GitHub gist and other computers.
ProTip : Save the commands you usually forget in ssh sessions and sync it with your local machine.
Installation
$ pip3 install keep
Use Python 3.6 or later.
You can install pip3 using apt-get as sudo apt install python3-pip.
Usage
Usage: keep [OPTIONS] COMMAND [ARGS]...
Keep and view shell commands in terminal only.
Read more at https://github.com/orkohunter/keep
Options:
-v, --verbose Enables verbose mode.
--help Show this message and exit.
Commands:
edit Edit a saved command.
github_token Register a GitHub Token to use GitHub Gists as a backup.
grep Searches for a saved command.
init Initializes the CLI.
list Shows the saved commands.
new Saves a new command.
pull Pull commands from saved GitHub gist.
push Push commands to a secret GitHub gist.
rm Deletes a saved command.
run Executes a saved command.
update Check for an update of Keep.
See the detailed usage and tutorial.
Command-line Completion
To enable command-line completion (TAB completion) follow these steps for the shell of your choice
bash
-
Create a directory in your home directory called
.bashmkdir -p $HOME/.bash -
Copy completion/keep.bash to
$HOME/.bash/keepcurl -SLo "$HOME/.bash/keep" "https://raw.githubusercontent.com/OrkoHunter/keep/master/completions/keep.bash" -
Add the following lines to
$HOME/.bashrcfile[ -f "$HOME/.bash/keep" ] && . "$HOME/.bash/keep"
zsh
-
Create a directory in your home called
.zshmkdir -p $HOME/.zsh -
Copy completion/keep.zsh to
$HOME/.zsh/_keepcurl -SLo "$HOME/.zsh/_keep" "https://raw.githubusercontent.com/OrkoHunter/keep/master/completions/keep.zsh" -
Add the following lines inside
$HOME/.zshrcfilefpath=($HOME/.zsh $fpath) autoload -Uz compinit && compinit
Contribute
This is a very young project. If you have got any suggestions for new features or improvements, please comment over here. Pull Requests are most welcome !
❤
Not a command line fanatic? Here are some resources for you :
Related Skills
node-connect
337.7kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
83.3kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
83.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
337.7kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
