← 返回 Skills 市场
drumrobot

Next Action

作者 es6kr · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
100
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install next-action
功能描述
Suggest next actions after completing any task. Use automatically when a task is finished to recommend 2-3 logical follow-up actions the user might want to t...
使用说明 (SKILL.md)

Next Action Suggester

After task completion, use AskUserQuestion to suggest next steps and get user selection.

When to use

Automatically use after any task completion:

  • Code writing/modification complete
  • Configuration changes complete
  • File creation complete
  • Commit/push complete
  • Skill/agent creation complete
  • Bug fix complete

Instructions

Step 1: Identify completed task type

Identify the type of task just completed.

Step 2: Use AskUserQuestion tool

Present next step options via AskUserQuestion:

AskUserQuestion({
  questions: [{
    question: "What would you like to do next?",
    header: "Next Action",
    multiSelect: true
    options: [
      { label: "Option 1", description: "Description" },
      { label: "Option 2", description: "Description" }
    ]
  }]
})

Step 3: Execute selected action

Immediately perform the action(s) user selected.

Suggestion Patterns

After code writing/modification

options: [
  { label: "Run tests", description: "Verify changes with test suite" },
  { label: "Commit", description: "Git commit the changes" }
]

After feature implementation

multiSelect: true,
options: [
  { label: "Write tests", description: "Add tests for new feature" },
  { label: "Document", description: "Update README or JSDoc" },
  { label: "Commit", description: "Git commit the changes" }
]

After bug fix

multiSelect: true,
options: [
  { label: "Add regression test", description: "Prevent bug recurrence" },
  { label: "Commit", description: "Git commit the fix" },
  { label: "Close issue", description: "Close related issue" }
]

After configuration change

options: [
  { label: "Verify", description: "Source or restart to apply settings" },
  { label: "Backup", description: "Backup config file" }
]

After commit

options: [
  { label: "Push", description: "Git push to remote" },
  { label: "Create PR", description: "Create Pull Request" }
]

After push

options: [
  { label: "Create PR", description: "Create Pull Request" },
  { label: "Check CI", description: "Verify pipeline status" }
]

After skill/agent creation

options: [
  { label: "Test", description: "Verify activation with trigger keywords" },
  { label: "Review integration", description: "Check for duplicates" }
]

After file creation

options: [
  { label: "Review content", description: "Verify created file" },
  { label: "Git add", description: "Stage with git add" }
]

After refactoring

multiSelect: true,
options: [
  { label: "Run tests", description: "Verify existing tests pass" },
  { label: "Check performance", description: "Run benchmarks (if applicable)" },
  { label: "Commit", description: "Commit refactoring" }
]

After complex workflow completion

multiSelect: true,
options: [
  { label: "Agentify", description: "Convert this workflow to an agent/skill" },
  { label: "Serena memory", description: "Save key learnings to Serena memory" }
]

After project exploration/research

multiSelect: true,
options: [
  { label: "Serena memory", description: "Store findings in project memory" },
  { label: "Document", description: "Update project documentation" }
]

Rules

  1. Always 2-4 options - AskUserQuestion limitation
  2. Be specific - "Run npm test" instead of just "Test"
  3. Context-based - Adjust based on project/situation
  4. Use multiSelect - When multiple actions can be done together
  5. Execute immediately - Perform action(s) right after user selection
安全使用建议
Install this if you want the agent to suggest follow-up actions after tasks. Before selecting an option, check whether it will publish, push, commit, close an issue, create a PR, restart something, or save information to memory.
功能分析
Type: OpenClaw Skill Name: next-action Version: 1.0.0 The 'next-action' skill is a workflow utility designed to suggest logical follow-up steps (e.g., git commits, running tests, or documentation updates) after a task is completed. It uses the standard 'AskUserQuestion' tool to prompt the user for input and contains no evidence of data exfiltration, malicious execution, or unauthorized persistence. The instructions in SKILL.md are well-aligned with its stated purpose and do not attempt to bypass agent constraints.
能力评估
Purpose & Capability
The stated purpose matches the artifact: it suggests next actions after completed work. Some suggested next actions can affect repositories, issue trackers, or persistent project memory if the user selects them.
Instruction Scope
The skill is designed to run automatically after any task completion and to continue the workflow through AskUserQuestion. This is disclosed, but users should expect extra prompts after tasks.
Install Mechanism
No install spec, binaries, environment variables, credentials, or code files are present; this is an instruction-only skill.
Credentials
The skill itself requests no environment access, but its recommended follow-up actions may lead the agent to use project tools such as git, CI, PR creation, or issue closure after user selection.
Persistence & Privilege
The skill does not create its own persistence or request privileges, but it includes optional suggestions to store findings in project memory.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install next-action
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /next-action 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: automatically suggests next actions after any task completion. - Presents 2–3 logical follow-up steps via interactive options after tasks like code changes, commits, or file creations. - Uses `AskUserQuestion` to let users select next steps, supporting multi-select when appropriate. - Includes built-in suggestion patterns for common developer workflows (e.g., after bug fixes, configuration changes, feature implementation). - Executes user-selected actions immediately for a streamlined workflow.
元数据
Slug next-action
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Next Action 是什么?

Suggest next actions after completing any task. Use automatically when a task is finished to recommend 2-3 logical follow-up actions the user might want to t... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 100 次。

如何安装 Next Action?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install next-action」即可一键安装,无需额外配置。

Next Action 是免费的吗?

是的,Next Action 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Next Action 支持哪些平台?

Next Action 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Next Action?

由 es6kr(@drumrobot)开发并维护,当前版本 v1.0.0。

💬 留言讨论