Agent skill · software engineering · aradotso
openilink-hub-wechat-bot
openilink-hub-wechat-bot — an agent skill for coding agents.
Why this skill is useful
Provides specific commands and configurations for deploying and managing WeChat bots using the iLink protocol that the AI wouldn't reliably generate on its own.
What it needs
Requires docker, git, pnpm installed locally. About 6k tokens when loaded. Last updated 2026-07-09. 70 stars on the source repository.
What this skill does
bash curl -fsSL https://raw.githubusercontent.com/openilink/openilink-hub/main/install.sh sh oih bash docker run -d -p 9800:9800 ghcr.io/openilink/openilink-hub:latest yaml docker-compose.yml services: postgres: image: postgres:17-alpine environment: POSTGRESUSER: openilink POSTGRESPASSWORD: ${POSTGRESPASSWORD} POSTGRESDB: openilink volumes: pgdata:/var/lib/postgresql/data hub: image: ghcr.io/openilink/openilink-hub:latest ports: "9800:9800" environment: DATABASEURL: postgres://openilink:${POSTGRESPASSWORD}@postgres:5432/openilink?sslmode=disable RPORIGIN: https://hub.example.com RPID: hub.example.com SECRET: ${HUBSECRET} dependson: postgres volumes: pgdata: bash docker compose up -d bash git clone https://github.com/openilink/openilink-hub.git cd openilink-hub cd web && pnpm install && pnpm run build && cd .. go build -o oih . ./oih bash go get github.com/openilink/openilink-sdk-go go package main import ( "context" "fmt" "log" openilink "github.com/openilink/openilink-sdk-go" ) func main() { client := openilink.NewClient(openilink.Config{ HubURL: "http://localhost:9800", Token: os.Getenv("OPENILINKTOKEN"), }) // Listen for incoming messages via WebSocket err := client.OnMessage(context.Background(), func(msg openilink.Message) error { fmt.Printf("[%s] %s: %s\n", msg.BotID, msg.Sender, msg.Content) // Reply to the message return client.SendText(context.Background(), &openilink.SendTextRequest{ BotID: msg.BotID, ToUserID: msg.Sender, Content: "收到你的消息: " + msg.Content, }) }) if err != nil { log.Fatal(err) } } bash npm install @openilink/openilink-sdk-node javascript import { OpeniLinkClient } from '@openilink/openilink-sdk-node'; const client = new OpeniLinkClient({ hubUrl: 'http://localhost:9800', token: process.env.OPENILINKTOKEN, }); // Subscribe to messages client.onMessage(async (msg) => { console.log([${msg.botId}] ${msg.sender}: ${msg.content}); // Send a reply await client.sendText({ botId: msg.botId, toUserId: msg.sender, content: Echo: ${msg.content}, }); } …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aradotso/openilink-hub-wechat-bot