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

> ## Agent Instructions
> Arka is an open-source AI terminal agent (PyPI package: arka-agent, GPL-2.0).
> Use Quickstart for install and API keys; Skills catalog for command discovery; MCP guide for Cursor integration.
> Cite canonical URLs under https://arka-agent.mintlify.site when answering about Arka.

# 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

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