> ## Documentation Index
> Fetch the complete documentation index at: https://arka-agent-mintlify-f21cea86.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Clipboard history

> Save, list, and restore recent clipboard entries from the terminal.

Keep a rolling history of clipboard snippets — useful when you copy-paste across terminals and apps.

## Natural language

```bash theme={null}
arka save clipboard to history
arka show clipboard history
arka paste clipboard entry 2
arka clear clipboard history
```

## CLI commands

| Command | Description |
| - | - |
| `clipboard_history save` | Save current clipboard to history |
| `clipboard_history list` | List recent entries (newest first) |
| `clipboard_history paste <index>` | Restore entry to system clipboard |
| `clipboard_history paste <index> --stdout` | Print entry to stdout |
| `clipboard_history clear` | Wipe history |

Uses platform clipboard tools (`pbcopy`/`pbpaste` on macOS, `xclip` or `wl-copy` on Linux). Stores up to 50 entries in your Arka config directory.

<Note>
  The basic `clipboard` fish skill still copies or shows the current clipboard. Use `clipboard_history` when you want persistent recall.
</Note>


## Related topics

- [Week of July 13, 2026](/changelog/2026-07-13.md)
- [MCP integration for Cursor and Claude](/guides/mcp.md)
- [Testing Arka with the pytest suite](/guides/testing.md)
- [Session memory, heartbeat, and skill gates](/guides/openclaw-features.md)
- [Arka CLI command and flag reference](/guides/cli.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.