The vault
The vault is the folder that Opfold works on. Each part of your work is a file in it.
The folders
Opfold uses these folders by default. You can change each name in the settings of the vault.
| Folder | Content |
|---|---|
00 Context |
Notes about you and your team, and the workflows in 00 Context/workflows |
01 Inbox |
New notes without a place, for example from the quick capture |
02 Projects |
One folder for each project, with its tasks |
05 Daily Notes |
One note for each day |
08 Templates |
Templates for new notes |
skills |
The skills of your agents |
The hidden folder
The folder .opfold holds the data of the app.
| Path | Content |
|---|---|
.opfold/config.json |
The settings of the vault |
.opfold/agents.json |
Your agents and their models |
.opfold/sessions |
Your chat sessions |
.opfold/workflows |
The runs and the schedules of the workflows |
.opfold/plugins |
The plugins that you installed into this vault |
Files in the app
- File tree: select the folder symbol at the top of the sidebar. The tree keeps its open folders and its position.
- File panel: a click on a file opens it at the right. Several files are tabs. A right click on a tab renames the file or moves it into the trash. The same menu closes each tab, or the tabs to the right or to the left of it. A tab with unsaved changes stays open. The row of the tabs scrolls, and its scrollbar shows below the tabs.
- Path of a file: the toolbar shows the path of the open file with the file name at the end. Scroll the path to the left to see the folders.
- Actions of a file: the menu Actions in the toolbar starts a session with the file as an attachment, or opens the workflows with the file as the task file. For a Markdown file, the menu also stores a PDF file, when the PDF Export plugin is on. Show in file manager shows the file in the Finder.
- File types: Opfold shows Markdown, code, tables (CSV), pictures, PDF files, and diagrams.
- Commands in Markdown: A code block with a shell language, for example
bash,sh,zsh, orpowershell, holds commands for a terminal. The block has a button that copies the command and a button that opens a terminal in the vault folder. - Tables in Markdown: Drag the right line of a head cell to change the width of the column. The button at the top right of the table opens the table in full screen.
- Edit: select Edit in the file panel, change the text, and save.
- Edit at the same place: click into the text of the preview, or select a text. Then select Edit. The editor puts the cursor at this place. A click on a card of a plugin, a diagram, or a command block puts the cursor at the start of the block.
- Read at the same place: put the cursor at a place in the edit mode, and select the preview. The preview shows the block of the cursor and marks it for a moment.
- Find in a file: in the edit mode, press Cmd+F (Ctrl+F on Windows and Linux). The find bar marks each match and shows the number of matches. Enter selects the next match, and Shift+Enter selects the match before. Escape closes the bar.
- Links: a link in a chat answer opens the file. A link with a line number, for example
notes/plan.md:12, opens the file at that line.
Change files and folders
Right-click an entry of the file tree to see its commands. A right click on the free area of the tree, or the + button, shows the commands for the vault folder.
| Command | What it does |
|---|---|
| New file, New folder | Shows a name field in the folder. A name with / also makes the folders of the path, for example ideas/plan. |
| Rename | Shows a name field in the row. The key F2 does the same. |
| Duplicate | Copies the file or the folder. The copy gets a number, for example Plan 1.md. |
| Move to… | Opens the folder dialog. You can also drag an entry onto a folder. The free area of the tree is the vault folder. |
| Copy path | Copies the vault path of the entry. |
| Show in file manager | Shows the entry in the Finder. |
| Move to the trash… | Asks first. Then the entry goes into the trash of the computer. The keys Delete and Cmd+Backspace do the same. |
A new file without an extension gets .md, and it opens in the edit mode. An open tab follows its file when you rename or move the file.
Opfold does not change the links to a note that you rename or move. While the filter has a text, the tree shows a list of files without these commands.
Instructions for your agents
A file with the name CLAUDE.md or AGENTS.md in the root of the vault holds the instructions for each agent. The plugin Agent memory shows these files and the memory that an agent wrote.
More than one vault
Select the name of the vault in the sidebar to change to another vault or to open a new folder. Each vault has its own settings, sessions, and workflows.
Your vault and git
A vault works well as a git repository. Then each change has a history, and a team can share the vault.
Your sessions and your run data must stay out of git. List these two lines in the file .gitignore of the vault:
.opfold/sessions/
.opfold/workflows/
The section Readiness in the Vault area tells you when the line for the sessions is missing. The plugin Git shows the changes and commits them.