Robby

smart-followups

AI 智能体v2.2.0
作者:Robby更新于 2026-08-31共 20 个版本 · 最新版本发布于 2026-08-31@clawhub_robbyczgw-cla/smart-followups
工作流编排提示词优化上下文管理

据 AlphaMoat 统计,截至 2026-10,smart-followups 累计下载 11,864 次、获 8 个星标,按累计下载量在本次参与排名的 10,914 个 AI 技能中排名第 2,313 位,在「AI 智能体」分类(1,632 个)中排名第 314 位。

列表默认按累计下载量排序,也可按星标排序;详情页排名按累计下载量计算。

累计下载
1.2万
星标
8
全站下载量排名
#2,313
全站前 22% · 「AI 智能体」前 20%
平台累计下载星标评论
ClawHub ↗6,0558-
SkillHub ↗1.2万8—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

指令包通过/smart-followups提供快速澄清、深挖和相关问题。按钮依赖渠道支持和代理自行构建,否则使用文字选项。通常复用会话模型;可选独立provider需要密钥并可能收到会话内容。

资料发布于 2026-10-27

可以用来做什么

  • 上下文相关的后续问题建议

什么时候用

  • 需要上下文相关的后续问题建议时。

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

针对这次回答,建议一个快速澄清、一个深挖和一个相关问题。

月度数据趋势

累计下载1.2万
4,7468,5691.2万2026-05 · 累计下载 5,2732026-06 · 累计下载 5,5312026-07 · 累计下载 5,7722026-08 · 累计下载 5,9262026-09 · 累计下载 6,7692026-10 · 累计下载 1.2万26-0526-0926-10
星标8
7892026-05 · 星标 82026-06 · 星标 82026-07 · 星标 82026-08 · 星标 82026-09 · 星标 82026-10 · 星标 826-0526-0926-10

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-101.2万—8
2026-096,769—8
2026-085,926+2.7%8
2026-075,772+4.4%8
2026-065,531+4.9%8
2026-055,273—8

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

4.2 KB · ClawHub v2.2.0
---
name: smart-followups
version: 2.2.0
description: Generate contextual follow-up suggestions after AI responses. Offers three next questions (Quick, Deep Dive, Related) when the user runs /smart-followups or asks for suggestions.
metadata:
  openclaw:
    requires:
      bins: ["node"]
    note: "No API keys needed. The slash command is /smart-followups, derived from the skill name."
---
展开全部(共 140 行)

# Smart Follow-ups Skill

Generate contextual follow-up suggestions for OpenClaw conversations.

## Slash Command

The command name is derived from the skill's `name` field:

```
/smart-followups
```

OpenClaw 2.0 registers no aliases (`/fu`, `/suggestions`, and `/next` do not work), and separate `commands:`, `triggers:`, or `channels:` frontmatter fields are ignored.

When you run `/smart-followups`, the skill generates 3 contextual follow-up questions based on the 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

| Method | Example |
|--------|---------|
| Slash command | `/smart-followups` |
| Natural language | "give me suggestions" |
| After any answer | "what should I ask next?" |

## Usage

Say "followups" in any conversation:

```
You: What is Docker?
Bot: Docker is a containerization platform...

You: /smart-followups

Bot: 💡 What would you like to explore next?
[⚡ How do I install Docker?]
[🧠 Explain container architecture]
[🔗 Docker vs Kubernetes?]
```

The skill produces the 3 suggestions. How they are rendered depends on the channel: the agent can show buttons only on channels that support interactive buttons, and only if it builds them there. Otherwise it posts a numbered text list — 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` — Requires `OPENROUTER_API_KEY`
- `anthropic` — Requires `ANTHROPIC_API_KEY`

## Configuration

```json
{
  "skills": {
    "entries": {
      "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

The skill generates the suggestions; the agent decides how to render them within each channel's capabilities.

| Channel | Rendering |
|---------|-----------|
| Telegram | Buttons possible (agent-built) |
| Discord | Buttons possible (agent-built) |
| Slack | Buttons possible (agent-built) |
| Signal | Numbered text |
| WhatsApp | Numbered text |
| iMessage | Numbered text |
| SMS | Numbered text |
| Matrix | Numbered text |
| Email | Numbered text |

See [CHANNELS.md](CHANNELS.md) for detailed channel documentation.

## How It Works

1. User runs `/smart-followups`
2. The agent gathers recent conversation context (OpenClaw does not load `handler.js`; skills are instruction packs)
3. The agent generates 3 contextual questions (using the current model/auth)
4. The agent renders them as buttons or as a numbered text list, depending on what the channel supports
5. User taps a button or replies with a number
6. OpenClaw answers that question

## Files

| File | Purpose |
|------|---------|
| `handler.js` | Formatting helper; OpenClaw does not load it as a command handler |
| `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](https://github.com/robbyczgw-cla/Chameleon-AI-Chat)'s smart follow-up feature.

「AI 智能体」分类下的热门技能

Robby 的其他技能

数据月份:2026-10 · 下载/星标数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。