跳到正文
TakoAPI
返回技能列表

ii-irc

由 destructatron 提供

Calendar & Scheduling
1.6k下载量由 clawskills.sh 提供
1星标
0浏览量
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

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接