Chat
A session is one conversation with an agent. The agent works in your vault: it reads files, changes files, and runs commands.
Start a session
- Select the + next to the name of your vault.
- Write your message and press Enter. Shift and Enter add a new line.
The empty message field shows a suggested next step in grey, for example "Plan the task …". Press the Tab key to use it.
Start a session from the search
- Open the search and select New session.
- Select a project, or select Skip this step.
- Select a task, or select Skip this step. Without a project, the list shows the open tasks of each project.
- When your session list has groups, select a group, or select Skip this step. The first message puts the session into the group.
A selected task or project is an attached file, the same as a file that you attach with the + below the message field. The name of the task or project with a colon starts the message, for example "task-12 · Login bug: ". Without a selection, the session starts the same as with the +. Press Enter in an empty field to skip a step.
Select the agent
The button at the left below the message field shows the agent, the model, and the effort. Select it to change them. A session keeps its agent.
In the agent menu, the bars next to Default show the effort that the CLI uses for the selected model. Opfold gets this effort from the Claude CLI and the Codex CLI when it detects the models. For a different CLI, the bars stay empty.
Hold the pointer on a button below the message field to see its hint. The hint names the function or the value of the button. In a narrow chat window, the agent button and the permission button show only their icons, so their hints name the agent, the model, the effort, and the permission mode.
Claude in Chrome
With Claude in Chrome, a Claude Code agent can read and use the pages in your Chrome browser. Chrome needs the Claude extension.
- The setting Use Chrome by default in Settings → Agents turns Chrome on or off for each chat.
- The agent menu of a chat has the entry Chrome under Browser. It turns Chrome on or off for this chat only. The chat keeps the choice, and the next turn uses it. Hold the pointer over the entry to see the state.
- Knowledge questions and workflow runs start without Chrome.
Decide what the agent can do
The button at the right below the message field sets the permission mode.
| Mode | The agent |
|---|---|
| Read only | Reads files and changes nothing. |
| Manual | Asks before each change and each command. |
| Accept edits | Changes files without a question, and asks before a command. |
| YOLO | Does each action without a question. |
When the agent asks, the question shows in the conversation. You allow it one time, allow it for the turn, or deny it.
In each mode, also in YOLO, Claude can ask you a question with options, for example which of two designs to build. The question shows as a card in the conversation, and Claude continues with your answer.
Send a message while the agent works
Press Enter. The message waits in the queue above the message field and starts when the agent ends its turn.
A message in the queue has a button Steer, and a button that removes it. Select Steer to give the message to the agent at once, during its turn. After a stop of the agent, the button is Send now.
Send a message later
The clock button next to the send button opens Send later. Select a quick choice, or enter a date and a time and select Set the timer. At the time, the message goes into the open session. The message of a new chat starts a new session. The Schedulers area lists each timer.
A message that you do not send stays with its session. When you open the session again, the message field shows the text and the attached files again.
Stop the agent
Select the stop button next to the message field, or press Escape in the chat. Opfold stops the agent and each process that the agent started. The answer shows "You stopped the agent." Your next message continues the same session.
Attach a file
- The + at the left attaches the file that is open in the file panel.
- You can also paste a file or a picture, or move it onto the chat.
Use a slash command
Type / at the start of the message field. A list above the message field shows the commands that match your text. For example, /goa shows /goal.
- The skills of the vault come first, with their descriptions.
- The other commands of the agent CLI come after them, for example its built-in commands and the skills of its plugins.
Claude Code reports its commands at the start of each turn. Opfold keeps the last list of each vault, so the list is complete also after a new start of the app. For another agent, the list shows only the skills of the vault.
Use the arrow keys to select a command. Press Tab or Enter to write the command into the message field. When the message holds the complete command, Enter sends the message. Press Escape to close the list.
Work on a task with a skill
A skill with a contract opfold.yaml works on a task in steps. The chat records these steps in the file timeline.json of the task, the same as a workflow run. See Skills.
The step context. The first message with a task gets the step context: the paths, the state, and the checks of the task. A task is in the message when you attach the task file, use the chat button of a card, or use a lane prompt, the suggestion, or the search with a task. A message that starts with the slash command of such a skill also gets the step context of that skill, for example /code-review [[task-012]]. The step context goes to the agent with the message. The session shows only your message.
A check before the send. When the message starts with such a skill and a check of the skill fails, the message does not go to the agent. A hint above the message field names each failed check:
- Send anyway sends the message. The agent learns that a check failed and that you decided to continue.
- Cancel keeps the message in the field.
The start and the end of a step. The slash command starts the step. When Claude loads such a skill by itself, the step starts too. For another agent, only the slash command starts a step. A skill can ask you questions over several turns, so the end of a turn is not the end of the step. The agent writes a small result file when the work of the skill is complete, and the chat then ends the step. A step without the file stays open.
An open step. Above the message field, the session shows each open step with Mark as done and Mark as failed. The card of the task shows the same buttons. After you stop the agent, the step stays open, and your next message continues it. Continue with summary and the automatic continuation give the open steps to the new session.
Answer the questions of the agent
An agent can ask you questions with answers to select. The questions then take the place of the message field, and the agent waits for your answer.
- Each question has a tab. A check mark shows an answered question.
- Select an answer. For a question with one answer, the next tab opens. A question with square marks takes more than one answer.
- Type your own answer in the last row.
- The tab Submit shows your answers. Select Submit answers to send them to the agent.
Use the arrow keys to move between the answers and the tabs. Press Enter to select an answer. Press Escape or select Cancel to skip the questions.
Files of a session
The row at the top of a session shows its files. The row stays in view while you scroll.
- Sources: the files that you gave the agent. An attached file, a dropped file, and a task file are sources.
- Artifacts: the files that the agent created in the session. An artifact has the accent color.
Click on a file to open it in the file panel. The row shows only the files of the vault.
See what the agent does
While the agent works, a line below the answer names the current work:
- the last thought of the agent, when the agent sends the text of its thoughts,
- the current tool call, for example "Reading app.ts …" or "Running npm test …",
- the active step of the task list of the agent, for example "Running the tests …".
When the agent sends none of these, the line shows a playful word, for example "Pondering …". Claude often sends its thoughts without text, so the line cannot always show a thought.
See the code changes
The </> button in the header of a session shows the code changes of the agent. Each change of a file shows as a diff with code colors: added lines are green, and removed lines are red. A new change shows while the agent works. The header of a change shows the path of the file in the vault. Click the path to open the file. The button hides the changes again, and the app keeps your choice. Codex names the changed files without their content, so a change of Codex shows only the path.
The button also shows the changes of older sessions. In a Markdown note, the headings, the lists, the bold text, the links, and the code get colors. Plain text keeps the color of the text.
Work with sessions
| Action | How |
|---|---|
| Rename | Double click on the session, or right click and Rename |
| Delete | Right click and Delete |
| Start a second session from an answer | Fork from here below the answer |
| Continue in a new session | Right click and Continue with summary or Continue with last answer |
| See each session | The clock symbol next to the name of the vault |
The session list marks the state of each session:
| Mark | Meaning |
|---|---|
| Dot in the accent color | A turn of the agent runs. |
| Blue dot and bold title | A turn ended, and you did not open the session after that. |
The mark of an unseen session goes away when you open the session. A turn that ends while you look at the session gets no mark.
Groups
A group is a folder in the session list. It holds related chat sessions, for example the parts of one long topic.
| Action | How |
|---|---|
| Create a group | Right click on a session and Move to new group. The group gets the title of the session. |
| Move a session into a group | Right click on the session and Move to with the name of the group |
| Move a session out of its group | Right click on the session and Remove from group |
| Open or close a group | Click on the group |
| Rename a group | Double click on the group, or right click and Rename group |
| Remove a group | Right click and Remove group, keep sessions. The sessions stay in the list. |
A closed group shows a running session with the color of its folder symbol. It shows an unseen session with a bold title.
The context ring
The ring below the message field shows how full the context window of the session is. A new session starts at 0 %. A full context window leaves the agent little room for new work, so start a new session for a new topic.
Continue a full session
When the context window of a chat session is 80 % full, a hint shows above the message field. The hint has two buttons:
- Continue with summary: the agent first writes a summary of the work in the earlier session. This summary is one more turn of the agent. When the turn ends, the new session opens. A failed turn or a stop opens no new session.
- Continue with last answer: the new session opens at once. It gets the last answer of the earlier session.
Hold the pointer on a button to see its hint. Opfold then does these steps:
- It puts the earlier session into a group. A session without a group gets a new group with its title.
- It starts a new session in the same group, with the same agent, model, and effort. The title gets a part number, for example "Login bug · part 2".
- The first message of the new session names the file of the earlier session. It holds the summary or the last answer. The agent gets this message with your first message.
The new session starts with an empty context window.
Continue automatically
The loop button next to the context ring turns on the automatic continuation for the open chat. You can turn it on before the first message of a long task. A new chat starts with the button off. A continued session keeps the choice of the earlier session.
When a turn ends and the context window is 80 % full or more, Opfold continues the session with the steps above and opens the new session. The automatic continuation gives the new session the last answer, not a summary:
- After a finished turn, the new session waits for your next message.
- After a turn that stopped with an error, for example at a full context window, the new session continues the work at once.
- After a stop with the stop button, Opfold does not continue the session.
Notices
Opfold tells you when an agent ends its turn while you work in another app. See Inbox and notices.