Discord Usage
Everything you can do on Discord after setting up ccpoke with the Discord channel.
Slash Commands
Two slash commands available:
| Command | Description |
|---|---|
| /sessions | View all running AI agent sessions. Select one to chat or close. |
| /projects | View project list. Select a project and agent to start a new session. |
Notifications
When an AI agent completes a task (stop hook fires)
You receive a DM notification with an embed: project name, agent type, task summary, model name. Buttons: "View Details" opens the full response, "Chat" opens a chat modal to send a follow-up prompt.
📦 my-app 🐾 Claude Code Added dark mode toggle to settings page. 🤖 Opus 4.6 [📖 View Details] [💬 Chat]
Two-way Chat
Tap "Chat" on a notification or use /sessions → select → Chat
Tap the Chat button to open a modal. Type your prompt — ccpoke injects it into the agent via tmux send-keys. Reply to an elicitation message to answer open-ended questions.
→ Tap 💬 Chat [Modal: Send prompt to my-app] > Summarize recent changes ✓ Sent to session
Requires tmux (macOS / Linux). Windows is not yet supported for two-way chat.
Permission Handling
When an agent needs permission (file write, bash command, etc.)
The agent pauses and sends a DM with the tool name and summary. Tap Allow or Deny. ccpoke injects the response. Expires after 10 minutes.
🔐 Permission Request Tool: bash Command: rm -rf node_modules && npm install [✅ Allow] [❌ Deny]
Answering Questions
When an agent uses AskUserQuestion tool
Single/multi-select questions appear as button rows. Open-ended questions prompt you to reply to the message with your answer.
Question 1/1 [Debug] Which testing framework? [Jest] [Vitest] [Mocha] [Other]