Agent skill
im-adapter
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. Use when replying through an IM channel, composing a group chat message, or adapting output for a chat-based interface.
Install this agent skill to your Project
npx add-skill https://github.com/0xranx/golembot/tree/main/skills/im-adapter
SKILL.md
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
## Headingfor section titles (renders as native headings on supported platforms) - Use
- itemfor unordered lists and1. itemfor ordered lists - Use
**bold**for emphasis and*italic*for secondary emphasis - Use
`code`for inline code and fenced code blocks for code snippets - Use
> quotefor 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
MemoryFileis 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
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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
code-review
Reviews code changes, pull requests, and diffs for correctness, security, performance, and style. Use when the user submits a PR for review, asks to review a diff or code snippet, or requests a quality check on recent changes.
meeting
Meeting notes assistant — organizes transcripts into structured minutes, extracts action items, and tracks attendee decisions. Use when the user asks to summarize a meeting, take meeting notes, write up minutes, create a meeting recap, list attendees, or extract action items from a call.
ops
Content operations assistant — drafts blog posts, social media copy, and marketing materials, compiles data briefings, and tracks competitor activity. Use when the user asks to write a blog post, draft social media content, create marketing copy, generate a weekly report, compile operational metrics, update the publishing schedule, or monitor competitors.
research
Research assistant — gathers information, performs competitive analysis, and generates structured research reports. Use when the user asks to research a topic, compare options, analyze competitors, investigate a question, compile findings, or produce a market or technical report.
faq-support
Answers common customer questions from a knowledge base and escalates to a human agent when unable to help. Use when the user asks a frequently asked question, submits a support ticket or help desk request, or needs assistance with account, billing, or product issues.
data-analysis
Loads CSV, Excel, and JSON data files, performs statistical analysis, and generates charts and reports. Use when the user asks to analyze a dataset, compute statistics, create visualizations, find trends, or produce a data report.
Didn't find tool you were looking for?