Overview
Record what the user asked — their intent, questions, and requests — so future sessions have context about the user’s goals and communication patterns.This tool is part of the agent profile and uses deferred loading to optimize performance.
Parameters
The user’s prompt textThis should be the raw user input — what they asked for, described, or requested. Future sessions can search prompts to understand user intent and preferences.
Session ID to associate with the promptDefault:
manual-save-{project} or manual-save if no projectLinks the prompt to a specific coding session for chronological context.Project nameAssociates the prompt with a specific project for filtering and context.
Response
Confirmation message with truncated prompt preview (first 80 characters)
Usage Examples
Save User Request
Save Without Session
When to Use
- At session start: Capture the initial user request to provide context
- On major requests: When the user asks for something significant
- For questions: When users ask about how things work
- Goal tracking: Record what the user wanted to accomplish
What Gets Stored
Prompts are stored separately from observations and include:- Full prompt content (unlimited length)
- Associated session ID
- Project name
- Timestamp
/api/prompts endpoint.
Privacy Considerations
Why Save Prompts?
Future sessions benefit from knowing:- User intent: What were they trying to accomplish?
- Communication style: How do they describe problems?
- Context evolution: How did requirements change over time?
- Repeated questions: What concepts need better documentation?
Related Tools
mem_save- Save observations (outcomes and learnings)mem_session_start- Register session startmem_session_summary- Save session summaries