Thoughtful
by @regalstreak
Your thoughtful companion for WhatsApp - remembers what matters, helps you stay present in your relationships.
clawhub install thoughtfulπ About This Skill
name: thoughtful description: Your thoughtful companion for WhatsApp - remembers what matters, helps you stay present in your relationships. metadata: {"openclaw":{"emoji":"π","requires":{"bins":["wacli-readonly"]}}}
thoughtful
Your thoughtful companion for WhatsApp.
Goes beyond simple message summaries - helps you maintain relationships, catch what's slipping through the cracks, and communicate with intention instead of just reacting.
What It Does
π Smart Tracking
π§ Communication Coaching
Acts as your emotionally intelligent assistant to help you:π Daily Summaries
Warm, conversational catch-ups that feel like a friend briefing you, not a robot checklist.Includes:
Storage
All data stored in: ${WORKDIR}/thoughtful-data/ (defaults to ~/clawd/thoughtful-data/)
thoughtful-data/
βββ config.json # Your preferences
βββ state.json # Processing state
βββ tasks.json # Pending items, commitments, waiting-on
βββ people.json # Relationship tracking per contact
βββ summaries/ # Historical summaries
βββ context/ # Conversation context per chat
Configuration
Interactive Setup (Recommended): When first using the skill, the agent will guide you through setup via chat:
All configuration happens through conversation - no manual file editing needed.
Manual Configuration (Advanced):
Edit ${WORKDIR}/thoughtful-data/config.json to:
Communication Coach Prompting
The skill uses this framework (inspired by littlebird):
> Act as a thoughtful communication coach with a practical, emotionally intelligent lens. > > Help improve communication in relationships with peers, colleagues, and friends by: > > 1. Reflecting on interactions - Have I left anything hanging? Has tone shifted? > 2. Suggesting check-ins - Good moments to reach out or show appreciation > 3. Providing conversation starters - Thoughtful prompts to start/restart conversations > 4. Re-engagement guidance - How to re-open quiet conversations without awkwardness > > Tone: Clear, warm, and direct. No fluff, not robotic. Practically useful.
How It Works
Data Collection
1. Fetches messages from wacli-readonly (last 24h + older pending items) 2. Processes DMs + whitelisted groups only 3. Extracts action items, sentiment, commitments, dates 4. Updates tracking filesAnalysis & Insights
Uses LLM to:Summary Generation
Creates warm, human summary with:Interactive Task Management
Summary includes buttons to:Example Summary
Morning, Neil! βοΈHere's your WhatsApp catch-up:
π WHAT'S NEW (last 24h):
Alice is waiting on you (3 messages)
She's asked about Tuesday's meeting twice now and sent a restaurant link.
Feels time-sensitive - she mentioned "need to know by tonight."
Bob's getting urgent (2 messages)
Those design files he asked for? Now needs them "before EOD."
This has been pending for 2 days.
House party group (12 messages)
Weekend plans firming up. They're organizing who brings what.
Not urgent, but you might want to check in before Saturday.
β° STILL PENDING:
Confirm Tuesday meeting - Alice (5 days old, asked 3x)
Send design files - Bob (urgent, 2 days old)
Review contract - Lawyer (low priority, 1 week old) π‘ COMMUNICATION INSIGHTS:
Relationships that need attention:
Alice: Tone shifted from casual to "please let me know" -
she might be frustrated you haven't confirmed yet
Bob: This is the second follow-up - shows it's important to him Quiet conversations worth reviving:
Haven't heard from Priya in 2 weeks (you asked about her project)
Charlie went quiet after you said you'd think about his idea π SUGGESTED ACTIONS:
For Alice:
"Hey! Sorry for the delay - yes, Tuesday works. That restaurant
looks perfect, let's do 7pm?"
For Bob:
"On it - will have files to you by 3pm today. Thanks for the patience!"
For Priya (re-engage):
"Hey Priya! Been thinking about that project you mentioned -
how's it going?"
Did you complete: "Confirm Tuesday meeting with Alice"?
[β
Done] [βοΈ Still pending] [β Won't do] [π¬ Draft reply]
First-Time Setup
When a user first installs the skill, guide them through interactive setup:
1. Authenticate wacli-readonly
- Run wacli-readonly auth --qr-file /tmp/whatsapp-qr.png (in sandbox)
- Send QR code image to user
- Wait for authentication confirmation
2. List available groups
- Run wacli-readonly groups list (in sandbox)
- Show user their WhatsApp groups
- Ask which groups to include in summaries
3. Configure preferences - Ask about priority contacts - Confirm summary timing (default: 11am daily) - Confirm tracking features (sentiment, commitments, etc.)
4. Create cron jobs - Set up WhatsApp sync cron (10:30 AM, isolated session) - Set up daily summary cron (11:00 AM, isolated session) - Confirm both are scheduled correctly
5. Test run - Generate first summary to verify setup - Deliver via Telegram
Usage
IMPORTANT: All thoughtful operations run in sandbox.
When generating summaries:
1. Use the thoughtful skill
2. Run scripts in sandbox: exec("~/clawd/skills/thoughtful/scripts/generate-summary.sh", {host: "sandbox"})
3. Read generated prompt from thoughtful-data/context/last-prompt.txt
4. Use OpenClaw's LLM for summary generation
5. Deliver via current channel
The skill will:
Cron Setup
IMPORTANT:
sessionTarget: "isolated" - runs independentlysessionTarget: "main" - will not deliver properlyWhatsApp Sync (3x daily)
Runs at 10:30 AM, 5:30 PM, 10:30 PM{
"name": "wacli-sync-daily",
"schedule": {"kind": "cron", "expr": "30 10,17,22 * * *", "tz": "Asia/Calcutta"},
"sessionTarget": "isolated",
"payload": {
"kind": "agentTurn",
"message": "Run WhatsApp sync:\n\n1. Kill any stuck wacli processes: pkill -9 wacli-readonly (sandbox)\n2. Run wacli-readonly sync in sandbox (let it complete)\n3. Report: 'WhatsApp sync completed' or any errors",
"deliver": true,
"channel": "telegram",
"to": "-1003893728810:topic:38"
}
}
Thoughtful Summary (3x daily)
Runs at 11:00 AM, 6:00 PM, 11:00 PM{
"name": "thoughtful-daily",
"schedule": {"kind": "cron", "expr": "0 11,18,23 * * *", "tz": "Asia/Calcutta"},
"sessionTarget": "isolated",
"payload": {
"kind": "agentTurn",
"message": "Run thoughtful summary:\n\n1. Kill any stuck wacli processes: pkill -9 wacli-readonly (sandbox)\n2. Run ~/clawd/skills/thoughtful/scripts/generate-summary.sh in sandbox\n3. Read the generated prompt from thoughtful-data/context/last-prompt.txt\n4. Create a warm, thoughtful summary following the communication coach framework\n5. Deliver via Telegram to Clawdgroup topic",
"deliver": true,
"channel": "telegram",
"to": "-1003893728810:topic:38"
}
}
Why 3x daily?
Why separate sync + summary?
Note: The agent will set this up automatically during first-time configuration. Users can adjust the timing during setup.
Privacy & Security
~/clawd/whatsapp/~/.wacli (read-only, no sending)Tracking Features Explained
Sentiment Trends
Detects if someone's tone is shifting:Response Time Patterns
Tracks how long you typically take to reply per person:Recurring Topics
Notices patterns like:Commitment Tracking
Extracts promises you made:Flags if you haven't followed through.
Important Dates
Catches mentions of:Decision Tracking
Remembers choices you made:Helps you stay consistent and avoid contradicting yourself later.
Tips for Best Results
1. Whitelist carefully - Only add groups you actively care about 2. Mark priority contacts - VIPs always show in summary 3. Review summaries daily - Interactive task completion keeps tracking accurate 4. Use conversation starters - They're tailored to your actual context 5. Act on relationship insights - Small check-ins prevent bigger issues
Philosophy
This isn't about productivity hacks or inbox zero. It's about staying human in your digital communication:
Your relationships deserve better than "sorry, forgot to reply." This helps you be the communicator you want to be.
π‘ Examples
IMPORTANT: All thoughtful operations run in sandbox.
When generating summaries:
1. Use the thoughtful skill
2. Run scripts in sandbox: exec("~/clawd/skills/thoughtful/scripts/generate-summary.sh", {host: "sandbox"})
3. Read generated prompt from thoughtful-data/context/last-prompt.txt
4. Use OpenClaw's LLM for summary generation
5. Deliver via current channel
The skill will:
βοΈ Configuration
Interactive Setup (Recommended): When first using the skill, the agent will guide you through setup via chat:
All configuration happens through conversation - no manual file editing needed.
Manual Configuration (Advanced):
Edit ${WORKDIR}/thoughtful-data/config.json to: