Skip to content

Claude/slack bot integration y umxm#39

Merged
khaliqgant merged 3 commits intomainfrom
claude/slack-bot-integration-yUMXM
Dec 30, 2025
Merged

Claude/slack bot integration y umxm#39
khaliqgant merged 3 commits intomainfrom
claude/slack-bot-integration-yUMXM

Conversation

@khaliqgant
Copy link
Copy Markdown
Member

No description provided.

Two example scripts for integrating Slack with Claude Code:

1. slack-claude-standalone.ts - Minimal standalone bot
   - No agent-relay required
   - Uses Claude Code CLI (subscription, no API costs)
   - Maintains conversation history per thread

2. slack-claude-bot.ts - Agent-relay bridge
   - Connects Slack to relay network
   - Agents can send messages to Slack
   - Broadcasts Slack activity to relay

Both use Socket Mode for easy deployment (no public webhook needed).
Two example scripts for integrating Discord with Claude Code:

1. discord-claude-standalone.ts - Minimal standalone bot
   - No agent-relay required
   - Uses Claude Code CLI (subscription, no API costs)
   - Conversation history per thread/channel
   - Handles Discord's 2000 char message limit

2. discord-claude-bot.ts - Agent-relay bridge
   - Connects Discord to relay network
   - Agents can send messages to Discord
   - Broadcasts Discord activity to relay
Two standalone examples using OpenAI Codex CLI:

1. slack-codex-standalone.ts - Slack + Codex
2. discord-codex-standalone.ts - Discord + Codex

Both use the same pattern as Claude examples - spawn CLI
with --print flag for non-interactive responses.
@khaliqgant khaliqgant merged commit 0d792f7 into main Dec 30, 2025
6 checks passed
@khaliqgant khaliqgant deleted the claude/slack-bot-integration-yUMXM branch December 30, 2025 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants