agentleFS
hyperfx-aihyperfx-ai/marketing-skills/skills/slack/SKILL.md

slack

Skill94 starsChanged 6 months agoMITView on GitHub

Slack messaging, file sharing, Block Kit formatting, and channel management. Use when the user wants to send Slack messages, post rich Block Kit layouts, share files, react, or manage channels and members.

37 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use goplaces, bluebubbles and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • seedprodSkill

    goplaces

    Query Google Places API (New) via the goplaces CLI for text search, place details, resolve, and reviews. Use for human-friendly place lookup or JSON output for scripts.

    Also in 5 projects that use this

  • seedprodSkill

    bluebubbles

    Build or update the BlueBubbles external channel plugin for OpenClaw (extension package, REST send/probe, webhook inbound).

    Also in 4 projects that use this

  • +10 more from seedprod

The file

Show its rules and text

We split this skill into the rules it gives an agent

18 rules. 0 are common, 8 are distinctive, and 10 are very specific to this project.

  • 0

    Common

    Most of the 35 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 10

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every tool in this skill is named by its canonical tool name.

    line 35
  2. Distinctive:

    If a tool is not found, its integration is not connected or not enabled for the workspace: stop and tell the user which integration to …

    line 42
  3. Very specific:

    Message mentions another user, not you: If the user mentions another person (e.g., @John or @SomeOtherBot) and the message is directed at …

    line 48
  4. Distinctive:

    User explicitly asks to be ignored: If the user says something like "ignore this", "don't respond", or similar.

    line 49
  5. Distinctive:

    Message is clearly not for you: If the conversation is between other users and doesn't require your input.

    line 50
  6. Very specific:

    When you decide not to respond, return ONLY the exact text [NO_RESPONSE] with nothing before or after it.

    line 54
  7. Distinctive:

    When in doubt, respond. It's better to be helpful than to stay silent when someone needs you.

    line 55
  8. Distinctive:

    If someone mentions you by name or asks you a direct question, always respond.

    line 56
  9. Very specific:

    Use slack_files_upload to share any file in Slack

    line 63
  10. Distinctive:

    Always upload to both the channel AND thread you are responding in, unless requested otherwise

    line 64
  11. Very specific:

    When you generate an image (e.g., via images_generate), the result includes a file_id.

    line 69
  12. Very specific:

    Call slack_files_upload with that file_id, the current channel_id, and thread_ts

    line 73
  13. Distinctive:

    Do NOT just say "Here's your image" without uploading it.

    line 81
  14. Very specific:

    Simple messages: Use plain markdown text via slack_messages_send or slack_threads_replies_send

    line 93
  15. Very specific:

    Tables, lists, structured data: Use Block Kit rich_text blocks via slack_messages_send_block_kit

    line 94
  16. Very specific:

    Messages over 3000 characters: Use slack_messages_send_large

    line 95
  17. Very specific:

    Ordered List: Use "style": "ordered" instead of "bullet".

    line 145
  18. Very specific:

    Nested Lists: Use the indent property:

    line 147

“Common” is measured: kept by at least 6 in 10 of the 35 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Slack Messaging

This skill provides comprehensive guidance for Slack messaging, file sharing, and formatting.

Requirements

How to run the tools in this skill

Every tool in this skill is named by its canonical tool name. Run it with the call your surface gives you:

SurfaceFind a toolRun it
MCP client (Claude, Cursor, Codex, ChatGPT)search("<what you want to do>"), then describe("<name>")call("<name>", {...})
Hyper CLIhyperai search "<what you want to do>", then hyperai describe <name>hyperai call <name> --json '{...}'

If a tool is not found, its integration is not connected or not enabled for the workspace: stop and tell the user which integration to connect.

When NOT to Respond

Return ONLY the text [NO_RESPONSE] (nothing else) in these situations:

  1. Message mentions another user, not you: If the user mentions another person (e.g., @John or @SomeOtherBot) and the message is directed at that person, not you.
  2. User explicitly asks to be ignored: If the user says something like "ignore this", "don't respond", or similar.
  3. Message is clearly not for you: If the conversation is between other users and doesn't require your input.
  4. Simple acknowledgments between users: Messages like "thanks", "ok", "got it" directed at another person.

IMPORTANT:

  • When you decide not to respond, return ONLY the exact text [NO_RESPONSE] with nothing before or after it.
  • When in doubt, respond. It's better to be helpful than to stay silent when someone needs you.
  • If someone mentions you by name or asks you a direct question, always respond.
  • In DMs (direct messages), always respond unless explicitly asked not to.

File Sharing - Critical Rules

CRITICAL: Files can ONLY be shared in Slack via upload. URLs and file paths do NOT render as viewable content in Slack.

  • Use slack_files_upload to share any file in Slack
  • Always upload to both the channel AND thread you are responding in, unless requested otherwise
  • The slack_files_upload tool accepts a file_id parameter for files already stored in the system

Sharing Generated Images

When you generate an image (e.g., via images_generate), the result includes a file_id. This image is NOT automatically displayed in Slack. You MUST explicitly upload it:

  1. Generate the image using the image generation tool
  2. Note the file_id from the result
  3. Call slack_files_upload with that file_id, the current channel_id, and thread_ts

Example workflow:

  • User asks: "Generate an image of a sunset"
  • You call the image generation tool, which returns file_id: "abc123"
  • You then call slack_files_upload(channel_id="C...", file_id="abc123", thread_ts="...")
  • Now the image appears in Slack

Do NOT just say "Here's your image" without uploading it. The user will see nothing.

Sharing Other Files

For any file you want to share (documents, CSVs, etc.), use slack_files_upload with either:

  • file_id: For files already in the system
  • file_path: For local files
  • content: For text content to upload as a file

Message Formatting

When to Use Plain Text vs Block Kit

  • Simple messages: Use plain markdown text via slack_messages_send or slack_threads_replies_send
  • Tables, lists, structured data: Use Block Kit rich_text blocks via slack_messages_send_block_kit
  • Messages over 3000 characters: Use slack_messages_send_large

Slack Markdown

Slack uses a simplified markdown:

  • *bold* (single asterisks, not double)
  • _italic_
  • ~strikethrough~
  • `code` for inline code
  • ```code block``` for code blocks
  • <url|display text> for links (NOT [text](url))

Block Kit Rich Text

Block Kit's rich_text block provides flexible formatting:

Available Elements:

  • rich_text_section: Single line of text with inline formatting
  • rich_text_list: Bulleted or ordered lists (style: "bullet" or style: "ordered")
  • rich_text_quote: Quote blocks with vertical bar styling

Element Types Within Sections:

  • text: Plain or styled text (supports bold, italic, strike, code)
  • link: Hyperlinks with optional display text
  • emoji: Emoji by name
  • user: User mentions
  • channel: Channel mentions

Bulleted List Example:

{
    "type": "rich_text",
    "elements": [
        {
            "type": "rich_text_list",
            "style": "bullet",
            "elements": [
                {
                    "type": "rich_text_section",
                    "elements": [{"type": "text", "text": "First item"}]
                },
                {
                    "type": "rich_text_section",
                    "elements": [{"type": "text", "text": "Second item"}]
                }
            ]
        }
    ]
}

Ordered List: Use "style": "ordered" instead of "bullet".

Nested Lists: Use the indent property:

{
    "type": "rich_text_list",
    "style": "ordered",
    "indent": 1,
    "elements": [...]
}

Inline Styling:

{
    "type": "text",
    "text": "Bold text",
    "style": {"bold": true}
}

Available styles: bold, italic, strike, code

Links in Text:

{
    "type": "rich_text_section",
    "elements": [
        {"type": "text", "text": "Click "},
        {"type": "link", "text": "here", "url": "https://example.com"},
        {"type": "text", "text": " to continue"}
    ]
}

Messaging Tools Quick Reference

ActionTool
Send a messageslack_messages_send
Reply in a threadslack_threads_replies_send
Upload/share a fileslack_files_upload
Send Block Kit messageslack_messages_send_block_kit
Send long message (>3000 chars)slack_messages_send_large
Update a messageslack_messages_update
Delete a messageslack_messages_delete
Add a reactionslack_reactions_add
Pin a messageslack_messages_pin
Search messagesslack_messages_search

Channel Management Quick Reference

ActionTool
List channelsslack_channels_list
Get channel infoslack_channels_get
Create a channelslack_channels_create
Set channel topicslack_channels_topic_update
Set channel purposeslack_channels_purpose_update
Invite usersslack_channels_users_invite
Get channel membersslack_channels_members_list

User Operations Quick Reference

ActionTool
List workspace usersslack_users_list
Get user profileslack_users_profile_get
Find user by emailslack_users_search_by_email
Get user presenceslack_users_presence_get
Set your statusslack_users_status_update
Create a reminderslack_reminders_create

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.