name: smart-followups description: Generate contextual follow-up suggestions after AI responses. Shows 3 clickable buttons (Quick, Deep Dive, Related) when user asks for "followups". triggers: - followups - follow-ups - suggestions - give me suggestions - what should I ask channels: - telegram - discord - slack - signal - whatsapp - imessage - sms - matrix - email
Smart Follow-ups Skill
Generate contextual follow-up suggestions for OpenClaw conversations.
How to Trigger
Say any of these to get follow-up suggestions:
| Trigger | Example |
|---|---|
followups |
"followups" |
follow-ups |
"give me follow-ups" |
suggestions |
"any suggestions?" |
what next |
"what should I ask next?" |
Note: This is a keyword the agent recognizes, not a registered
/slashcommand. OpenClaw skills are guidance docs that tell the agent how to respond.
Usage
Say "followups" in any conversation:
You: What is Docker?
Bot: Docker is a containerization platform...
You: /followups
Bot: ๐ก What would you like to explore next?
[โก How do I install Docker?]
[๐ง Explain container architecture]
[๐ Docker vs Kubernetes?]
On button channels (Telegram/Discord/Slack): Tap a button to ask that question.
On text channels (Signal/WhatsApp/iMessage/SMS): Reply with 1, 2, or 3.
Categories
Each generation produces 3 suggestions:
| Category | Emoji | Purpose |
|---|---|---|
| Quick | โก | Clarifications, definitions, immediate next steps |
| Deep Dive | ๐ง | Technical depth, advanced concepts, thorough exploration |
| Related | ๐ | Connected topics, broader context, alternatives |
Authentication
Default: Uses OpenClaw's existing auth โ same login and model as your current chat.
Optional providers:
openrouterโ RequiresOPENROUTER_API_KEYanthropicโ RequiresANTHROPIC_API_KEY
Configuration
{
"skills": {
"smart-followups": {
"enabled": true,
"provider": "openclaw",
"model": null
}
}
}
| Option | Default | Description |
|---|---|---|
provider |
"openclaw" |
Auth provider: openclaw, openrouter, anthropic |
model |
null |
Model override (null = inherit from session) |
apiKey |
โ | API key for non-openclaw providers |
Channel Support
| Channel | Mode | Interaction |
|---|---|---|
| Telegram | Buttons | Tap to ask |
| Discord | Buttons | Click to ask |
| Slack | Buttons | Click to ask |
| Signal | Text | Reply 1-3 |
| Text | Reply 1-3 | |
| iMessage | Text | Reply 1-3 |
| SMS | Text | Reply 1-3 |
| Matrix | Text | Reply 1-3 |
| Text | Reply with number |
See CHANNELS.md for detailed channel documentation.
How It Works
- User types
/followups - Handler captures recent conversation context
- OpenClaw generates 3 contextual questions (using current model/auth)
- Formatted as buttons or text based on channel
- User clicks button or replies with number
- OpenClaw answers that question
Files
| File | Purpose |
|---|---|
handler.js |
Command handler and channel formatting |
cli/followups-cli.js |
Standalone CLI for testing/scripting |
README.md |
Full documentation |
CHANNELS.md |
Channel-specific guide |
FAQ.md |
Common questions |
Credits
Inspired by Chameleon AI Chat's smart follow-up feature.