编程

smart-followups

试用

在任意 AI 回复后,基于上下文生成三条追问建议:快速澄清、深入探索、相关话题。

它能做什么

在任何 AI 回复后,输入 /followups(或别名 /fu、/suggestions)即可获得三条贴合上下文的下一步问题:⚡ 快速澄清、🧠 深度技术探讨、 相关话题延伸。展示形式随渠道自动适配:Telegram、Discord、Slack 以按钮呈现,Signal、WhatsApp、iMessage、SMS、Matrix、Email 则以编号文本返回,回复对应数字即可继续提问。默认复用当前对话的认证与模型;可在配置中切换至 openrouter 或 anthropic,并提供对应 API Key。

什么时候用它

  • 学习对话中一时想不到下一步该问什么
  • 在初步解释之后,围绕某点做更深入的技术探讨
  • 由当前话题延伸,发现相关或邻近的方向
  • 让群聊或客服对话保持推进,避免冷场

技能文档

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:

  1. Quick — Clarification or immediate next step
  2. 🧠 Deep Dive — Technical depth or detailed exploration
  3. 🔗 Related — Connected topic or broader context

How to Trigger

MethodExampleRecommended
/followupsJust type it!✅ Yes
/fuShort 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:

CategoryEmojiPurpose
QuickClarifications, 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 — Requires OPENROUTER_API_KEY
  • anthropic — Requires ANTHROPIC_API_KEY

Configuration

{
  "skills": {
    "smart-followups": {
      "enabled": true,
      "provider": "openclaw",
      "model": null
    }
  }
}
OptionDefaultDescription
provider"openclaw"Auth provider: openclaw, openrouter, anthropic
modelnullModel override (null = inherit from session)
apiKeyAPI key for non-openclaw providers

Channel Support

ChannelModeInteraction
TelegramButtonsTap to ask
DiscordButtonsClick to ask
SlackButtonsClick to ask
SignalTextReply 1-3
WhatsAppTextReply 1-3
iMessageTextReply 1-3
SMSTextReply 1-3
MatrixTextReply 1-3
EmailTextReply with number

See CHANNELS.md for detailed channel documentation.

How It Works

  1. User types /followups
  2. Handler captures recent conversation context
  3. OpenClaw generates 3 contextual questions (using current model/auth)
  4. Formatted as buttons or text based on channel
  5. User clicks button or replies with number
  6. OpenClaw answers that question

Files

FilePurpose
handler.jsCommand handler and channel formatting
cli/followups-cli.jsStandalone CLI for testing/scripting
README.mdFull documentation
CHANNELS.mdChannel-specific guide
FAQ.mdCommon questions

Credits

Inspired by Chameleon AI Chat's smart follow-up feature.

相关技能

Smartlead (smartlead.ai). Use this skill for ANY Smartlead request — searching and reading data. Whenever a task involves Smartlead, use this skill instead o...

1 次安装

汇总过去 30 天 Reddit、X、YouTube 和网页上关于某个话题的真实讨论。

110 次安装

Interview the user with sharp, one-at-a-time questions to turn a vague request into a tight, complete brief any other skill can run on. Use when a request is...

Your Socratic learning companion for deep understanding of CS and AI technologies. Invoke when user wants to truly understand a topic, deconstruct a project, or build genuine knowledge instead of getting quick answers.

1 次安装

Search the web for a topic and produce a structured summary with key findings, sources, and actionable takeaways. Best for quick research briefs, competitive landscape scans, and topic overviews.

1 次安装