Skip to content
Snotra Agent ManualThis manual describes Snotra Agent 1.33.0

Find where Snotra keeps its files

Snotra keeps what belongs to you in three places: a profile folder for settings and chats, the project folder you opened, and ~/.snotra/ in your home folder. This page lists what lies where, and what you may edit yourself.

PlaceWhat lives there
The profile folderYour models and keys, your settings, your chats, your permissions. Belongs to you, not to a project.
AGENTS.md and .agents/ in the open folderInstructions, memory, rules, skills and skill data of this project. Travels with the folder — and can end up in a repository.
~/.snotra/ in your home folderInstructions, memory, rules and skills for every folder.
~/.agents/ in your home folderThe older place for global instructions, rules and skills, shared with other tools. Still read.
SystemPath
macOS~/Library/Application Support/Snotra AI
Windows%APPDATA%\Snotra AI
Linux~/.config/Snotra AI

It still carries the name of the platform, Snotra AI, although the app is called Snotra Agent. Nothing was moved when the app was renamed: see Install Snotra Agent.

FileWhat it holds
llm-config.jsonThe models in the list and how to reach them. Keys are stored encrypted.
ui-preferences.jsonYour settings and the layout: language, the system prompt, the switches, the width of the columns, the zoom of Markdown files, the Python interpreter, the image model.
tool-policy.json and tool-policy.keyThe mode, your blocks and allowances, the default mode of a folder. Signed, so a changed file is noticed.
mcp-servers.jsonThe MCP servers. Secret environment variables and headers are encrypted.
web-search-config.jsonThe key for the web search, encrypted.
chat-history/Since 1.25 Your chats, encrypted: index.json with the list, and one file per chat. Up to 1.24 they were in one file, chat-history.json; the first start of 1.25 moves them over and removes the old file once the copy has been checked.
chat-attachments/The images that belong to your chats, one folder per chat.
folder-history.json and last-folder.jsonThe recent folders, and the one that opens at the next start.
window-state.jsonSize and place of the window.
knowledge-journal.jsonSince 1.30 The last 50 changes Snotra made to a knowledge file, with the text before each one, for Undo under Settings › Knowledge — see Let Snotra remember.
logs/Since 1.25 Snotra’s log file, main.log, and the one before it, main.old.log: warnings and errors, never your chats — see Find logs and report a problem.

Anything else in the folder — Cache, Local Storage and the like — is the framework’s own and can be left alone.

Almost none. Everything in them is set in the app, and the app writes the files itself, so a change made behind its back can be overwritten. One setting has no place in the app, and one file must stay as it is:

  • ui-preferences.json takes historyCharLimit, a number the settings do not show: the budget in characters for the chat history sent with each request (200,000 by default, 4,000 to 2,000,000). Older messages beyond it are left out, and large tool results of earlier rounds are cut short. Quit Snotra before you edit the file.
  • tool-policy.json is signed. Do not edit it: Snotra then falls back to Smart — or stays on Always ask — and drops your allowances; your blocks stay in force. Change permissions under Settings › Tools › Autonomy instead.

To start from scratch, quit Snotra and move the folder somewhere else. Keys and chats are then gone from the app — keep a copy first.

API keys, secret environment variables, the search key and your chats are encrypted with a key from the system: on macOS the keychain item Snotra AI Safe Storage, on Windows the user account, on Linux the keyring. A copy of the folder is therefore useless on another computer or another account, and the keys have to be entered again there. Where the system offers no encrypted storage — a Linux desktop without a keyring, say — Snotra says Encrypted storage is not available on this system instead of saving a key.

If the key changes, a chat history that can no longer be read is not deleted: the folder is kept as chat-history.undecryptable-<time> next to the new one.

WhatWhereWritten by
Project instructionsAGENTS.md, at the top of the folderyou; Since 1.30 Snotra adds to its section Added by Snotra on your request — see Give a project its instructions
Project memory.agents/memory.mdSnotra on your request, or you — see Let Snotra remember
Rules of the project.agents/rules/<name>.mdyou, or Snotra on your request — see Give Snotra rules
Skills of the project.agents/skills/<name>/SKILL.mdyou, or Snotra when you ask for a skill — see Use skills
What a skill keeps.agents/data/the skill

When Snotra overwrites a file in a project, a copy of the old version goes to the trash first.

WhatWhere
Instructions for every folder~/.snotra/AGENTS.md, then ~/.agents/AGENTS.md
Global memory~/.snotra/memory.md
Your own rules~/.snotra/rules/<name>.md, and ~/.agents/rules/<name>.md
Your own skills~/.snotra/skills/<name>/, and ~/.agents/skills/<name>/

These files are read-only for the file tools, and a sandboxed command cannot reach them: you change your own instructions and skills yourself, in your file manager or editor, or with the buttons under Settings › Knowledge. From a chat, Snotra writes here only when you ask it to remember something for every folder — a fact into ~/.snotra/memory.md, Since 1.30 a rule into ~/.snotra/rules/, a procedure as a skill of one SKILL.md into ~/.snotra/skills/ — and every such write asks first, on a card that shows it. ~/.agents/ belongs to the other tools and is never written.

  • Settings are gone after a fresh install. The profile folder is named after the platform, not the app: look for Snotra AI, not Snotra Agent. A start with --user-data-dir uses another folder altogether.
  • Keys are asked for again, or enter the key again appears. The system key changed — a new user account, a restored backup, a new computer. Enter the keys once more.
  • A change to ui-preferences.json has no effect. Snotra was probably running when you saved it and wrote its own settings over yours. Quit Snotra first.