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..."
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
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:
-
query(string): Search term to find matching commands -
limit(number, default: 10): Maximum results to return -
include_failed(boolean, default: false): Include failed commands
mcp__bash-history__get_recent_history
Get the most recent commands.
Parameters:
-
limit(number, default: 10): Number of recent commands -
include_failed(boolean, default: false): Include failed commands
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.
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-31
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!