atuin

atuin is a skill for Claude Code, Codex from julianobarbosa/claude-code-skills. It costs 57 tokens per session (3,197 once invoked), scanned A, original, MIT.

A guide for Atuin, a shell-history tool that stores commands in a searchable database. Shell history is the record of commands previously run in a terminal, and Atuin can sync that history between machines with encryption.

In plain words
What is it for?
Use it to install Atuin, connect it to Bash, Zsh, Fish, Nushell, or Xonsh, import existing history, search commands, configure sync, and view statistics.
Why use it?
It makes old commands easier to find and preserves useful details such as the directory, exit status, computer, and running time.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to install Atuin, connect it to Bash, Zsh, Fish, Nushell, or Xonsh, import existing history, search commands, configure sync, and view statistics.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/julianobarbosa/claude-code-skills/atuin
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add julianobarbosa/claude-code-skills --skill atuin
Clone the repo
git clone --depth 1 https://github.com/julianobarbosa/claude-code-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for atuin

README.md
[![agentmods](https://agentmods.dev/badge/skills/julianobarbosa/claude-code-skills/atuin/github.svg)](https://agentmods.dev/skills/julianobarbosa/claude-code-skills/atuin)
Your own site
<a href="https://agentmods.dev/skills/julianobarbosa/claude-code-skills/atuin"><img src="https://agentmods.dev/badge/skills/julianobarbosa/claude-code-skills/atuin/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for atuin

Your own site · 80×15
<a href="https://agentmods.dev/skills/julianobarbosa/claude-code-skills/atuin"><img src="https://agentmods.dev/badge/skills/julianobarbosa/claude-code-skills/atuin.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,197 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. ✓ AI security review Sonnet 5 · 7 Sept 2026 📄 Read the review
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00057 $0.03197
Opus 5 $0.00028 $0.01598
Sonnet 5 $0.00011 $0.00639
Haiku 4.5 $0.00006 $0.00320

Measured 10d ago against content hash 9379ec2828de, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

atuin scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/atuin/SKILL.md · 584 lines

How it starts

The opening of the file, as written. The whole thing — 584 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Atuin Skill

Magical shell history with encrypted sync across all your machines.

Overview

Atuin replaces your shell history with a SQLite database and provides:

  • Full-screen history search UI (Ctrl+R / Up arrow)
  • End-to-end encrypted sync across machines
  • Context logging (exit code, cwd, hostname, duration)
  • Statistics and analytics
  • Filter modes (session, directory, global)
  • Quick navigation with Alt+number keys

Supported Shells

Shell Support Level
Zsh Full
Bash Full
Fish Full
Nushell Full
Xonsh Full

Quick Start

Installation

# Official installer (recommended)
curl --proto '=https' --tlsv1.2 -LsSf https://setup.atuin.sh | sh

# macOS (Homebrew)
brew install atuin

# Cargo
cargo install atuin

# Arch Linux
pacman -S atuin

Shell Integration

Zsh (~/.zshrc):

eval "$(atuin init zsh)"

Bash (~/.bashrc):

eval "$(atuin init bash)"

Fish (~/.config/fish/config.fish):

atuin init fish | source

Nushell (config.nu):

source ~/.local/share/atuin/init.nu

First-Time Setup

# Import existing history
atuin import auto

# Optional: Register for sync
atuin register -u <USERNAME> -e <EMAIL>

# Verify setup
atuin doctor

Search Modes

Interactive Search (Ctrl+R)

Key Action
Ctrl+R Open search UI
Up/Down Navigate history
Tab Select without executing
Enter Execute command
Alt+1-9 Quick select item
Ctrl+R (in UI) Cycle filter modes

Filter Modes

Mode Description
global All history across machines
host Current machine only
session Current terminal session
directory Current working directory
workspace Git repository root

Search Modes

Mode Description
prefix Match from start of command
fulltext Substring match anywhere
fuzzy Fuzzy matching (default)
skim Skim-style fuzzy finder

Read the full file on GitHub · 584 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 584 lines · 57 tokens per session scan E 9379ec2828de

Subscribe to this mod's changes

atuin is a skill published in the GitHub repository julianobarbosa/claude-code-skills (10 stars, last pushed 14d ago), licensed MIT. It adds 57 tokens to every session and 3,197 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.