agent-channeltalk
Interact with Channel Talk using extracted desktop app or browser credentials - read chats,…
Interact with Slack workspaces - send messages, read channels, manage reactions
$ npx -y skills add agent-messenger/agent-messenger --skill agent-slack --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/agent-slackContext preview
The summary Claude sees to decide when to auto-load this skill.
Interact with Slack workspaces - send messages, read channels, manage reactions
name: agent-slack
description: Interact with Slack workspaces - send messages, read channels, manage reactions
version: 2.38.0
allowed-tools: Bash(agent-slack:*)
metadata:
openclaw:
requires:
bins:
- agent-slack
install:
- kind: node
package: agent-messenger
bins: [agent-slack]A TypeScript CLI tool that enables AI agents and humans to interact with Slack workspaces through a simple command interface. Features seamless token extraction from the Slack desktop app (with browser fallback) and multi-workspace support.
# Get workspace snapshot (credentials are extracted automatically) agent-slack snapshot # Send a message agent-slack message send general "Hello from AI agent!" # List channels agent-slack channel list
Credentials are extracted automatically from the Slack desktop app (or Chromium browser as fallback) on first use. No manual setup required — just run any command and authentication happens silently in the background.
On macOS, the system may prompt for your Keychain password the first time (required to decrypt Slack's stored token). This is a one-time prompt.
**Two ways to obtain tokens:**
Sign in with a QR code from any device where you're already logged into Slack — no desktop app, no browser automation, fully over HTTP:
# In Slack (desktop or web): your name (top-left) → "Sign in on mobile". # Right-click the QR code → "Copy Image Address", then: pbpaste | agent-slack auth qr # Or pass the data URL directly: agent-slack auth qr "data:image/png;base64,iVBORw0KGgo..."
This decodes the QR's one-time login link, establishes a session, and stores the resulting credentials like `auth extract` does. The QR link is single-use — generate a fresh one if it expires.
# List all authenticated workspaces agent-slack workspace list # Switch to a different workspace agent-slack workspace switch <workspace-id> # Show current workspace agent-slack workspace current # Remove a workspace agent-slack workspace remove <workspace-id> # Check auth status agent-slack auth status
The agent maintains a `~/.config/agent-messenger/MEMORY.md` file as persistent memory across sessions. This is agent-managed — the CLI does not read or write this file. Use the `Read` and `Write` tools to manage your memory file.
At the **start of every task**, read `~/.config/agent-messenger/MEMORY.md` using the `Read` tool to load any previously discovered workspace IDs, channel IDs, user IDs, and preferences.
After discovering useful information, update `~/.config/agent-messenger/MEMORY.md` using the `Write` tool. Write triggers include:
When writing, include the **complete file content** — the `Write` tool overwrites the entire file.
Never store tokens, cookies, credentials, or any sensitive data. Never store full message content (just IDs and channel context). Never store file upload contents.
If a memorized ID returns an error (channel not found, user not found), remove it from `MEMORY.md`. Don't blindly trust memorized data — verify when something seems off. Prefer re-listing over using a memorized ID that might be stale.
# Agent Messenger Memory ## Slack Workspaces - `T0ABC1234` — Acme Corp (default) - `T0DEF5678` — Side Project ## Channels (Acme Corp) - `C012ABC` — #general (company-wide announcements) - `C034DEF` — #engineering (team discussion) - `C056GHI` — #deploys (CI/CD notifications) ## Users (Acme Corp) - `U0ABC123` — Alice (engineering lead) - `U0DEF456` — Bob (backend) ## Aliases - "deploys" → `C056GHI` (#deploys in Acme Corp) - "main workspace" → `T0ABC1234` (Acme Corp) ## Notes - User prefers --pretty output for snapshots - Main workspace is "Acme Corp"
> Memory lets you skip repeated `channel list` and `workspace list` calls. When you already know an ID from a previous session, use it directly.
# Extract tokens from Slack desktop app or browser (usually automatic) agent-slack auth extract agent-slack auth extract --debug agent-slack auth extract --browser-profile ~/browser-data agent-slack auth extract --browser-profile ~/work-profile --browser-profile ~/personal-profile # --browser-profile accepts repeatable or comma-separated Chromium profile/user-data dirs # Sign in with a QR code from Slack's "Sign in on mobile" screen (no desktop app
Your agent messages as you — not as a bot One CLI for Slack, Discord, Teams, Webex, Telegram, WhatsApp, LINE, WeChat, iMessage, Instagram, KakaoTalk, and Channel Talk.
Repo: agent-messenger/agent-messenger
Interact with Channel Talk using extracted desktop app or browser credentials - read chats,…
Interact with Channel Talk workspaces using API credentials - send messages, read chats,…
Interact with Discord servers - send messages, read channels, manage reactions
Interact with Discord servers using bot tokens - send messages, read channels, manage…
Interact with iMessage on a Mac via the imsg tool - send messages, read chats, watch for new…
Interact with Instagram DMs - send messages, read conversations, manage accounts