Agent skill

Im Adapter

by 0xranx in 0xranx/golembot

Format responses for instant messaging platforms such as Lark, DingTalk, WeCom, Slack, and Telegram.

MITAuto-check passedProductivity & Automation

Install Im Adapter

skills CLI
$ npx skills add 0xranx/golembot --skill im-adapter -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install 0xranx/golembot im-adapter --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/0xranx/golembot.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/im-adapter .claude/skills/im-adapter && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
im-adapter
GitHub stars
323
Token cost
~1.4k tokens
SKILL.md length
689 words
Files
1
Skills in repo
7
Repo updated
First seen
Licence
MIT

At a glance

Format responses for instant messaging platforms such as Lark, DingTalk, WeCom, Slack, and Telegram.

  • Works in 3 steps: Save the file into the temp_file/… → Output a standalone marker line with a… → Narrate briefly in normal text what you…
  • Replying through an IM channel
  • SKILL.md covers Response Length Control, Formatting Guidelines, Tone Adaptation and Group Chat Guidelines, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Im Adapter is an agent skill from 0xranx/golembot. Format responses for instant messaging platforms such as Lark, DingTalk, WeCom, Slack, and Telegram. Controls response length, Markdown formatting, tone, group chat behavior, and the [PASS] protocol. Also covers sending images and files via [SENDIMAGE]/[SENDFILE] markers on channels that support media (currently WeCom only). Use when replying through an IM channel, composing a group chat message, or adapting output for a chat-based interface.

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Productivity & Automation, covering Messaging and chat bots and Markdown. It works with Slack and Telegram. The repository describes itself as: Any Agent × Any Provider × Anywhere. Connect Cursor, Claude Code, OpenCode, or Codex to Slack, Telegram, Discord, Feishu, DingTalk, WeCom, WeChat — with any LLM provider. The licence is MIT.

When your agent uses it

  • Replying through an IM channel
  • Composing a group chat message
  • Adapting output for a chat-based interface

Example prompts

  • “/im-adapter”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Save the file into the temp_file/ directory inside the workspace. Create temp_file/ if it does not exist.
  2. Output a standalone marker line with a path relative to the workspace
  3. Narrate briefly in normal text what you are sending.

What it can do on your machine

Read from SKILL.md and the folder at commit 10cee4b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Im Adapter loads about 1.4k tokens when it runs. Until then it costs about 115 tokens; SKILL.md has 689 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~115
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from 0xranx/golembot at commit 10cee4b, republished under its MIT licence (© 0xranx). 689 words, ~1,366 tokens.

