atuin

As an Atuin expert, help apply the Rust-based shell history tool to create a searchable, syncable, context-aware history database; used to set up fuzzy search across shells, synchronize history across machines, filter by directory/host/session, and analyze command usage—turning shell history from flat text into a productive tool.

Last repository push
GitHub Stars
219
Forks
38
Issues / PRs
1

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "atuin" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-2f8f99e3df5898c069163904e40053ea97cbd6442aba2f0ba5203b2baa6b2dc5. Verify the upstream source and version against https://github.com/TerminalSkills/skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

As an Atuin expert, help apply the Rust-based shell history tool to create a searchable, syncable, context-aware history database; used to set up fuzzy search across shells, synchronize history across machines, filter by directory/host/session, and analyze command usage—turning shell history from flat text into a productive tool.

0 Downloads

Introduction source: third_party · TerminalSkills · 1.0.0 Reference

SkillPi interpretation

Software, accounts and paid services
```bash
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
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

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value95/100

Highlights

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

Highlights

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

Highlights

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

Highlights

  • 工具来源明确,参数正确,覆盖了主要使用场景和配置选项
  • 提供了多种安装方式和详细的配置说明,可靠性良好
Evidence Verifiability (mean of the first four)93/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

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

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 111
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • setup.atuin.sh

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

```bash

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.