v2.5.0
What's New
Prompt System for Explore AI Customization
Each account now has customizable prompt files that control AI behavior during explore:
- persona.txt - Character definition (interests, comment style)
- select.txt - Note selection prompt template
- comment.txt - Comment generation prompt template
Prompts use LiquidJS templating with variables like {{ persona }}, {{ notes }}, {{ title }}.
New Tools
xhs_get_account_prompt- Get prompt file content (persona/select/comment)xhs_set_account_prompt- Update prompt file content
Explore Enhancements
- Cross-session deduplication - Previously interacted notes are excluded (configurable via
deduplicateparameter) - Random behavior patterns - More human-like browsing:
- 10% quick scroll mode
- 5% scroll back to check earlier content
- 15% quick close (pretend not interested)
- 10% long pause / deep reading
Configuration Changes
- Removed
DEBUGenvironment variable - Use
XHS_MCP_HEADLESS(default: true) to control browser visibility - Use
XHS_MCP_KEEP_OPEN(default: false) to keep browser open after operation
Other Changes
- Prompt files auto-initialize on first access
- Prompt directory cleaned up on account deletion
- Updated documentation