Skip to main content
Generates a .roo/rules.md file from stored memories, formatted for Roo Code.

Parameters

includeWorking
boolean
default:"false"
Include working memory in the output. By default, only rule and long-term memories are included.

Behavior

  1. Fetches all rule layer memories
  2. Fetches long_term memories as supplementary knowledge
  3. Optionally includes working memories if includeWorking is true
  4. Formats them into Roo Code’s .roo/rules.md format

Returns

The generated file content as text, ready to be saved as .roo/rules.md.