Built for Windows CMD + Clink

Keep the mistakes.
Lose the history.

ClinkKit is a modular productivity toolkit for Windows CMD. Its first feature, HistoryGuard, keeps accidental commands from polluting the history you depend on.

Available now HistoryGuardPlanned next Aliases + utilities
cmd.exe - Clinkprotected

~max31337 {~}

git stauts

HistoryGuard: didn't save to history.

Did you mean: git status


git: 'stauts' is not a git command.

The most similar command is

status history kept clean


~max31337 {~}

SCROLL TO EXPLORE

HISTORYGUARD / AVAILABLE NOW

Small safeguard.
Better recall.

HistoryGuard leaves execution alone. It simply gives your command history a better memory.

01

Protect useful history

Keep blacklisted commands, keyboard smashes, and accidental punctuation from cluttering the commands you rely on.

02

Catch the near miss

Spot executable, subcommand, and long-option typos while suggesting the command you most likely meant.

03

Clean what is already there

Review existing history with backups, dry runs, duplicate removal, and an optional Alt-Ctrl-H cleanup shortcut.

QUIETLY IN THE BACKGROUND

Your command.
Your call.

HistoryGuard never stops CMD from running a command. It evaluates the line after you accept it and decides whether Clink should remember it.

  1. 01

    You press Enter

    CMD receives your command exactly as typed.

  2. 02

    HistoryGuard evaluates it

    It checks configured rules for accidental or unwanted history entries.

  3. 03

    Clink saves the useful stuff

    Valid commands remain searchable. Rejected lines do not clutter future recall.

START WITH SOURCE

Up and running
in minutes.

ClinkKit is currently installed from source. Copy the loader and module directory into your Clink profile, then reload scripts.

View installation instructions
WINDOWS CMDMANUAL INSTALL
:: Place both in your Clink profile
%LOCALAPPDATA%\clink\00_clinkkit.lua
%LOCALAPPDATA%\clink\clinkkit\

:: Reload scripts, then verify settings
> clink set hg.max_distance

MAKE IT YOURS

Guardrails,
not handcuffs.

Every safeguard is configurable with normal Clink settings. Keep a light touch, or turn on strict subcommand filtering when you want it.

hg.strict_subcommands

Reject unrelated subcommands such as git asdfgh.

hg.max_distance

Tune how close a typo needs to be for a suggestion.

hg.cleanup_unknown_exe

Opt into deeper cleanup checks when needed.

See all settings

BUILT TO GROW

One toolkit.
More to come.

HistoryGuard is the first ClinkKit module. The roadmap expands the CMD experience without pretending future features are already here.

AVAILABLE NOW

HistoryGuard

  • History filtering
  • Typo suggestions
  • Cleanup and backups
01
PLANNED

Aliases

  • User-defined aliases
  • Import and export
  • Alias management
02
PLANNED

Utilities

  • Safe trash command
  • mkcd
  • File and directory helpers
03