Group chat: respond only when @mentioned (configurable)
Configuration Options
Option
Default
Description
botToken
required
Bot token from BotFather
apiUrl
required
DMWork API URL
wsUrl
required
WuKongIM WebSocket URL
requireMention
true
Group chat: only respond when @mentioned
Features
Real-time WebSocket connection (no polling needed)
Mention gating for group chats
History context: unmentioned messages are prepended when bot is @mentioned
Multi-bot support: each bot token = one OpenClaw instance
Channel Types
1 = Direct Message (DM)
2 = Group Chat
Message Types (payload.type)
1 = Text
2 = Image
3 = GIF
4 = Voice
5 = Video
6 = Location
7 = Card
8 = File
1---2name: claude-code-dmwork3description: DMWork Bot Skill4---5# DMWork Bot Skill67Connect to DMWork messaging platform as an AI bot via the OpenClaw DMWork adapter plugin.89## Setup1011### 1. Install the DMWork plugin1213```bash14openclaw plugins install octo15```1617### 2. Get a Bot Token1819In DMWork, find **BotFather** in your contacts and send:201. `/newbot` — create a new bot212. Set bot name and username223. Copy the bot token (starts with `bf_`)2324### 3. Configure OpenClaw2526Add to your `openclaw.json`:2728```json29{30 "channels": {31 "dmwork": {32 "enabled": true,33 "botToken": "bf_your_token_here",34 "apiUrl": "http://your-dmwork-server:8090",35 "wsUrl": "ws://your-dmwork-server:5200"36 }37 }38}39```4041### 4. Restart OpenClaw4243```bash44openclaw gateway restart45```4647Your bot is now online and will:48- **Private chat**: respond to all messages49- **Group chat**: respond only when @mentioned (configurable)5051## Configuration Options5253| Option | Default | Description |54|--------|---------|-------------|55| `botToken` | required | Bot token from BotFather |56| `apiUrl` | required | DMWork API URL |57| `wsUrl` | required | WuKongIM WebSocket URL |58| `requireMention` | `true` | Group chat: only respond when @mentioned |5960## Features6162- Real-time WebSocket connection (no polling needed)63- Mention gating for group chats64- History context: unmentioned messages are prepended when bot is @mentioned65- Multi-bot support: each bot token = one OpenClaw instance6667## Channel Types68- 1 = Direct Message (DM)69- 2 = Group Chat7071## Message Types (payload.type)72- 1 = Text73- 2 = Image74- 3 = GIF75- 4 = Voice76- 5 = Video77- 6 = Location78- 7 = Card79- 8 = File
Run npx skillmds@latest add mininglamp-oss/claude-code-dmwork in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
DMWork Bot Skill It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
mininglamp-oss (@mininglamp-oss) published this skill. Their other Agent Skills are listed on their SkillMD profile.