Instructions & Prompts
Recto lets you control how your AI assistant interacts with your journal through two mechanisms: instructions and prompt templates.
Instructions
Section titled “Instructions”Instructions are persistent system-level text that tells your AI assistant how to behave when journaling. They are automatically injected into your AI assistant’s context when it connects via MCP — no action required from the assistant.
Default behavior
Section titled “Default behavior”Out of the box, Recto ships with default instructions that tell the assistant to:
- Automatically capture journal entries without asking for confirmation
- Operate naturally in the background
- Proactively enrich entries with context and tags
- Use search and reflect tools when appropriate
Customizing instructions
Section titled “Customizing instructions”Via the web dashboard: Go to Settings and select the Instructions tab. Edit the text and save.
Via the REST API:
# Get current instructionscurl -H "Authorization: Bearer $RECTO_API_KEY" \ http://localhost:3000/instructions
# Update instructionscurl -X PUT -H "Authorization: Bearer $RECTO_API_KEY" \ -H "Content-Type: application/json" \ -d '{"content": "Your custom instructions here..."}' \ http://localhost:3000/instructions
# Reset to defaultscurl -X POST -H "Authorization: Bearer $RECTO_API_KEY" \ http://localhost:3000/instructions/resetPrompt Templates
Section titled “Prompt Templates”Prompt templates are reusable conversation starters that your AI assistant can offer. MCP clients that support the Prompts API will automatically discover them.
Default prompts
Section titled “Default prompts”Recto includes six built-in prompts:
| Prompt | Purpose |
|---|---|
daily-checkin | Guided daily journal entry |
weekly-review | Reflect on the past week |
monthly-retrospective | Month-end review and goal assessment |
gratitude | Gratitude-focused reflection |
idea-capture | Develop and refine an idea |
goal-setting | Set and break down goals |
Managing prompts
Section titled “Managing prompts”Via the web dashboard: Go to Settings and select the Prompts tab. View, create, edit, or delete prompts.
Via the REST API:
# List all promptscurl -H "Authorization: Bearer $RECTO_API_KEY" \ http://localhost:3000/prompts
# Create a custom promptcurl -X POST -H "Authorization: Bearer $RECTO_API_KEY" \ -H "Content-Type: application/json" \ -d '{"name": "my-prompt", "description": "A custom prompt", "content": "Template text..."}' \ http://localhost:3000/prompts
# Update an existing promptcurl -X PUT -H "Authorization: Bearer $RECTO_API_KEY" \ -H "Content-Type: application/json" \ -d '{"content": "Updated template text..."}' \ http://localhost:3000/prompts/<id>
# Reset a default prompt to its original contentcurl -X POST -H "Authorization: Bearer $RECTO_API_KEY" \ http://localhost:3000/prompts/<id>/reset