Daberu banner
sile sile

Daberu

Development community

Description

A simple command-line tool for conversing with Claude

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

daberu

[![daberu](https://img.shields.io/crates/v/daberu.svg)](https://crates.io/crates/daberu) [![Actions Status](https://github.com/sile/daberu/workflows/CI/badge.svg)](https://github.com/sile/daberu/actions) ![License](https://img.shields.io/crates/l/daberu)

A simple command-line tool for conversing with Claude.

"daberu" is a Japanese translation of "chatting".

$ daberu -h
Claude client tool that reads your message from stdin and writes the response to stdout

Usage: daberu [OPTIONS]

Options:
      --version                    Print version
  -h, --help                       Print help ('--help' for full help, '-h' for summary)
  -x, --ext                        Enable extended subcommands
      --config-file          Path to configuration JSONC file [env: DABERU_CONFIG_FILE]
      --anthropic-api-key  Anthropic API key [env: ANTHROPIC_API_KEY]
  -l, --log                  Path to log file for saving the last conversation [env: DABERU_LOG_PATH]
  -c, --continue                   Continue conversation from the existing log file instead of truncating it
  -a, --enable-agents-md           Automatically load AGENTS.md or CLAUDE.md as a resource [env: DABERU_ENABLE_AGENTS_MD]
  -m, --model          Model name [env: DABERU_MODEL] [default: claude-sonnet-4-5]
  -s, --system             System message
  -r, --resource             File path to be used as a resource for the conversion
  -e, --shell-command     Shell command to be used as a resource for the conversion

Installation

$ cargo install daberu

$ export ANTHROPIC_API_KEY="YOUR API KEY"

Usage Examle

// Conversation without history.
$ echo hi | daberu
Hello! How can I assist you today?

// Conversation with history.
$ echo "Translate to Japanese: 'hi'" | daberu --log chat.log
こんにちは

$ echo "Next, translate to Spanish" | daberu --log chat.log
hola

$ jq . chat.log
[
  {
    "role":