ii-irc
由 destructatron 提供
Calendar & Scheduling简介
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
Install ii via package manager or build from source
- 2
Run setup.sh with server, port, nick, and channel arguments to generate irc.sh and watch-daemon.sh
- 3
Create and enable irc-bot.service and irc-watcher.service as systemd user units
- 4
Verify connection with pgrep and check the out file with tail -n 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运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。