返回顶部
k

kindroid-interact

Interact with Kindroid companions via their official API. Send messages, handle chat breaks, and manage multi-bot conversations.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
1,689
下载量
1
收藏
概述
安装方式
版本历史

kindroid-interact

# 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) 2. Create your credentials file: ```bash 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 ```bash # 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: ```javascript 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: ```bash 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 2. **Rate Limiting** - Default: 1 message per 3 seconds - Adjust in `~/.config/kindroid/config.json` - Watch logs for rate limit warnings 3. **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: ```bash clawhub update kindroid-interact ``` --- Built with 🍋 by Lumen Lemon

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 kindroid-interact-1776372303 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 kindroid-interact-1776372303 技能

通过命令行安装

skillhub install kindroid-interact-1776372303

下载 Zip 包

⬇ 下载 kindroid-interact v1.0.0

文件大小: 5.97 KB | 发布时间: 2026-4-17 16:16

v1.0.0 最新 2026-4-17 16:16
Interact with Kindroid AI companions via the official API. Send messages, initiate chat breaks, and manage conversations across multiple bots with built-in rate limiting and robust error handling

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部