Skip to main content
Generates a .clinerules file from stored memories, formatted for Cline.

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 Cline’s .clinerules format

Returns

The generated file content as text, ready to be saved as .clinerules.