A powerful Slack desktop extension that adds AI summarization, message enhancement, and custom AI operations directly to your Slack workspace using OpenAI's GPT-4.
- 🤖 AI Message Summarization: Hover over any message and click the ✨ button to get an AI-powered summary
- 📝 AI Message Enhancement: Comprehensive dropdown menu with multiple AI-powered text improvements
- ⚡ Custom AI Operations: Create your own custom AI prompts and operations
- ⌨️ Keyboard Shortcuts: Quick access to settings and features
- 🌍 Cross-Platform: Works on both Linux and macOS with automatic integrity checking
- Slack Desktop App installed
- OpenAI API Key from OpenAI Platform
- Sudo access (to modify Slack files)
./slack_patcher.sh patch- Start Slack
- Press
Ctrl+Alt+Ato open API settings - Enter your OpenAI API key
- Click Save Key
Message Enhancement:
- Type your message and click the ✨ AI button for quick improvement
- Click the ▾ dropdown for more options:
- 📝 Improve Writing
- 🌐 Translate to English
- 🔧 Fix Spelling & Grammar
- 👔 Make Professional
- 😊 Make Casual
- ✂️ Make Shorter
- ⚡ Your Custom Operations
Message Summarization:
- Hover over any message and click the ✨ button
Custom Operations:
- Right-click the AI button or press
Ctrl+Alt+A - Navigate to "Custom Operations" section
- Click "Add Operation" to create your own AI prompts
Create personalized AI operations for your specific needs:
- Access Settings: Right-click AI button or press
Ctrl+Alt+A - Add Operation: Click "Add Operation" in the Custom Operations section
- Configure:
- Title: Name your operation (e.g., "Make Funny", "Technical Review")
- Prompt: Write your custom instruction for the AI
- Use: Your custom operations appear in the AI dropdown menu with ⚡ icons
- Make Funny: "Rewrite this text to be humorous and entertaining"
- Technical Review: "Review this technical content for accuracy and clarity"
- Meeting Summary: "Convert this into a structured meeting summary with action items"
Ctrl+Alt+A- Open API Key Settings & Custom Operations Manager
./slack_patcher.sh patchFor macOS users with integrity checking:
./slack_patcher-v2.sh./slack_patcher.sh restoreFor macOS users, slack_patcher-v2.sh includes automatic integrity checking to ensure Slack launches properly after modification:
# Calculate file integrity (used automatically by patcher)
node integrity.js /Applications/Slack.app/Contents/Resources/app.asarThe macOS patcher automatically:
- Detects your CPU architecture (ARM64/Intel)
- Calculates checksums for the modified ASAR file
- Updates Info.plist files with new checksums
- Ensures Slack's signature validation passes
Note: On macOS, the integrity replacement runs from /Applications/Slack.app/Contents and updates all files containing the old checksum.
- Edit
custom_slack_ext.js - Run
./slack_patcher.sh - Restart Slack
slack_patcher.sh- Main patcher script (Linux & macOS)slack_patcher-v2.sh- macOS patcher with integrity checkingcustom_slack_ext.js- AI extension codeintegrity.js- File integrity calculation (for macOS)slack_backup/- Backup directory (auto-created)FEATURES.md- Detailed technical documentation
- API keys stored locally in browser localStorage
- Only your messages are sent to OpenAI for processing
- Original Slack files automatically backed up with integrity checking
- No external dependencies or tracking
- Custom operations stored locally in your browser
./slack_patcher.sh restore- Custom AI Operations: Create and manage your own AI prompts
- Improved UX: No more disruptive alert dialogs, inline error messages
- One-Click Delete: Remove custom operations without confirmation
- Enhanced Debugging: Comprehensive logging and test functions
- Better Persistence: Improved localStorage handling and monitoring
- Cross-Platform Integrity: Automatic file integrity checking on macOS
This extension modifies the Slack desktop application. Use at your own risk. Not officially supported by Slack.
MIT License
