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.
Best use case
Atuin — Magical Shell History is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
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.
Teams using Atuin — Magical Shell History should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/atuin/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How Atuin — Magical Shell History Compares
| Feature / Agent | Atuin — Magical Shell History | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
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.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# 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 ```bash # 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 ```toml # ~/.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 ```bash # 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 ```bash # 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`
Related Skills
bombshell-dev-clack
ALWAYS use when writing code importing "@clack/prompts". Consult for debugging, best practices, or modifying @clack/prompts, clack/prompts, clack prompts, clack.
claude-code-history-files-finder
Finds and recovers content from Claude Code session history files. This skill should be used when searching for deleted files, tracking changes across sessions, analyzing conversation history, or recovering code from previous Claude interactions. Triggers include mentions of "session history", "recover deleted", "find in history", "previous conversation", or ".claude/projects".
shellcheck-configuration
Master ShellCheck static analysis configuration and usage for shell script quality. Use when setting up linting infrastructure, fixing code issues, or ensuring script portability.
powershell-windows
PowerShell Windows patterns. Critical pitfalls, operator syntax, error handling.
posix-shell-pro
Expert in strict POSIX sh scripting for maximum portability across Unix-like systems. Specializes in shell scripts that run on any POSIX-compliant shell (dash, ash, sh, bash --posix).
linux-shell-scripting
This skill should be used when the user asks to "create bash scripts", "automate Linux tasks", "monitor system resources", "backup files", "manage users", or "write production she...
linux-production-shell-scripts
This skill should be used when the user asks to "create bash scripts", "automate Linux tasks", "monitor system resources", "backup files", "manage users", or "write production shell scripts". It provides ready-to-use shell script templates for system administration.
powershell-expert
Develop PowerShell scripts, tools, modules, and GUIs following Microsoft best practices. Use when writing PowerShell code, creating Windows Forms/WPF interfaces, working with PowerShell Gallery modules, or needing cmdlet/module recommendations. Covers script development, parameter design, pipeline handling, error management, and GUI creation patterns. Verifies module availability and cmdlet syntax against live documentation when accuracy is critical.
telnetshell
Use telnet to interact with IoT device shells for pentesting operations including device enumeration, vulnerability discovery, credential testing, and post-exploitation. Use when the user needs to interact with network-accessible shells, IoT devices, or telnet services.
shell-scripting
Shell scripting best practices and patterns. Use when writing bash/zsh scripts, automating tasks, creating CLI tools, or debugging shell commands.
Starship — Cross-Shell Prompt
You are an expert in Starship, the minimal, blazing-fast, cross-shell prompt written in Rust. You help developers customize their terminal prompt with git status, language versions, cloud context, battery level, time, and custom modules — working identically across Bash, Zsh, Fish, PowerShell, and any shell with a single TOML config file.
SKILL: Shellcode
## Metadata