helper
by official
General-purpose AI assistant for working with files
# helper
General-purpose AI assistant for working with files
## Installation
This is a CmdForge tool. Once published to the registry or installed locally, it can be used directly from the command line.
## Usage
The `helper` tool accepts input via stdin (pipe) and processes it through an AI provider with an optional custom prompt.
```bash
# Basic usage - get help with file content
cat myfile.txt | helper
# Custom prompt
echo "def fibonacci(n): pass" | helper --p "Complete this Python function"
# Process log files
tail -n 50 error.log | helper --p "Summarize these errors and suggest fixes"
# Explain code
cat script.py | helper --p "Explain what this code does"
# Get suggestions
echo "My app is slow when loading data" | helper --p "Suggest optimization strategies"
```
## Arguments
| Flag | Variable | Default | Description |
|------|----------|---------|-------------|
| `--p` | `prompt` | *(none)* | Custom prompt to guide the AI's response |
## How It Works
1. **AI Processing** (`step_1`): Sends the input and optional prompt to the `claude-haiku` provider, storing the response in `{response}`
2. **Output**: Returns `{response}`
The tool uses a single AI prompt step to process input flexibly based on your needs.
## Dependencies
None
Reviews
Login to reviewNo reviews yet.
Issues
No issues reported for this tool.
Write a Review
Share your experience with this tool.
0/2000
Report an Issue
Help improve this tool by reporting bugs or security issues.