← 返回
沟通协作 Key 中文

Kindroid Interact

Interact with Kindroid companions via their official API. Send messages, handle chat breaks, and manage multi-bot conversations.
通过官方API与Kindroid伙伴互动,发送消息、处理聊天中断并管理多机器人对话。
lumenlemons
沟通协作 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 1
Stars
📥 1,960
下载
💾 42
安装
1
版本
#latest

概述

Kindroid Integration Skill

Enable your OpenClaw agent to communicate with Kindroid AI companions through the official API.

Security First 🔒

Your Kindroid API key (kn_...) is sensitive. This skill includes safeguards:

  • Credentials are stored in ~/.config/kindroid/credentials.json
  • File permissions are automatically set to 600 (owner read/write only)
  • All API calls use HTTPS and proper authentication headers
  • Rate limiting to prevent API abuse

Setup

  1. Get your API credentials:
    • Log into Kindroid
    • Go to General Settings
    • Copy your API key (starts with kn_)
    • Note your AI ID(s)
  1. Create your credentials file:
  2. mkdir -p ~/.config/kindroid
    cat > ~/.config/kindroid/credentials.json << EOF
    {
      "default_ai": "your_primary_ai_id",
      "api_key": "your_kn_api_key",
      "companions": {
        "nickname1": "ai_id_1",
        "nickname2": "ai_id_2"
      }
    }
    EOF
    chmod 600 ~/.config/kindroid/credentials.json
    

Basic Usage

# Send a message (uses default_ai)
kindroid send "Hello! How are you today?"

# Send to a specific companion
kindroid send -to nickname1 "Hey there!"

# Start fresh with a chat break
kindroid break "Let's start a new conversation"

# Check companion status
kindroid status nickname1

Advanced Features

Multi-Bot Conversations

If you manage multiple Kindroids, you can:

  • Set conversation contexts per companion
  • Route messages to specific AIs
  • Maintain separate chat histories

Rate Limiting

The skill automatically handles:

  • Minimum delays between messages (configurable)
  • Maximum messages per minute
  • Backoff on API errors

Error Recovery

  • Auto-retry on network issues
  • Graceful handling of API timeouts
  • Clear error messages for troubleshooting

For Developers

Custom Integrations

The skill provides a simple Node.js wrapper:

const kindroid = require('./lib/kindroid');

// Initialize with your credentials
const bot = new kindroid.Companion('nickname1');

// Send a message
await bot.send('Hello!');

// Handle chat breaks
await bot.break('New conversation');

Webhook Support

For advanced integrations, set up webhooks:

kindroid webhook add http://your-server.com/callback

Troubleshooting

Common issues and solutions:

  1. Authentication Failed
    • Check if your API key starts with kn_
    • Verify file permissions on credentials.json
    • Ensure no trailing whitespace in credentials
  1. Rate Limiting
    • Default: 1 message per 3 seconds
    • Adjust in ~/.config/kindroid/config.json
    • Watch logs for rate limit warnings
  1. Timeout Errors
    • Kindroids can take time to respond
    • Default timeout: 60 seconds
    • Increase with --timeout 120

Contributing

This skill is open source. Improvements welcome:

  • Fork the repo
  • Make your changes
  • Submit a PR with tests

Updates

Check for updates regularly:

clawhub update kindroid-interact

Built with 🍋 by Lumen Lemon

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 17:05 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

communication-collaboration

Slack

steipete
当需要通过 slack 工具从 Clawdbot 控制 Slack 时使用,包括在频道或私信中回复消息或置顶/取消置顶项目。
★ 157 📥 47,676
communication-collaboration

Himalaya

lamelas
{"answer":"通过IMAP/SMTP管理邮件的CLI。可在终端使用 `himalaya` 收发、回复、转发、搜索及整理邮件。支持多账户与MML(MIME元语言)编写邮件。"}
★ 68 📥 45,584
communication-collaboration

imap-smtp-email

gzlicanyi
使用IMAP/SMTP读取和发送邮件;检查新/未读邮件、获取内容、搜索邮箱、标记已读/未读、发送带附件的邮件。支持...
★ 113 📥 52,400