Skip to content
Snotra Agent ManualThis manual describes Snotra Agent 1.33.0

Give a project its instructions

Every project has its own way of working: which package manager, which command runs the tests, which folders are off limits, how commit messages look. Write it into a file called AGENTS.md, and Snotra follows it in every chat in that folder — without you having to say it again.

A text file named AGENTS.md. Many repositories already have one; Snotra uses it as it is.

  1. Create AGENTS.md directly in the project folder — at the top, not in a subfolder. You can do that in the tree with New File…, or ask Snotra to write it.

  2. Write down, in plain words or as a list, what the model should know and keep to. For example:

    # Garden Planner
    - Plants and beds live in plants.csv and beds.json; never rename their columns.
    - Run the calendar with `node src/calendar.js`.
    - Dates are written as YYYY-MM-DD.
  3. Save it. The next message already uses it.

For instructions that apply in every folder, put an AGENTS.md into ~/.snotra/ in your home folder. Snotra also still reads ~/.agents/AGENTS.md, the older place.

  • Snotra reads up to three files with every message: the project’s AGENTS.md, then ~/.snotra/AGENTS.md, then ~/.agents/AGENTS.md. All that exist apply together; none replaces another.
  • Changes take effect with the next message, without a restart.
  • Each file contributes up to 20,000 characters; a longer one is cut visibly, not dropped. The breakdown behind the token count in the input field lists what each file costs — see Write a message.
  • Before a file goes to the provider, Snotra leaves it out if it contains one of your own keys, and masks credentials such as tokens or password = ….
  • Settings › Knowledge › AGENTS.md lists the files Snotra found, with their size and Open, which opens a file in your editor.

Since 1.30 Ask Snotra to remember something for Every tool here, and it goes into the project’s AGENTS.md — the file other coding tools read too, and which is usually shared with the team. Snotra writes only into a section of its own at the end, Added by Snotra, and creates the file if there is none; what you wrote above it stays as it is. See Let Snotra remember.

Any other change Snotra makes to the file asks first, in every mode, Auto included; a command such as git pull that changed it is followed by a card with Keep and Reset. See Answer an approval request.

Instructions from a folder you did not write

Section titled “Instructions from a folder you did not write”

An AGENTS.md is meant to change how the model behaves — so when you open someone else’s folder, you take on its instructions too. To work in a folder without them, switch off Send AGENTS.md under Settings › Knowledge. That switch covers all three places.

Since 1.30 Snotra also checks the project’s AGENTS.md for signs that it hides something from you: telling the agent to keep something from you or to act without you, to send keys or the conversation out, or text you cannot see. The file still goes along as it is — the check is a hint, not a filter. A file that shows such a sign is marked in the breakdown behind the token count and under Settings › Knowledge: Check this file: it may hide instructions from you, with what was found. Open the file and read it before you go on.

  • Snotra ignores the file. It must be called exactly AGENTS.md and lie at the top of the folder. Snotra does not read CLAUDE.md, .cursorrules or an AGENTS.md under .agents/; move such a file up into the folder.
  • Nothing is sent at all. Send AGENTS.md under Settings › Knowledge is off.