atuin

作为 Atuin 专家,帮助将基于 Rust 的 shell 历史工具用于可搜索、可同步且具备上下文感知的历史数据库;用于设置跨 shell 的模糊搜索、跨机器同步、按目录/主机/会话过滤和分析命令使用情况,将 shell 历史从文本文件转为可用工具。

仓库最近推送
GitHub Stars
219
Forks
38
Issues / PRs
1

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "atuin":https://skillpi.com/zh/skills/deepskill-2f8f99e3df5898c069163904e40053ea97cbd6442aba2f0ba5203b2baa6b2dc5。安装前核对上游来源和版本:https://github.com/TerminalSkills/skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

作为 Atuin 专家,帮助将基于 Rust 的 shell 历史工具用于可搜索、可同步且具备上下文感知的历史数据库;用于设置跨 shell 的模糊搜索、跨机器同步、按目录/主机/会话过滤和分析命令使用情况,将 shell 历史从文本文件转为可用工具。

0 下载

介绍来源: third_party · TerminalSkills · 1.0.0 参考来源

SkillPi 解读

软件、账号及付费要求
贝什
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: atuin
description: >-
  You are an expert in Atuin, the Rust-based shell history tool that replaces
  your shell's built-in history with a searchable, syncable, context-aware
  database. You help developers set up fuzzy search across shell history, sync
  history across machines, filter by directory/host/session, and analyze
  command usage — turning shell history from a flat text file into a powerful
  productivity tool.
license: Apache-2.0
compatibility: ''
metadata:
  author: terminal-skills
  version: 1.0.0
  category: Developer Tools
  tags:
    - shell
    - history
    - sync
    - search
    - terminal
    - productivity
    - rust

Atuin — Magical Shell History

You are an expert in Atuin, the Rust-based shell history tool that replaces your shell's built-in history with a searchable, syncable, context-aware database. You help developers set up fuzzy search across shell history, sync history across machines, filter by directory/host/session, and analyze command usage — turning shell history from a flat text file into a powerful productivity tool.

Core Capabilities

Setup and Usage

# Install
curl --proto '=https' --tlsv1.2 -LsSf https://setup.atuin.sh | sh

# Import existing history
atuin import auto                         # Detects bash/zsh/fish

# Interactive search (Ctrl+R replacement)
# Press Ctrl+R → fuzzy search across all history
# Filter modes:
#   - Global: all history across all machines
#   - Host: only current machine
#   - Session: only current terminal session
#   - Directory: only commands run in current directory

# Sync across machines
atuin register -u username -e email -p password
atuin sync                                # E2E encrypted sync
atuin login -u username -p password       # On another machine
atuin sync                                # History from all machines!

# Search
atuin search "docker"                     # Full-text search
atuin search --after "2026-03-01" "deploy"
atuin search --cwd /project "git"         # Only in this directory
atuin search --exit 0 "make"              # Only successful commands

# Stats
atuin stats                               # Most used commands, frequency
atuin stats --count 20                    # Top 20 commands

Configuration

# ~/.config/atuin/config.toml
[settings]
dialect = "us"
auto_sync = true
update_check = true
sync_frequency = "5m"
search_mode = "fuzzy"                     # fuzzy | prefix | fulltext | skim
filter_mode = "global"                    # global | host | session | directory
style = "compact"                         # compact | full
inline_height = 40
show_preview = true
show_help = true
exit_mode = "return-original"

# Key bindings
[keys]
scroll_exits = false

# Sync settings
[sync]
records = true                            # Sync all history records

ZSH/Bash/Fish Integration

# Add to ~/.zshrc
eval "$(atuin init zsh)"

# Or ~/.bashrc
eval "$(atuin init bash)"

# Or ~/.config/fish/config.fish
atuin init fish | source

# Now Ctrl+R opens Atuin's interactive search instead of default

Installation

# macOS
brew install atuin

# Linux
curl --proto '=https' --tlsv1.2 -LsSf https://setup.atuin.sh | sh

# Cargo
cargo install atuin

Best Practices

  1. Fuzzy search — Set search_mode = "fuzzy"; find commands even with typos or partial recall
  2. Directory filtering — Use filter_mode = "directory" to see only commands relevant to current project
  3. Sync across machines — Register for E2E encrypted sync; history follows you to any machine
  4. Exit code filtering — Search --exit 0 for successful commands; avoid repeating failed attempts
  5. Stats for optimization — Run atuin stats to identify frequent commands worth aliasing
  6. Import history — Run atuin import auto immediately after install; don't lose existing history
  7. Session mode — Use session filter when debugging; see exactly what you ran in this terminal
  8. Self-hosted — Deploy your own Atuin server for teams; docker run ghcr.io/atuinsh/atuin

当前收录版本

1.0.0

核对来源版本 ↗

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值95/100

亮点

  • Atuin 解决了开发者日常高频的 shell 历史管理痛点,具备搜索、同步、过滤、统计等完整功能闭环
  • 提供跨机器同步、上下文感知搜索、命令使用分析等高级功能,显著提升终端工作效率
触发精准90/100

亮点

  • description 清晰描述了 Atuin 的核心功能和适用场景,覆盖多种使用变体
  • 触发词精准完整,边界清晰,用户能准确理解 Skill 的用途和能力范围
结构规范95/100

亮点

  • 文档结构清晰,Phase/步骤明确,有完整的端到端示例
  • frontmatter 完整,文档组织良好,单文件长度适中,易于理解执行流程
执行可靠90/100

亮点

  • 工具来源明确,参数正确,覆盖了主要使用场景和配置选项
  • 提供了多种安装方式和详细的配置说明,可靠性良好
证据可验 (前四项均值)93/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

  • 安装或获取外部依赖

    使用官方来源并锁定版本,在隔离环境检查安装脚本。当前文档检查不覆盖后续下载的代码。

    主文档提及 · 第 111 行
文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • setup.atuin.sh

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

贝什

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。