搜索

PythonReactSEOPDF
OpenClaw

bring-add

Use when user wants to add items to Bring! shopping lists. For adding single items, batch items, or items from stdin/files. Supports dry-run preview and JSON output.

darkdevelopers0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install darkdevelopers/bring-add

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

Bring! Add Items CLI

Overview

CLI for adding items to Bring! shopping lists. Supports quick single-item mode, batch mode, stdin/pipe input, and interactive mode.

When to Use

Use this skill when:

  • User wants to add items to a Bring! shopping list
  • Adding single item with optional specification (e.g., "Milk 1L")
  • Adding multiple items at once (batch mode)
  • Piping items from a file or other command
  • Need to preview additions with dry-run
  • Need JSON output for scripting

Don't use when:

  • User wants to browse recipes (use bring-recipes instead)
  • User wants to remove items from a list
  • User wants to view current list contents

Quick Reference

Command Purpose
bring-add "Item" "spec" Add single item with specification
bring-add --batch "A, B 1L, C" Add multiple comma-separated items
bring-add - Read items from stdin
bring-add Interactive mode (TTY only)
bring-add lists Show available shopping lists
bring-add --dry-run ... Preview without modifying

Environment variables:

export BRING_EMAIL="your@email.com"
export BRING_PASSWORD="yourpassword"
export BRING_DEFAULT_LIST="Shopping"  # optional

Installation

cd skills/bring-add
npm install

Common Workflows

Add a single item:

node index.js "Tomatoes" "500g"
node index.js "Milk"

Add to specific list:

node index.js --list "Party" "Chips" "3 bags"

Batch add multiple items:

node index.js --batch "Tomatoes 500g, Onions, Cheese 200g"

Pipe from file:

cat shopping-list.txt | node index.js -
echo -e "Milk 1L\nBread\nButter" | node index.js -

Preview before adding:

node index.js --dry-run --batch "Apples 1kg, Pears"

Get JSON output:

node index.js --json --batch "Milk, Bread" 2>/dev/null

List available lists:

node index.js lists
node index.js --json lists

Flags Reference

| Fl...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/darkdevelopers/bring-add
Version
—
Commit
066883aae943647d8dfe9e1aa3145f816c56c101
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

README

bring-add

Add items to Bring! shopping lists from the command line.

Installation

cd /path/to/node-bring-api/skills/bring-add
npm install

Quick Start

# Set credentials
export BRING_EMAIL="your@email.com"
export BRING_PASSWORD="yourpassword"
export BRING_DEFAULT_LIST="Shopping"  # optional

# Add a single item
node index.js "Tomatoes" "500g"

Usage

bring-add [global flags] [item] [spec]
bring-add [global flags] <subcommand>
Quick Mode (single item)
node index.js "Tomatoes" "500g"
node index.js "Milk"
node index.js --list "Party" "Chips" "3 bags"
Batch Mode (multiple items)
node index.js --batch "Tomatoes 500g, Onions, Cheese 200g"
Stdin Mode
echo -e "Milk 1L\nBread\nButter" | node index.js -
cat shopping-list.txt | node index.js -
Interactive Mode
node index.js

When stdin is a TTY and no arguments are provided, enters interactive mode:

Adding to list: Shopping

Enter items (empty line to finish):
> Tomatoes 500g
> Onions
> Cheese 200g
>

Added 3 items to "Shopping"
List Shopping Lists
node index.js lists
node index.js -v lists          # show UUIDs
node index.js --json lists      # JSON output

Global Flags

Flag Description
-h, --help Show help and exit
-V, --version Print version and exit
-l, --list <name> Target list (name or UUID)
-b, --batch <items> Comma-separated items
-n, --dry-run Preview without modifying
-q, --quiet Suppress non-error output
-v, --verbose Show detailed progress
--json Output JSON to stdout
--no-color Disable colors
--no-input Never prompt; fail if input required

Environment Variables

Variable Required Description
BRING_EMAIL Yes Bring! account email
BRING_PASSWORD Yes Bring! account password
BRING_DEFAULT_LIST...

来源内容

SKILL.md
# Bring! Add Items CLI

## Overview

CLI for adding items to Bring! shopping lists. Supports quick single-item mode, batch mode, stdin/pipe input, and interactive mode.

