a digital person for bluesky

Simplify mention prompt and make replying optional

Streamlined the prompt agents receive when mentioned:
- Removed prescriptive guidance about when to use threads
- Removed redundant explanation of YAML structure
- Made replying feel optional ("If you choose to reply...")
- Kept essential info: who mentioned them, the post, thread context, and tool usage

This gives agents more autonomy to decide whether and how to respond,
rather than implying they must reply to every mention.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

Changed files
+3 -12
+3 -12
bsky.py
··· 303 303 # Create a prompt for the Letta agent with thread context 304 304 prompt = f"""You received a mention on Bluesky from @{author_handle} ({author_name or author_handle}). 305 305 306 - MOST RECENT POST (the mention you're responding to): 306 + MOST RECENT POST: 307 307 "{mention_text}" 308 308 309 - FULL THREAD CONTEXT: 309 + THREAD CONTEXT: 310 310 ```yaml 311 311 {thread_context} 312 312 ``` 313 313 314 - The YAML above shows the complete conversation thread. The most recent post is the one mentioned above that you should respond to, but use the full thread context to understand the conversation flow. 315 - 316 - To reply, use the add_post_to_bluesky_reply_thread tool: 317 - - Each call creates one post (max 300 characters) 318 - - For most responses, a single call is sufficient 319 - - Only use multiple calls for threaded replies when: 320 - * The topic requires extended explanation that cannot fit in 300 characters 321 - * You're explicitly asked for a detailed/long response 322 - * The conversation naturally benefits from a structured multi-part answer 323 - - Avoid unnecessary threads - be concise when possible""" 314 + If you choose to reply, use the add_post_to_bluesky_reply_thread tool. Each call creates one post (max 300 characters). You may use multiple calls to create a thread if needed.""" 324 315 325 316 # Extract all handles from notification and thread data 326 317 all_handles = set()