/install yes-tool
Yes Tool — Automatic Response Generator
Repeatedly output a string (default: "y") to automatically confirm prompts, fill form inputs, and generate repeated text for testing and automation. Essential for unattended script execution and batch processing.
Quick Start
# Automatically confirm all prompts
yes-tool | apt-get install -y package-name
# Use a custom response
yes-tool "I agree to the terms" | setup-script.sh
Usage
yes-tool [STRING] [OPTIONS]
yes-tool [OPTIONS] # Default: outputs "y"
Options:
--count N Stop after N repetitions
--lines N Alias for --count (output N lines)
--sleep SEC Add delay between outputs (rate limiting)
--newline Include newline after each output (default)
--no-newline No trailing newline (contiguous output)
--hex HEXBYTES Output repeated hex bytes
--json Output as JSON stream
Examples
# Default usage (outputs "y" forever until pipe closes)
yes-tool | rm -rf dir/*
# Custom response for unattended install
yes-tool "YESSIR" | ./configure
# Generate 10 lines of "test data"
yes-tool "test data" --count 10
# Rate-limited output (1 per second)
yes-tool "keepalive" --sleep 1 | nc server 8080
# Output hex bytes instead of text
yes-tool --hex "00FF"
# No newline (continuous single line)
yes-tool "x" --no-newline --count 100
# JSON streaming output
yes-tool "hello" --count 5 --json
Features
- Default response — outputs "y" for automatic confirmation
- Custom string — repeat any text or character
- Count limit — stop after N repetitions
- Rate limiting — sleep between outputs
- Hex mode — output raw bytes
- No-newline mode — contiguous output stream
- JSON output — structured stream for pipeline testing
- Pipe-friendly — works with any stdin-consuming process
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install yes-tool - After installation, invoke the skill by name or use
/yes-tool - Provide required inputs per the skill's parameter spec and get structured output
What is Yes Tool?
Repeatedly output a string (or 'y' by default) for automated scripts, batch confirmation, and pipeline input generation. It is an AI Agent Skill for Claude Code / OpenClaw, with 96 downloads so far.
How do I install Yes Tool?
Run "/install yes-tool" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Yes Tool free?
Yes, Yes Tool is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Yes Tool support?
Yes Tool is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Yes Tool?
It is built and maintained by BIN (@dinghaibin); the current version is v1.0.0.