Loading...
Loading...
Interact with Channel Talk using extracted desktop app or browser credentials - read chats, send messages, search messages, manage groups
npx skill4agent add devxoul/agent-messenger agent-channeltalkblocks[{ type: "text", value: "..." }]# Get workspace snapshot (credentials are extracted automatically)
agent-channeltalk snapshot --pretty
# Send a message to a group
agent-channeltalk message send group grp_abc123 "Hello from the CLI!"
# Send a message to a user chat
agent-channeltalk message send user-chat uc_abc123 "Thanks for reaching out!"
# List user chats
agent-channeltalk chat listx-accountch-session-1agent-channeltalk auth extract# List all available workspaces
agent-channeltalk auth list
# Switch to a different workspace
agent-channeltalk auth use <workspace-id>
# Check auth status
agent-channeltalk auth status
# Remove a stored workspace
agent-channeltalk auth remove <workspace-id>~/.config/agent-messenger/MEMORY.mdReadWrite~/.config/agent-messenger/MEMORY.mdRead~/.config/agent-messenger/MEMORY.mdWriteauth listsnapshotgroup listsnapshotchat listmanager listbot listWriteMEMORY.md# Agent Messenger Memory
## Channel Talk Workspaces
- `abc123` - Acme Support
## Groups (Acme Support)
- `grp_111` - Support Inbox
- `grp_222` - Billing Inbox
- `grp_333` - Engineering
## Recent UserChats (Acme Support)
- `uc_aaa` - John Doe inquiry (opened)
- `uc_bbb` - Refund request (closed)
## Managers (Acme Support)
- `mgr_001` - Alice (Team Lead)
- `mgr_002` - Bob (Support Agent)
## Bots (Acme Support)
- `bot_001` - Support Bot
- `bot_002` - Notification Bot
## Aliases
- "support" -> `grp_111` (Support Inbox in Acme Support)
## Notes
- User prefers --pretty output for snapshots
- Main workspace is "Acme Support"Memory lets you skip repeatedandgroup listcalls. When you already know an ID from a previous session, use it directly.chat list
# Extract cookies from Channel Talk desktop app or browser (usually automatic)
agent-channeltalk auth extract
agent-channeltalk auth extract --browser-profile ~/browser-data
agent-channeltalk auth extract --browser-profile "$HOME/work-profile,$HOME/personal-profile"
# --browser-profile accepts repeatable or comma-separated Chromium profile/user-data dirs
# Check auth status
agent-channeltalk auth status
agent-channeltalk auth status --workspace <id>
# Clear all stored credentials
agent-channeltalk auth clear
# List all stored workspaces
agent-channeltalk auth list
# Switch active workspace
agent-channeltalk auth use <workspace-id>
# Remove a stored workspace
agent-channeltalk auth remove <workspace-id># Show current authenticated user
agent-channeltalk whoami
agent-channeltalk whoami --pretty
agent-channeltalk whoami --workspace <workspace-id># Send a message (chat-type: group, user-chat, or direct-chat)
agent-channeltalk message send <chat-type> <chat-id> <text>
agent-channeltalk message send group grp_abc123 "Hello team!"
agent-channeltalk message send user-chat uc_abc123 "Thanks for reaching out!"
agent-channeltalk message send direct-chat dc_abc123 "Quick question..."
# List messages from a group, user chat, or direct chat
agent-channeltalk message list <chat-type> <chat-id>
agent-channeltalk message list group grp_abc123 --limit 50
agent-channeltalk message list user-chat uc_abc123 --sort asc
# Get a specific message by ID
agent-channeltalk message get <chat-type> <chat-id> <message-id>
# Search messages across team chats or user chats
agent-channeltalk message search <query>
agent-channeltalk message search "deployment" --scope team-chat
agent-channeltalk message search "refund" --scope user-chat --limit 10# List user chats assigned to me (default: opened)
agent-channeltalk chat list
agent-channeltalk chat list --state opened
agent-channeltalk chat list --state snoozed
agent-channeltalk chat list --state closed
agent-channeltalk chat list --limit 50
# Get a specific user chat
agent-channeltalk chat get <chat-id># List groups
agent-channeltalk group list
agent-channeltalk group list --limit 50
# Get a group by ID
agent-channeltalk group get <group-id>
# Get messages from a group
agent-channeltalk group messages <group-id>
agent-channeltalk group messages grp_abc123 --limit 50 --sort asc# List all managers
agent-channeltalk manager list
agent-channeltalk manager list --limit 50# List all bots
agent-channeltalk bot list
agent-channeltalk bot list --limit 50# Brief snapshot (default) — fast, minimal API calls
agent-channeltalk snapshot
# Full snapshot — includes messages, managers, bots (slow, large output)
agent-channeltalk snapshot --full
# Filtered full snapshots
agent-channeltalk snapshot --full --groups-only
agent-channeltalk snapshot --full --chats-only
# Limit messages per group/chat (only with --full)
agent-channeltalk snapshot --full --limit 10--full{
"id": "msg_abc123",
"channel_id": "ch_def456",
"chat_id": "uc_ghi789",
"chat_type": "user-chat",
"person_type": "manager",
"plain_text": "Hello world",
"created_at": 1705312200000
}--prettyagent-channeltalk group list --pretty| Option | Description |
|---|---|
| Human-readable output instead of JSON |
| Use a specific workspace for this command |
references/common-patterns.mdtemplates/post-message.shmonitor-chat.shworkspace-summary.sh{
"error": "No credentials. Run \"agent-channeltalk auth extract\" first."
}No credentialsWorkspace not foundInvalid --limit value~/.config/agent-messenger/channel-credentials.json{
"current": { "workspace_id": "abc123" },
"workspaces": {
"abc123": {
"workspace_id": "abc123",
"workspace_name": "Acme Support",
"account_id": "acc_001",
"account_name": "Alice",
"account_cookie": "...",
"session_cookie": "..."
}
}
}| Feature | agent-channeltalk (user) | agent-channeltalkbot (bot) |
|---|---|---|
| Auth method | Auto-extract cookies | API key + secret |
| Setup required | None (zero-config) | Manual key setup |
| Acts as | You (manager) | Bot identity |
| Send messages | ✅ | ✅ |
| List messages | ✅ | ✅ |
| Search messages | ✅ | - |
| Close/delete chats | - | ✅ |
| Create/delete bots | - | ✅ |
| Set default bot | - | ✅ |
| Group @name references | - | ✅ |
| Direct chat support | ✅ | - |
| Multi-workspace | ✅ | ✅ |
| CI/CD friendly | - | ✅ |
group listagent-channeltalk: command not foundagent-channeltalkagent-messengeragent-channeltalkagent-channeltalk snapshot --prettynpx -ynpx -y agent-messenger channeltalk snapshot --prettyNote: If the user prefers a different package runner (e.g.,,bunx,pnpx), use that instead.pnpm dlx
npx agent-channeltalkbunx agent-channeltalkpnpm dlx agent-channeltalkagent-channeltalk~/Library/Containers/com.zoyi.channel.desk.osx/Data/Library/Application Support/Channel Talk/Cookies~/Library/Application Support/Channel Talk/Cookies%APPDATA%\Channel Talk\Network\Cookiesagent-channeltalk auth extract