Capture in seconds
Turn history into templates. Save complex commands using ${VAR:=default}, inspired by shell parameter expansion so you don’t have to learn a new syntax.
kinctx turns useful shell snippets into a searchable working memory, so you can capture once, recall instantly, and keep moving.
A quick look at how kinctx helps you save, search, and replay the shell knowledge you actually use.
Turn history into templates. Save complex commands using ${VAR:=default}, inspired by shell parameter expansion so you don’t have to learn a new syntax.
Search fuzzily with the words you remember, not just the exact flags you typed months ago.
Seamless Execution. Populate placeholders at runtime and let Kin bridge the gap between thought and terminal.
Lightweight By Design
kin stays small on purpose. You install one lightweight binary, runkin initonce, and the SQLite store lives in the user's default config directory.
Binary
CGO-free, lightweight, single binary
Linux
~/.config/kinctx
macOS
$HOME/Library/Application Support
Daily Workflow
The interface stays quiet while the information architecture does the heavy lifting. You keep your focus, and the knowledge stays reusable.
1. Initialize once
Run kin init first to create the local SQLite database. Everything else depends on that store existing.
2. Add commands your way
Pipe in a one-liner or open $EDITOR for longer snippets, multi-line commands, and placeholders.
3. Search and run
kin search opens fzf. Pick a snippet, fill placeholders if they exist, or run immediately if the command is static.
4. List and remove
Use kin list to inspect saved commands and kin rm for multi-select cleanup through an fzf screen.
Create the database
Run this once before using the rest of kin.
FAQ
The section stays minimal, but the motion keeps it feeling alive. Open any question to see the answer expand into place.
kin keeps your snippets in a local SQLite database on your machine. A typical path is ~/.config/kinctx, which gives you fast lookups.
Copy the install command, paste it into your terminal, and get kin running in a few seconds.
Install steps
brew install fzfThen install kin
brew install kaizakin/tap/kinMemory for your shell