fix: rename MCP prompt names to avoid slash command parsing issues (#289)

Signed-off-by: Drew Cain <groksrc@gmail.com>
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
This commit is contained in:
Drew Cain
2025-09-09 21:42:35 -05:00
committed by GitHub
parent 3a6baf80fc
commit 0499319ded
3 changed files with 10 additions and 10 deletions
@@ -18,7 +18,7 @@ from basic_memory.schemas.prompt import ContinueConversationRequest
@mcp.prompt(
name="Continue Conversation",
name="continue_conversation",
description="Continue a previous conversation",
)
async def continue_conversation(
@@ -16,7 +16,7 @@ from basic_memory.schemas.search import SearchItemType
@mcp.prompt(
name="Share Recent Activity",
name="recent_activity",
description="Get recent activity from across the knowledge base",
)
async def recent_activity_prompt(
@@ -72,32 +72,32 @@ async def recent_activity_prompt(
capture_suggestions = f"""
## Opportunity to Capture Activity Summary
Consider creating a summary note of recent activity:
```python
await write_note(
title="Activity Summary {timeframe}",
content='''
# Activity Summary for {timeframe}
## Overview
[Summary of key changes and developments over this period]
## Key Updates
[List main updates and their significance]
## Observations
- [trend] [Observation about patterns in recent activity]
- [insight] [Connection between different activities]
## Relations
- summarizes [[{first_title}]]
- relates_to [[Project Overview]]
'''
)
```
Summarizing periodic activity helps create high-level insights and connections between topics.
"""
+1 -1
View File
@@ -17,7 +17,7 @@ from basic_memory.schemas.prompt import SearchPromptRequest
@mcp.prompt(
name="Search Knowledge Base",
name="search_knowledge_base",
description="Search across all content in basic-memory",
)
async def search_prompt(