---
title: "Scratches"
url: "/docs/guides/scratches"
description: "Draft prompts and notes in scratch files that live beside a Claude tab, outside your commits"
---

# Scratches

A scratch is a throwaway markdown note for drafting: a long prompt before you send it, notes from a session, a plan you're not ready to commit. Scratches live in `.10nx/scratches/` in the main checkout, grouped by month, so they outlast any worktree and stay out of its commits.

Use this guide when you want somewhere to write that isn't the code and isn't the Claude input bar.

## Before you start

The Scratch plugin is on by default. For `/tnx scratch`, install the tnx skill (Settings › Plugins).

## Open a scratch beside Claude

1. In the Agent section, open the Scratch pane on the tab you're working in.
2. Pick a scratch, or start a new one. It opens in a full editor beside the session.
3. Write. It saves as you type.

The pane remembers which side it was on and how big, so it opens the same way next time.

## Start one from Claude

In a Claude tab, type `/tnx scratch`, optionally with a topic. Claude creates `.10nx/scratches/<YYYY-MM>/<DD-HHMM>-<topic>.md` and opens it in 10nx.

## Send a draft to Claude

Select the text and press **Cmd+Opt+K** to send it to the connected Claude tab as a file reference, or copy it into the input bar.

## Check it worked

The file is in `.10nx/scratches/` under this month's folder, and the Scratch pane lists it.

## Next steps

- [The .10nx folder](../concepts/tnx-folder.md)
- [The editor](../reference/editor.md)
- [Agents and terminals](../concepts/agents-and-terminals.md)
