# Atuin History

> Use this tool when you need to seamlessly track and manage bash command history across sessions, enabling AI assistants to learn from previous command patterns and maintain execution context. It solves problems of lost command history and context switching, providing read and write capabilities for bash command tracking with filtering options. It integrates with atuin history, capturing commands run by AI assistants and allowing for searching and retrieving recent command history.

Canonical page: https://skillsregistry.net/skills/nitsanavni-atuin-history  
JSON: https://api.skillsregistry.net/v1/skills/nitsanavni-atuin-history

## Description

Bash History MCP provides seamless integration to atuin command history, offering both read and write capabilities for bash command tracking. Built with Bun and TypeScript, it operates as both a post-execution hook that automatically captures bash commands run by AI assistants into atuin history (preserving exit codes and execution context), and an MCP server that enables searching and retrieving recent command history with filtering options for failed commands. The dual-mode architecture makes it valuable for AI workflows that need persistent command history tracking across sessions, allowing assistants to learn from previous command patterns and maintain context of what has been executed in terminal environments.

## Trust

- **Trust score (0–1):** 0.50
- **Verification tier:** unverified

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** search
- **Updated:** 2026-04-25

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/nitsanavni-atuin-history)
- **Repository:** <https://github.com/nitsanavni/bash-history-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "nitsanavni-atuin-history"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/nitsanavni-atuin-history` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/nitsanavni-atuin-history/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
