---
title: "Install a plugin"
url: "/docs/guides/install-a-plugin"
description: "Track Claude started outside 10nx: install the session timeline's hooks, check what it writes to ~/.claude, and remove it again"
---

# Install a plugin

Some plugins add parts to Claude Code itself, like skills or hooks, so they're installed into `~/.claude`. This guide installs the **Session timeline**'s hooks, which record which Claude session changed which file.

Claude tabs you open in 10nx are tracked already, with nothing installed: 10nx hands them the hooks when it starts them. Use this guide only when you also want Claude started outside 10nx tracked (a `claude` you type in Terminal, or in a 10nx shell tab), or when you're installing any other plugin with Claude Code parts.

## Before you start

You need Claude Code installed. Nothing has to be closed, but Claude sessions that are already open outside 10nx won't pick up the hooks.

## 1. Open the plugin

1. Open Settings (the gear in the status bar) › **Plugins**.
2. Find **Session timeline**. It says what it adds.
3. Press **Install for Claude outside nx…**.

## 2. Read the list

The dialog lists every change it will make in `~/.claude`, and nothing else:

- **Hooks** it will add to `~/.claude/settings.json`: for the session timeline, hooks on `UserPromptSubmit`, and on `PreToolUse` and `PostToolUse` for file edits and shell commands. Each shows the exact command it will run.
- **Folders** it will add under `~/.claude/skills/` or `~/.claude/commands/`, if any.

## 3. Install

Press **Install**. The plugin shows **Installed for Claude outside nx**, with an **Uninstall** button. Its on/off switch is separate and doesn't change.

If something else changed `settings.json` while the dialog was open, 10nx shows the new list and asks again rather than writing a stale one.

## 4. Start a new Claude session

Claude Code reads hooks when a session starts. Start a new `claude` outside 10nx (or restart the ones you want recorded).

## Check it worked

In the new session, with 10nx running, ask Claude to change a file. Then open Git (**Ctrl+4**) › **Sessions**: the session is listed, with your prompt and the file it changed. Or type `/tnx changes` in that Claude tab to open its timeline beside it.

## Remove it

Settings › Plugins › **Session timeline** › **Uninstall**. 10nx takes out exactly the hook entries it added. If `settings.json` hasn't changed since, it gets back its exact original contents. Claude tabs in 10nx stay tracked.

## Next steps

- [Plugins](../concepts/plugins.md): how installs and uninstalls work
- [Review and commit an agent's changes](review-and-commit.md)
- [The session timeline records nothing](../troubleshooting/common-problems.md#the-session-timeline-records-nothing)
