---
title: Files and feedback
description: Read what your agents write, mark it up, and send your notes back in one go.
---

The **Files** view shows the Markdown, HTML and Excalidraw files in your project's docs folders. It's the easiest way to review a plan, a report, or a mockup an agent made, and tell it what to change. It also opens tables, JSON, PDFs, databases, pictures and fonts.

## Review a document

1. **Select some text**

    A small toolbar appears. Add a comment, or mark the text **Looks good**, **Clarify**, **Needs
    tests**, or **Remove this**.

2. **Add as many notes as you like**

    Notes stay on the document until you clear them. Use the header to add a comment about the whole
    file.

3. **Click Send**

    Your notes go to the session you last clicked in the sidebar, as a numbered list with line
    numbers. If that agent can't take them, they're copied to your clipboard instead.

To answer an agent the same way, choose **Reply by Annotating** in the **⋯** menu under its reply. The reply opens in Files, and your notes go straight back to that session.

For HTML files, click **Annotate** in the file's header to point at parts of the page and leave notes on them.

## Working with files

- Every file you open stays open as a tab above the document.
- Markdown, code and text files open in an editor, so you can fix things yourself. **Cmd+F** finds and replaces.
- **Cmd+Shift+F** (Ctrl+Shift+F on Windows and Linux) searches the text of every file in the project.
- When an agent changes a file you're editing, Files offers **Compare**, **Keep mine** or **Take theirs**.

## Other kinds of files

| File                      | How it opens                                                               |
| ------------------------- | -------------------------------------------------------------------------- |
| **CSV and TSV**           | A table you can sort and resize. **Raw** shows the text.                   |
| **JSON**                  | **Format**, **Minify**, and **Tree** to fold it and copy a value's path.   |
| **PDF**                   | A viewer with zoom, search and print.                                      |
| **SQLite** (.db, .sqlite) | Read-only: browse a table, or run a SELECT query. Nothing is ever written. |
| **Fonts**                 | A preview with sample text and every character. Nothing is installed.      |

Files that can't be shown as text, like a zip or an Office document, open in their usual app.

## Where files open

**Settings > Files & Links > File opening** decides where a file opens when you click it in a chat, a terminal or Quick Access: one choice for HTML, Markdown and pictures, one for every other file. Pick Files (the default), the VS Code view, your computer's own app, or an editor such as VS Code, Cursor or Zed.

To show more folders, set **Docs folders** in **Settings > Projects**.

:::tip[Stuck? Ask Ghostex]
Open the sidebar menu (the three lines at the top of the sidebar), choose **Ask Ghostex AI** and ask anything about Ghostex, like "How do I send my notes on a plan back to the agent?". [How Ask Ghostex works](/ask-ghostex)
:::