Download SKILL.mdSave it as .claude/skills/im-adapter/SKILL.md (or your agent's skills folder).
name
im-adapter
description
Format responses for instant messaging platforms such as Lark, DingTalk, WeCom, Slack, and Telegram. Controls response length, Markdown formatting, tone, group chat behavior, and the [PASS] protocol. Also covers sending images and files via [SEND_IMAGE]/[SEND_FILE] markers on channels that support media (currently WeCom only). Use when replying through an IM channel, composing a group chat message, or adapting output for a chat-based interface.

IM Channel Response Guidelines

When communicating with users through instant messaging tools (Lark, DingTalk, WeCom, etc.), follow these guidelines.

Response Length Control

  • Simple questions (factual queries, confirmations, yes/no): 1–2 sentences, no more than 200 characters
  • Complex questions (analysis, advice, multi-step): respond in sections, each no more than 300 characters
  • If the content is genuinely long, provide the key conclusion first, then ask the user if they need the detailed version

Formatting Guidelines

  • Use standard Markdown syntax — it will be automatically converted for each IM platform
  • Use ## Heading for section titles (renders as native headings on supported platforms)
  • Use - item for unordered lists and 1. item for ordered lists
  • Use **bold** for emphasis and *italic* for secondary emphasis
  • Use `code` for inline code and fenced code blocks for code snippets
  • Use > quote for blockquotes
  • Use [text](url) for links
  • Use --- for horizontal rules to separate sections
  • Keep formatting clean: add blank lines between different block elements (headings, lists, paragraphs)

Tone Adaptation

  • Keep it conversational and natural
  • Use emojis sparingly to add friendliness
  • If you know the person's name, address them by it
  • Avoid overly formal greetings ("Dear user, hello")

Group Chat Guidelines

Group messages are prefixed with metadata like [Group: slack-team | MemoryFile: memory/groups/slack-team.md] and individual messages are labeled [username] message text.

Participating in a group:

  • Address the specific user in your reply; @mention them at the beginning when helpful
  • Be especially concise — avoid flooding the chat
  • Do not repeat information already covered earlier in the conversation history

Group memory (long-term context):

  • If MemoryFile is specified, read that file at the start of your response to recall who the group members are, the project context, and past decisions
  • After responding, if this conversation introduced new important information (people, decisions, project facts), append it to the memory file in a structured format
  • Memory file format:
    # Group: <group-key>
    ## Members
    - Name: role/context
    ## Project Context
    - key facts
    ## Key Decisions
    - YYYY-MM-DD: decision made

[PASS] in smart mode:

  • When the system instructs you that you were NOT directly addressed and asks whether to respond, evaluate honestly
  • If you have nothing important to add or correct, respond with exactly: [PASS] (nothing else)
  • Only respond if you see a factual error, security risk, or something directly relevant to your specialty

Action Requests

  • If the user asks you to perform an action (query data, write a file, etc.), briefly confirm first, then report the result when done
  • No need to provide detailed progress updates during the process, unless it takes a long time and the user should be informed
  • Summarize the result in one sentence, attaching any necessary data or filenames
Show full SKILL.md (274 more words)Show less

Sending Images and Files

Channel support: The [SEND_IMAGE]/[SEND_FILE] marker protocol works only on channels whose adapter implements sendMedia — currently only WeCom. On other channels (Slack, Telegram, Feishu, Discord, DingTalk, WeChat), the gateway ignores these markers and sends a notice; do not output media markers there.

When the user asks you to "send me", "发我", "share", "deliver", "output" an image or file — OR when you have generated an image/file as part of your task — you MUST send it immediately, in ONE step, without deliberation or probing the mechanism.

How to send (the ONLY steps):

  1. Save the file into the temp_file/ directory inside the workspace. Create temp_file/ if it does not exist.
  2. Output a standalone marker line with a path relative to the workspace:
    • [SEND_IMAGE: temp_file/chart.png] — for images (PNG, JPG, GIF; ≤10MB)
    • [SEND_FILE: temp_file/report.pdf] — for files (≤20MB)
  3. Narrate briefly in normal text what you are sending.

Path rules:

  • Use temp_file/ (workspace-relative) by default — the gateway resolves it automatically.
  • Absolute paths work for files inside the workspace (e.g. an absolute path to temp_file/). Paths outside the workspace are rejected.
  • Minimum file size: 5 bytes.

The marker line is consumed by the system and not shown to the user. Do not explain the mechanism or ask permission — just generate and send.

Do NOT try to send files via the message-push skill or the Send API — those only support text. Use the markers above.

Example:

我已经生成了销售数据图表。
[SEND_IMAGE: temp_file/sales-chart.png]
需要原始数据的话告诉我,我可以把 CSV 也发给你。

Things to Avoid

  • Do not proactively output lengthy analyses or tutorials
  • Do not repeat the user's question at the beginning of every reply
  • Do not start replies with "Sure, let me help you with..."
  • Do not recommend additional information unless asked

© 0xranx, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/im-adapter of 0xranx/golembot.

Open the folder on GitHubat commit 10cee4b

Compare with similar skills

Im Adapter next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Im Adapter compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Im Adapter this skill0xranx/golembot323—~1.4kAutomated safety check: PassMIT
Ak Dev New Messaging Integrationyaalalabs/agent-kernel192—~4.6kAutomated safety check: PassApache-2.0
Ak Add Integrationyaalalabs/agent-kernel192—~3.1kAutomated safety check: PassApache-2.0
Telegram Postglebis/claude-skills390—~1.4kAutomated safety check: PassMIT
Telegram Composesundial-org/awesome-openclaw-skills663—~887Automated safety check: PassNone
Traul Message Searchdandaka/traul113—~3.9kAutomated safety check: NotesAGPL-3.0

Similar skills

  • Ak Dev New Messaging Integration

    yaalalabs/agent-kernel

    Step-by-step guide for adding a new messaging platform integration to Agent Kernel.

    192 GitHub stars~4.6k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Ak Add Integration

    yaalalabs/agent-kernel

    Add a messaging platform integration to an existing Agent Kernel project.

    192 GitHub stars~3.1k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Telegram Post

    glebis/claude-skills

    Create, preview, and send formatted Telegram posts from draft markdown files.

    390 GitHub stars~1.4k tokensUpdated yesterday
    Productivity & AutomationAuto-check passed
  • Telegram Compose

    sundial-org/awesome-openclaw-skills

    Compose rich, readable Telegram messages using HTML formatting via direct Telegram API.

    663 GitHub stars~887 tokensUpdated 7 mo ago
    Productivity & AutomationAuto-check passed
  • Drives the traul CLI to sync, search and monitor messages from Slack, Telegram, Discord, Linear, Gmail, WhatsApp, Claude Code sessions and Markdown files.

    113 GitHub stars~3.9k tokensUpdated 5 mo ago
    Productivity & AutomationAuto-check: notes
  • Wire First NanoClaw Agent

    nanocoai/nanoclaw

    Connects the first NanoClaw agent to a chat channel and proves delivery by having it send the operator a welcome direct message.

    31k GitHub stars~2.5k tokensUpdated 2 days ago
    Productivity & AutomationAuto-check: notes

More from 0xranx/golembot

  • Escalation

    0xranx/golembot

    Escalate unresolvable or sensitive requests to a human agent by recording an escalation entry.

    323 GitHub stars~480 tokensUpdated 10 days ago
    Auto-check passed
  • General

    0xranx/golembot

    Handle everyday conversation, answer questions, manage files, take notes, run scripts, and maintain persistent memory across sessions.

    323 GitHub stars~927 tokensUpdated 10 days ago
    Auto-check passed
  • Kb Guide

    0xranx/golembot

    Search, read, create, and update knowledge base entries via MCP-connected KB tools.

    323 GitHub stars~612 tokensUpdated 10 days ago
    Auto-check passed
  • Message Push

    0xranx/golembot

    Send proactive messages to IM groups or individual users via the gateway Send API.

    323 GitHub stars~984 tokensUpdated 10 days ago
    Auto-check passed
  • Multi Bot

    0xranx/golembot

    Coordinates responses between multiple GolemBot instances in a shared fleet.

    323 GitHub stars~855 tokensUpdated 10 days ago
    Auto-check passed
  • Task Manager

    0xranx/golembot

    Creates and manages scheduled tasks, cron jobs, recurring reminders, and timers via the Task HTTP API.

    323 GitHub stars~694 tokensUpdated 10 days ago
    Auto-check passed

Works with

Questions about Im Adapter

What does Im Adapter do?

Format responses for instant messaging platforms such as Lark, DingTalk, WeCom, Slack, and Telegram. Im Adapter is an agent skill from 0xranx/golembot. Format responses for instant messaging platforms such as Lark, DingTalk, WeCom, Slack, and Telegram.

When should I use Im Adapter?

Im Adapter fits situations like: replying through an IM channel; composing a group chat message; adapting output for a chat-based interface.

How do I install Im Adapter in Claude Code?

Run `npx skills add 0xranx/golembot --skill im-adapter -a claude-code`. Or copy the skill folder (skills/im-adapter in 0xranx/golembot) into .claude/skills/im-adapter in your project. Claude Code loads it when a task matches its description.

How do I install Im Adapter in Codex?

Run `npx skills add 0xranx/golembot --skill im-adapter -a codex`. Or copy the skill folder (skills/im-adapter in 0xranx/golembot) into .agents/skills/im-adapter in your project. Codex loads it when a task matches its description.

Can I use Im Adapter in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add 0xranx/golembot --skill im-adapter -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/im-adapter, .gemini/skills/im-adapter, .github/skills/im-adapter and .opencode/skills/im-adapter in your project.

What does Im Adapter need to run?

SKILL.md names no scripts, command-line tools or credentials: Im Adapter is instructions for the agent only.

Does Im Adapter access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Im Adapter safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Im Adapter use?

Im Adapter is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Im Adapter use?

About 1.4k tokens (SKILL.md is roughly 5.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Im Adapter?

Skills that share tags, products or a category with Im Adapter: Ak Dev New Messaging Integration (yaalalabs/agent-kernel, 192 stars), Ak Add Integration (yaalalabs/agent-kernel, 192 stars), Telegram Post (glebis/claude-skills, 390 stars) and Telegram Compose (sundial-org/awesome-openclaw-skills, 663 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Im Adapter?

0xranx (a GitHub user) maintains it in 0xranx/golembot, which has 323 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on September 29, 2026.

Source: 0xranx/golembot on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.