AGENT SKILL
hstr
Use this skill when the user wants to search, browse, or manage their bash/zsh command history interactively or via CLI.
- License 许可
- MIT
- 最近更新
- 2026-11-02
- Stars
- ★ 57
- Forks
- 5
01 前言 Front Matter
- name
- hstr
- description
- Use this skill when the user wants to search, browse, or manage their bash/zsh command history interactively or via CLI.
03 SKILL.md 正文
hstr Plugin
Shell history suggest box for bash and zsh — easily view, navigate, search, and manage your command history with an interactive TUI.
Commands
History
hstr history search— Open interactive history search TUIhstr config bash— Show bash configuration snippethstr config zsh— Show zsh configuration snippet
Utility
hstr _ _— Passthrough to hstr CLI
Usage Examples
- "Search my command history for docker commands"
- "Show me my bash history interactively"
- "Configure hstr for zsh"
Installation
brew install hstr
Or via apt:
sudo apt install hstr
Configuration
Add hstr to your shell (bash):
hstr --show-bash-configuration >> ~/.bashrc
Or for zsh:
hstr --show-zsh-configuration >> ~/.zshrc
Then reload your shell:
exec $SHELL
Examples
# Open interactive history search
hstr history search
# Search history non-interactively for docker commands
hstr history search --non-interactive --keywords docker
# Get bash configuration
hstr config bash
# Get zsh configuration
hstr config zsh
# Passthrough: show version
hstr _ _ --version
# Passthrough: show help
hstr _ _ --help
Key Features
- Interactive TUI — Fuzzy search through command history with arrow keys
- Non-interactive mode — Filter history programmatically with keywords
- Shell integration — Replace Ctrl-r with a full-screen history browser
- Bookmark support — Favorite frequently used commands
- History management — Remove obsolete or sensitive commands from history
04 同仓库更多 Skills
sc-machin-mcp
暂无简介
★ 57
supercli.quickstart
SuperCLI capability router — discover and execute CLI commands through namespace.resource.action interface
★ 57
zzdoc
Use this skill to compile scdoc manpages with a fast Zig-based compiler.
★ 57
zx
Use this skill when the user wants to a tool for writing better scripts using node.js.
★ 57
zvm
Use this skill when the user wants to manage multiple Zig compiler versions.
★ 57
quickstart
暂无简介
★ 57