atuinhistorylisted
Install: claude install-skill bendrucker/claude
# Shell History
Report shell activity from atuin's local capture. This skill only reads. Never run subcommands that modify history (`atuin delete`, `atuin search --delete`, `atuin import`).
Arguments are search terms: start with `atuin search $ARGUMENTS`.
## CLI Queries
The default path. `atuin search [query]` prints matching commands, newest first. Useful flags:
- `--after "2 days ago"` / `--before "2026-07-01"`: date bounds, human phrases work
- `-c/--cwd <dir>`: commands run in a directory (`--exclude-cwd` to invert)
- `-e/--exit <code>` / `--exclude-exit <code>`: filter by exit code (`--exclude-exit 0` finds failures)
- `--limit <n>`: cap the result count
- `-r`: oldest first instead of newest first
- `-f/--format '{time} {command}'`: also `{directory}`, `{exit}`, `{duration}`, `{relativetime}`, `{user}`, `{host}`
- `--cmd-only`: bare command text
- `--search-mode <prefix|full-text|fuzzy|skim>`: `full-text` for exact substring matches, overriding the fuzzy default
- `--include-duplicates`: repeated identical commands otherwise collapse to the latest
`atuin stats [today|week|month|year]` aggregates the period: top commands with counts. `-c <n>` sets top-N, `-n 2` counts command pairs (sequences) instead of single commands.
`atuin history list` dumps everything, and takes `--cmd-only` and `-f` too.
## Sandbox
Query subcommands work sandboxed: the sandbox grants writes to `~/.local/share/atuin` because atuin opens its metadata db read-write even for searches. Networ