smart-followups
Generate contextual follow-up suggestions after AI responses. Shows 3 clickable buttons (Quick, Deep Dive, Related) when user types "/followups".
- License 许可
- MIT
- 最近更新
- 2026-04-05
- Stars
- ★ 7
- Forks
- 1
01 前言 Front Matter
- name
- smart-followups
- version
- 2.1.2
- channels
- [ "telegram", "discord", "slack", "signal", "whatsapp", "imessage", "sms", "matrix", "email" ]
- commands
- [ { "name": "followups", "aliases": [ "fu", "suggestions", "next" ], "description": "Generate 3 smart follow-up suggestions based on conversation context" } ]
- metadata
- { "clawdbot": { "requires": { "env": [ "OPENROUTER_API_KEY", "ANTHROPIC_API_KEY" ], "bins": [ "node" ] } } }
- triggers
- [ "/followups", "followups", "follow-ups", "suggestions", "give me suggestions", "what should I ask" ]
- description
- Generate contextual follow-up suggestions after AI responses. Shows 3 clickable buttons (Quick, Deep Dive, Related) when user types "/followups".
02 资源文件 19
- 参考文档_meta.json1.7 KB
- 参考文档BUILD_SUMMARY.md9.4 KB
- 参考文档CHANGELOG.md3.1 KB
- 参考文档CHANNELS.md7.2 KB
- 脚本cli/followups-cli.js10.7 KB
- 参考文档CONTRIBUTING.md7.1 KB
- 参考文档DEPLOYMENT.md10.2 KB
- 参考文档examples.md9.8 KB
- 参考文档FAQ.md6.3 KB
- 脚本handler.js7.0 KB
- 参考文档INTERNAL.md6.8 KB
- 参考文档package.json2.3 KB
- 参考文档PROJECT_INDEX.md7.4 KB
- 参考文档QUICKSTART.md3.3 KB
- 参考文档README.md8.3 KB
- 参考文档test-example.json804 B
- 脚本test.sh1.2 KB
- 参考文档UPDATE_SUMMARY.md7.7 KB
- 脚本verify.sh4.5 KB
03 SKILL.md 正文
Smart Follow-ups Skill
Generate contextual follow-up suggestions for OpenClaw conversations.
? Slash Command (New in v2.1.0!)
Primary command:
/followups
Aliases:
/fu
/suggestions
When you type /followups, I'll generate 3 contextual follow-up questions based on our conversation:
- ⚡ Quick — Clarification or immediate next step
- ? Deep Dive — Technical depth or detailed exploration
- ? Related — Connected topic or broader context
How to Trigger
| Method | Example | Recommended |
|---|---|---|
/followups |
Just type it! | ✅ Yes |
/fu |
Short alias | ✅ Yes |
| Natural language | "give me suggestions" | Works too |
| After any answer | "what should I ask next?" | Works too |
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.
04 同仓库更多 Skills
zyfai
Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit/withdraw anytime.
zerion-api
暂无简介
zerion-api-skill
暂无简介
zerion-api-mcp
暂无简介
yahoo-finance-forex
Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR/USD, GBP/USD, USD/JPY, etc.). Analyzes sentiment and provides trading context.
yahoo-finance
This skill should be used when the user asks to "get stock prices", "check stock quotes", "look up earnings", "get financial data", "find trending stocks", or needs stock market data from Yahoo Finance.