open-index/open-npm huggingface dataset:
npm package: @lxlei/my-openclaw-plugin
Description: A custom OpenClaw plugin with tools and commands
Latest version: 1.0.2

# My OpenClaw Plugin

A custom OpenClaw plugin with tools and commands.

## Features

- **Greeting Tool**: Say hello in multiple languages
- **Calculator Tool**: Perform basic arithmetic operations
- **CLI Commands**: Custom diagnostic and status commands

## Installation

```bash
npm install
```

## Development

```bash
# Build the project
npm run build

# Watch for changes
npm run watch

# Run linter
npm run lint

# Fix linting issues
npm run lint:fix

# Format code
npm run format
```

## Usage

### As an OpenClaw Extension

Add to your `openclaw.config.js`:

```javascript
module.exports = {
  extensions: [
    './path/to/my-openclaw-plugin'
  ]
}
```

### Tools

#### greeting_sayHello

Say hello to someone in different languages.

**Parameters:**
- `name` (string): The name of the person to greet
- `language` (string, optional): Language code (en, zh, es, fr). Default: 'en'

#### calculator_calculate

Perform basic arithmetic calculations.

**Parameters:**
- `operation` (string): The operation to perform (add, subtract, multiply, divide)
- `a` (number): First number
- `b` (number): Second number

### CLI Commands

#### myplugin-status

Check plugin status:

```bash
openclaw myplugin-status
```

## Configuration

The plugin accepts the following configuration options:

```json
{
  "apiKey": "your-api-key",
  "endpoint": "https://api.example.com"
}
```

## License

MIT