Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

ii-irc

bởi destructatron

Calendar & Scheduling
1.6kLượt tải do clawskills.sh công bố
1Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

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

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

AGENT
  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

ĐẦU RA

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

Yêu cầu

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

Cài đặt

clawhub install destructatron/ii-irc

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết