Claude-skill-registry bash-history
Search and retrieve bash command history using Atuin. Use when users ask about commands they've run before, want to find a specific command, recall how they did something previously, or ask "how did I..." or "what command did I use to..."
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/bash-history" ~/.claude/skills/majiayu000-claude-skill-registry-bash-history && rm -rf "$T"
manifest:
skills/data/bash-history/SKILL.mdsource content
Bash History Skill
Access bash command history through Atuin to search for and retrieve previously executed commands.
Tools
mcp__bash-history__search_history
Search for commands matching a query.
Parameters:
(string): Search term to find matching commandsquery
(number, default: 10): Maximum results to returnlimit
(boolean, default: false): Include failed commandsinclude_failed
mcp__bash-history__get_recent_history
Get the most recent commands.
Parameters:
(number, default: 10): Number of recent commandslimit
(boolean, default: false): Include failed commandsinclude_failed
Example Usage
When user asks: "How did I deploy last time?"
Use mcp__bash-history__search_history with query "deploy"
When user asks: "What commands did I run recently?"
Use mcp__bash-history__get_recent_history with limit 20
When user asks: "Show me failed git commands"
Use mcp__bash-history__search_history with query "git" and include_failed true
Output Format
Results include command text, exit code (0 = success), and timestamp. Present clearly and offer to help reuse commands.