Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

btw-command顺便说一句命令

Agent Skill

btw-command 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,942

周安装

119

GitHub Stars

公开资料未说明

下载量

923
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:btw-command(顺便说一句命令)
来源仓库:https://github.com/kennyzir/btw-command
安装命令:
openclaw skills install btw-command
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install btw-command

简介

btw-command 用于在代理流程中提出澄清问题,保持任务连续性而不中断执行。

  • 适合需要用户补充信息但又不希望暂停工作的场景,如部署决策或代码审查。
  • 安装后可在关键节点自动发起询问,收集必要输入再继续后续步骤。
  • 使用时需注意提问时机,避免频繁打断影响整体效率。
  • 依赖用户及时响应,不适合紧急或高时效性任务。

SKILL.md

name
btw Command
slug
btw
description
>
category
Agent Tools
tags
["agent-workflow", "questions", "non-blocking", "clarification", "user-input"]
price_per_call
0
input_schema
type
object
properties
question
type
string
description
The question to ask the user
options
type
array
items
type
string
description
Available answer options (optional)
default
type
string
description
Default answer if timeout occurs
timeout
type
number
description
Timeout in seconds (default: 300)
priority
type
string
enum
["urgent", "normal", "low"]
description
Question priority level
context
type
object
description
Additional context for the question
required
["question"]
output_schema
type
object
properties
answer
type
string
description
User's answer or default if timeout
answered_at
type
string
description
ISO timestamp of answer
timed_out
type
boolean
description
Whether the question timed out
response_time_ms
type
number
description
Time taken to answer in milliseconds

btw Command

Local skill by Claw0x — runs entirely in your OpenClaw agent.

Runs locally. No external API calls, no API key required. Complete privacy.

What It Does

The btw Command skill allows AI agents to ask clarifying questions without halting their main workflow. Questions are queued, users are notified via multiple channels, and if no answer is received within the timeout period, a default answer is used automatically.

Think of it as "by the way, I need to know..." — the agent continues working while waiting for your input.

Quick Reference

When This HappensDo ThisWhat You Get
Need deployment confirmationAsk "Deploy to staging or production?"Non-blocking answer with default
Code review decisionAsk "Refactor this complex function?"User choice without workflow halt
Data validationAsk "Found duplicates, merge or keep?"Timeout-safe decision
Security checkAsk "API key expiring, rotate now?"Priority-based notification

5-Minute Quickstart

Step 1: Install (30 seconds)

openclaw skill add btw

Step 2: Ask Your First Question (1 minute)

const result = await agent.run('btw', {
  question: 'Deploy to staging or production?',
  options: ['staging', 'production'],
  default: 'staging',
  timeout: 300,
  priority: 'urgent'
});

console.log(result.answer); // 'production' or 'staging' (default)

Step 3: Handle the Answer (instant)

if (result.timed_out) {
  console.log(`Used default: ${result.answer}`);
} else {
  console.log(`User chose: ${result.answer} in ${result.response_time_ms}ms`);
}

Real-World Use Cases

Scenario 1: Deployment Automation

Problem: Agent needs to deploy but unsure which environment Solution: Ask non-blocking question with timeout Example:

const { answer } = await btw({
  question: 'Tests passed! Deploy to which environment?',
  options: ['staging', 'production', 'skip'],
  default: 'staging',
  timeout: 600, // 10 minutes
  priority: 'urgent'
});

if (answer === 'production') {
  await deployToProduction();
} else if (answer === 'staging') {
  await deployToStaging();
}

Scenario 2: Code Review Decisions

Problem: Agent finds complex code, unsure if refactoring is needed Solution: Ask for human judgment without blocking Example:

const { answer } = await btw({
  question: 'Function `processData` has 150 lines. Refactor?',
  options: ['yes', 'no', 'later'],
  default: 'later',
  timeout: 300,
  priority: 'normal',
  context: {
    file: 'src/utils/data.ts',
    lines: 150,
    complexity: 'high'
  }
});

Scenario 3: Data Validation

Problem: Agent finds duplicate records, needs merge strategy Solution: Ask with context and smart default Example:

const { answer } = await btw({
  question: 'Found 5 duplicate users. How to handle?',
  options: ['merge', 'keep-all', 'keep-newest'],
  default: 'keep-newest',
  timeout: 180,
  priority: 'normal',
  context: {
    duplicates: 5,
    table: 'users',
    criteria: 'email'
  }
});

Scenario 4: Security Checks

Problem: API key expiring soon, needs rotation decision Solution: High-priority question with short timeout Example:

const { answer } = await btw({
  question: 'API key expires in 2 days. Rotate now?',
  options: ['yes', 'no', 'remind-tomorrow'],
  default: 'remind-tomorrow',
  timeout: 60,
  priority: 'urgent',
  context: {
    key_name: 'STRIPE_API_KEY',
    expires_at: '2026-03-29'
  }
});

Integration Recipes

OpenClaw Agent

agent.onTask(async (task) => {
  // Ask question without blocking
  const { answer } = await agent.run('btw', {
    question: 'Approve this change?',
    options: ['yes', 'no'],
    default: 'no',
    timeout: 300
  });
  
  if (answer === 'yes') {
    await task.execute();
  }
});

LangChain Agent

def ask_user(question, options, default, timeout=300):
    # Use btw skill locally
    result = agent.run('btw', {
        'question': question,
        'options': options,
        'default': default,
        'timeout': timeout
    })
    return result['answer']

# Use in agent
answer = ask_user(
    'Deploy to production?',
    ['yes', 'no'],
    'no',
    timeout=600
)

Custom Agent

// Local btw implementation
async function askBtw(question, options, defaultAnswer) {
  const result = await agent.run('btw', {
    question,
    options,
    default: defaultAnswer,
    timeout: 300
  });
  
  return result.answer;
}

Workflow Diagram

Agent Workflow
     │
     ├─ Main Task (continues)
     │
     └─ btw Question
          ├─ Queue Question
          ├─ Notify User (Web/Mobile/Slack)
          │
          ├─ User Answers → Return Answer
          │
          └─ Timeout → Return Default

Why Use Via Claw0x?

  • Zero configuration: No API keys, no setup
  • Complete privacy: Runs entirely locally
  • Offline capable: Works without internet
  • Unlimited usage: No rate limits or quotas
  • Open source: Transparent implementation
  • Agent-native: Built for autonomous workflows

Prerequisites

None. Just install and use.

Input Parameters

ParameterTypeRequiredDefaultDescription
questionstringYes-The question to ask
optionsstring[]No-Available answer options
defaultstringNoFirst optionDefault if timeout
timeoutnumberNo300Timeout in seconds
prioritystringNo"normal"Priority: urgent/normal/low
contextobjectNo{}Additional context

Output Schema

FieldTypeDescription
answerstringUser's answer or default
answered_atstringISO timestamp
timed_outbooleanWhether timeout occurred
response_time_msnumberTime to answer

Error Codes

CodeMeaningSolution
400Invalid inputCheck question is non-empty
500Internal errorRetry or check logs

Pricing

Free. No API key required, no usage limits.

  • Runs entirely locally in your agent
  • No external API calls
  • Complete privacy
  • Unlimited questions

Rate Limits

None. Unlimited questions.

About Claw0x

Claw0x is the native skills layer for AI agents — providing unified API access, atomic billing, and quality control.

Explore more skills: claw0x.com/skills

GitHub: github.com/kennyzir/btw

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

93.71%
按下载量换算865

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills