Skip to main content
command CX Codex official · Anthropic

draft-announcement — Claude Code command for Slack drafts

The draft-announcement Claude Code command drafts a formatted Slack announcement and saves it for review. It asks about the channel, audience, message, timing, and tone when those details are missing.

MIT ★ 36,654 updated 2026-10-24

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add anthropics/knowledge-work-plugins
/plugin install slack-by-salesforce@knowledge-work-plugins
Open on GitHub

What draft-announcement does

The command gathers the announcement context, including its destination channel, audience, main point, date or deadline, and tone. It skips questions already answered in the request.

It then writes a Slack-formatted draft with a clear opening and, where relevant, bullets and a call to action. The draft is shown for review first. After approval, the command looks up the channel with slack_search_channels and creates the draft using slack_send_message_draft; it does not send the message.

What it helps with

  • write an announcement for a Slack channel
  • turn a key message into a clear call to action
  • save an approved announcement as a Slack draft

Example prompts for the agent

  • Draft a Slack announcement about the release date moving.
  • Write a draft for the team channel announcing a new process.
  • Prepare an employee announcement with a date and a registration call to action.

How to install draft-announcement

1Plugin marketplace

/plugin marketplace add anthropics/knowledge-work-plugins
/plugin install slack-by-salesforce@knowledge-work-plugins

2Manually: put the files in place

.claude/commands/draft-announcement.md

Call it with /draft-announcement. For all projects use ~/.claude/commands/

Questions about draft-announcement

How do I install draft-announcement in Claude Code?

Add the marketplace with /plugin marketplace add anthropics/knowledge-work-plugins, then install the plugin with /plugin install slack-by-salesforce@knowledge-work-plugins. The command file is also listed as .claude/commands/draft-announcement.md.

What does draft-announcement do?

It gathers missing details, writes a Slack-formatted announcement, and presents it for review. Once approved, it creates a draft in Slack rather than sending the message.

What happens after I approve the announcement?

The command finds the target channel ID with slack_search_channels, then creates a draft through slack_send_message_draft. The draft can be reviewed and sent from the Slack client.

Source text

draft-announcement.md · MIT
---
description: Draft a well-formatted Slack announcement and save it as a draft
---

Given the topic or context provided in $ARGUMENTS:

1. Ask the user the following clarifying questions (skip any that are already clear from the provided context):
   - Which channel should this announcement be posted in?
   - Who is the target audience?
   - What is the key message or call to action?
   - Is there a deadline or date to highlight?
   - What tone is appropriate — formal, casual, or urgent?

2. Compose the announcement following Slack formatting best practices:
   - Use Slack's mrkdwn syntax: `*bold*` for emphasis (not `**bold**`), `_italic_` for secondary emphasis, `>` for callouts.
   - Lead with the most important information — don't bury the point.
   - Use a clear, descriptive opening line that works as a headline.
   - Keep paragraphs short (2-3 sentences max).
   - Use bullet points for lists of items or action steps.
   - Include relevant emoji sparingly to aid scanning (e.g., :mega: for announcements, :calendar: for dates, :point_right: for action items).
   - End with a clear call to action or next step if applicable.

3. Present the draft to the user for review. Offer to adjust tone, length, or formatting.

4. Once the user approves, use `slack_search_channels` to find the target channel ID, then use `slack_send_message_draft` to create the draft in Slack.

5. Let the user know the draft is ready in Slack and they can review and send it from the Slack client.

© Salesforce · MIT · anthropics/knowledge-work-plugins

Similar slash commands

All slash commands for Marketing and content →

From the same set263

The whole set →
start This Claude Code skill picks a Zoom integration path and points to the implementation skill for the task. It starts from an app idea or a question about integrating Zoom. CX Codex +1 ★ 36,654repo stars summarize-channel summarize-channel is a Claude Code command that compiles summaries of Slack channel activity. It inspects up to 100 recent posts, follows replies in threads, and isolates decisions. CX Codex +1 ★ 36,654repo stars standup This Claude Code command drafts a standup from the user’s recent Slack activity. It sorts the past working day’s messages into completed work, plans, and blockers. CX Codex +1 ★ 36,654repo stars find-discussions The find-discussions Claude Code command searches Slack channels for discussions about a topic. It gathers relevant threads and surfaces decisions and open questions. CX Codex +1 ★ 36,654repo stars channel-digest The channel-digest Claude Code command summarizes recent activity across Slack channels. It extracts discussion topics, decisions, questions, and notable messages. CX Codex +1 ★ 36,654repo stars prospect This Claude Code skill builds company and contact lists with Common Room Prospector. It activates for requests to find companies by criteria, locate contacts, or build a prospect list. CX Codex +1 ★ 36,654repo stars call-prep Skill for Claude Code builds a meeting brief using Common Room account signals and participant data. Runs on any call preparation request mentioning a company name. CX Codex +1 ★ 36,654repo stars account-research account-research — a skill for Claude Code and Codex that pulls company intelligence from Common Room. Activates on research requests, domain queries, and account signal lookups. CX Codex +1 ★ 36,654repo stars

Project sponsors

Companies that keep this analytics open