## When to Use

**Use this skill when:**
- User wants to add items to a Bring! shopping list
- Adding single item with optional specification (e.g., "Milk 1L")
- Adding multiple items at once (batch mode)
- Piping items from a file or other command
- Need to preview additions with dry-run
- Need JSON output for scripting

**Don't use when:**
- User wants to browse recipes (use bring-recipes instead)
- User wants to remove items from a list
- User wants to view current list contents

## Quick Reference

| Command | Purpose |
|---------|---------|
| `bring-add "Item" "spec"` | Add single item with specification |
| `bring-add --batch "A, B 1L, C"` | Add multiple comma-separated items |
| `bring-add -` | Read items from stdin |
| `bring-add` | Interactive mode (TTY only) |
| `bring-add lists` | Show available shopping lists |
| `bring-add --dry-run ...` | Preview without modifying |

**Environment variables:**
```bash
export BRING_EMAIL="your@email.com"
export BRING_PASSWORD="yourpassword"
export BRING_DEFAULT_LIST="Shopping"  # optional
```

## Installation

```bash
cd skills/bring-add
npm install
```

## Common Workflows

**Add a single item:**
```bash
node index.js "Tomatoes" "500g"
node index.js "Milk"
```

**Add to specific list:**
```bash
node index.js --list "Party" "Chips" "3 bags"
```

**Batch add multiple items:**
```bash
node index.js --batch "Tomatoes 500g, Onions, Cheese 200g"
```

**Pipe from file:**
```bash
cat shopping-list.txt | node index.js -
echo -e "Milk 1L\nBread\nButter" | node index.js -
```

**Preview before adding:**
```bash
node index.js --dry-run --batch "Apples 1kg, Pears"
```

**Get JSON output:**
```bash
node index.js --json --batch "Milk, Bread" 2>/dev/null
```

**List available lists:**
```bash
node index.js lists
node index.js --json lists
```

## Flags Reference

| Fl...
README
# bring-add

Add items to Bring! shopping lists from the command line.

## Installation

```bash
cd /path/to/node-bring-api/skills/bring-add
npm install
```

## Quick Start

```bash
# Set credentials
export BRING_EMAIL="your@email.com"
export BRING_PASSWORD="yourpassword"
export BRING_DEFAULT_LIST="Shopping"  # optional

# Add a single item
node index.js "Tomatoes" "500g"
```

## Usage

```
bring-add [global flags] [item] [spec]
bring-add [global flags] <subcommand>
```

### Quick Mode (single item)

```bash
node index.js "Tomatoes" "500g"
node index.js "Milk"
node index.js --list "Party" "Chips" "3 bags"
```

### Batch Mode (multiple items)

```bash
node index.js --batch "Tomatoes 500g, Onions, Cheese 200g"
```

### Stdin Mode

```bash
echo -e "Milk 1L\nBread\nButter" | node index.js -
cat shopping-list.txt | node index.js -
```

### Interactive Mode

```bash
node index.js
```

When stdin is a TTY and no arguments are provided, enters interactive mode:

```
Adding to list: Shopping

Enter items (empty line to finish):
> Tomatoes 500g
> Onions
> Cheese 200g
>

Added 3 items to "Shopping"
```

### List Shopping Lists

```bash
node index.js lists
node index.js -v lists          # show UUIDs
node index.js --json lists      # JSON output
```

## Global Flags

| Flag | Description |
|------|-------------|
| `-h, --help` | Show help and exit |
| `-V, --version` | Print version and exit |
| `-l, --list <name>` | Target list (name or UUID) |
| `-b, --batch <items>` | Comma-separated items |
| `-n, --dry-run` | Preview without modifying |
| `-q, --quiet` | Suppress non-error output |
| `-v, --verbose` | Show detailed progress |
| `--json` | Output JSON to stdout |
| `--no-color` | Disable colors |
| `--no-input` | Never prompt; fail if input required |

## Environment Variables

| Variable | Required | Description |
|----------|----------|-------------|
| `BRING_EMAIL` | Yes | Bring! account email |
| `BRING_PASSWORD` | Yes | Bring! account password |
| `BRING_DEFAULT_LIST`...

相关技能

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.