تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

ii-irc

بواسطة destructatron

Calendar & Scheduling
1.6kالتنزيلات وفق ما يذكره clawskills.sh
1النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Persistent IRC presence using ii (minimalist file-based IRC client)

الوصف

ما الذي تفعله هذه المهارة

ii is a minimalist IRC client that maps channels to plain files. This skill connects an AI agent to IRC by monitoring those files for mentions and writing responses to a FIFO. Covers ii installation, watcher script setup, systemd services, and message sending.

File-based I/O means no IRC library dependencies and no polling — the watcher uses tail -F for instant, zero-overhead mention detection.

متى تستخدمها

  • Running an AI bot in a team IRC channel
  • Getting notified when someone mentions your bot nick
  • Sending automated status updates to an IRC channel
  • Logging all channel activity to a plain text file
  • Integrating an AI agent with legacy IRC infrastructure

مثال على سير العمل

الإدخال

User asks: set up OpenClaw to respond to IRC mentions in #dev on irc.libera.chat

الوكيل
  1. 1

    Install ii via package manager or build from source

  2. 2

    Run setup.sh with server, port, nick, and channel arguments to generate irc.sh and watch-daemon.sh

  3. 3

    Create and enable irc-bot.service and irc-watcher.service as systemd user units

  4. 4

    Verify connection with pgrep and check the out file with tail -n 5

  5. 5

    Confirm mention detection by sending a test message containing the bot nick

الإخراج

Agent is live on IRC, wakes on mention, and responds by writing to the channel FIFO

المتطلبات

  • ii binary (install via pacman, apt, or build from source)

التثبيت

clawhub install destructatron/ii-irc

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط