Start free
Guide Teach your agent your knowledge

How to teach Goose your knowledge

Updated 2 min read

The short answer

Use Goose’s built-in Memory extension to store preferences, commands, and project-specific or global information that Goose can recall later (Goose Memory guide). For detailed instructions, store them in a file and tell Goose to refer to it (Goose Memory guide).

On this page7 sections
  1. Enable Goose Memory
  2. Save project or general instructions
  3. Use files for detailed reference material
  4. Find or remove saved memories
  5. What Goose Memory stores
  6. Start a session with saved memories
  7. Questions people ask

Enable Goose Memory

In Goose Desktop, open the top-left button, select Extensions, then toggle Memory on. In Goose CLI, run goose configure, choose Toggle Extensions, then enable memory (Goose Memory guide).

Save project or general instructions

Goose stores project memories in .goose/memory/ in the working directory. Global user memories live in ~/.config/goose/memory/ and apply across projects (Goose Memory guide).

Use Goose’s memory tools to save information with a category, optional tags, and local or global scope. You can ask Goose to learn material and save it, then ask it to remember those standards in later requests (Goose Memory guide).

Use files for detailed reference material

For long instructions, keep the material in a file and tell Goose to refer to and follow that file. Goose’s documentation gives an example of pointing it to a notes file for JavaScript help (Goose Memory guide).

Find or remove saved memories

Goose provides tools to retrieve memories by category, remove a category, or remove one memory by matching its content. The * category retrieves all memories or clears all memories, depending on the tool, so use it carefully (Goose Memory guide).

What Goose Memory stores

Goose’s Memory extension lets you teach it information such as commands, code snippets, preferences, and configurations for later recall (Goose Memory guide). Its memories can apply to a project or across projects (Goose Memory guide).

Start a session with saved memories

Goose loads saved memories at the start of a session and includes them in prompts sent to the language model (Goose Memory guide). The guide says to open a new Goose Desktop session or run goose session in the CLI (Goose Memory guide).

To bring your saved reading into Goose as well, add the KnowMan MCP server to Goose.

Questions people ask

Can Goose remember different instructions for different projects?

Yes. Goose supports project-specific memories in .goose/memory/ and global memories in ~/.config/goose/memory/ (Goose Memory guide).

Can I give Goose a long reference document?

Store detailed instructions in a file and tell Goose to refer to and follow it. The Goose guide describes this approach for a notes file (Goose Memory guide).

When does Goose load saved memories?

Goose loads all saved memories at the start of a session and includes them in prompts sent to the language model (Goose Memory guide).

Can I enable Memory in Goose Desktop and CLI?

Yes. In Desktop, open Extensions and toggle Memory on. In the CLI, run goose configure, choose Toggle Extensions, and enable memory (Goose Memory guide).

Keep your reading close

Try KnowMan Pro for 14 days with no credit card. Create your account

Start free

Every new account starts with 14 days of Pro. No credit card.