agent-messenger 2.8.0 → 2.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/README.md +0 -11
  3. package/dist/package.json +1 -1
  4. package/dist/src/platforms/channeltalk/commands/snapshot.d.ts +4 -2
  5. package/dist/src/platforms/channeltalk/commands/snapshot.d.ts.map +1 -1
  6. package/dist/src/platforms/channeltalk/commands/snapshot.js +86 -31
  7. package/dist/src/platforms/channeltalk/commands/snapshot.js.map +1 -1
  8. package/dist/src/platforms/channeltalkbot/commands/snapshot.d.ts +3 -1
  9. package/dist/src/platforms/channeltalkbot/commands/snapshot.d.ts.map +1 -1
  10. package/dist/src/platforms/channeltalkbot/commands/snapshot.js +110 -60
  11. package/dist/src/platforms/channeltalkbot/commands/snapshot.js.map +1 -1
  12. package/dist/src/platforms/discord/commands/snapshot.d.ts +1 -0
  13. package/dist/src/platforms/discord/commands/snapshot.d.ts.map +1 -1
  14. package/dist/src/platforms/discord/commands/snapshot.js +48 -34
  15. package/dist/src/platforms/discord/commands/snapshot.js.map +1 -1
  16. package/dist/src/platforms/discordbot/commands/snapshot.d.ts +2 -0
  17. package/dist/src/platforms/discordbot/commands/snapshot.d.ts.map +1 -1
  18. package/dist/src/platforms/discordbot/commands/snapshot.js +46 -34
  19. package/dist/src/platforms/discordbot/commands/snapshot.js.map +1 -1
  20. package/dist/src/platforms/slack/commands/snapshot.d.ts.map +1 -1
  21. package/dist/src/platforms/slack/commands/snapshot.js +75 -55
  22. package/dist/src/platforms/slack/commands/snapshot.js.map +1 -1
  23. package/dist/src/platforms/teams/commands/snapshot.d.ts +1 -0
  24. package/dist/src/platforms/teams/commands/snapshot.d.ts.map +1 -1
  25. package/dist/src/platforms/teams/commands/snapshot.js +44 -31
  26. package/dist/src/platforms/teams/commands/snapshot.js.map +1 -1
  27. package/dist/src/platforms/webex/commands/snapshot.d.ts +1 -0
  28. package/dist/src/platforms/webex/commands/snapshot.d.ts.map +1 -1
  29. package/dist/src/platforms/webex/commands/snapshot.js +14 -7
  30. package/dist/src/platforms/webex/commands/snapshot.js.map +1 -1
  31. package/docs/content/docs/agent-skills.mdx +0 -10
  32. package/docs/content/docs/cli/channeltalk.mdx +18 -8
  33. package/docs/content/docs/cli/channeltalkbot.mdx +16 -6
  34. package/docs/content/docs/cli/discord.mdx +23 -7
  35. package/docs/content/docs/cli/discordbot.mdx +23 -7
  36. package/docs/content/docs/cli/slack.mdx +24 -7
  37. package/docs/content/docs/cli/teams.mdx +24 -8
  38. package/docs/content/docs/cli/webex.mdx +15 -2
  39. package/package.json +1 -1
  40. package/skills/agent-channeltalk/SKILL.md +19 -9
  41. package/skills/agent-channeltalk/references/common-patterns.md +10 -9
  42. package/skills/agent-channeltalkbot/SKILL.md +19 -9
  43. package/skills/agent-channeltalkbot/references/common-patterns.md +10 -9
  44. package/skills/agent-discord/SKILL.md +18 -9
  45. package/skills/agent-discord/references/common-patterns.md +8 -7
  46. package/skills/agent-discordbot/SKILL.md +18 -9
  47. package/skills/agent-instagram/SKILL.md +1 -1
  48. package/skills/agent-kakaotalk/SKILL.md +1 -1
  49. package/skills/agent-line/SKILL.md +1 -1
  50. package/skills/agent-slack/SKILL.md +19 -10
  51. package/skills/agent-slack/references/common-patterns.md +4 -7
  52. package/skills/agent-slackbot/SKILL.md +1 -1
  53. package/skills/agent-teams/SKILL.md +18 -9
  54. package/skills/agent-teams/references/common-patterns.md +9 -7
  55. package/skills/agent-telegram/SKILL.md +1 -1
  56. package/skills/agent-webex/SKILL.md +13 -4
  57. package/skills/agent-webex/references/common-patterns.md +8 -2
  58. package/skills/agent-wechatbot/SKILL.md +1 -1
  59. package/skills/agent-whatsapp/SKILL.md +1 -1
  60. package/skills/agent-whatsappbot/SKILL.md +1 -1
  61. package/src/platforms/channeltalk/commands/snapshot.test.ts +58 -26
  62. package/src/platforms/channeltalk/commands/snapshot.ts +107 -33
  63. package/src/platforms/channeltalkbot/commands/snapshot.test.ts +26 -8
  64. package/src/platforms/channeltalkbot/commands/snapshot.ts +131 -64
  65. package/src/platforms/discord/commands/snapshot.test.ts +1 -1
  66. package/src/platforms/discord/commands/snapshot.ts +58 -42
  67. package/src/platforms/discordbot/commands/snapshot.test.ts +40 -18
  68. package/src/platforms/discordbot/commands/snapshot.ts +54 -37
  69. package/src/platforms/slack/commands/snapshot.test.ts +63 -8
  70. package/src/platforms/slack/commands/snapshot.ts +98 -66
  71. package/src/platforms/teams/commands/snapshot.test.ts +1 -1
  72. package/src/platforms/teams/commands/snapshot.ts +53 -38
  73. package/src/platforms/webex/commands/snapshot.test.ts +14 -1
  74. package/src/platforms/webex/commands/snapshot.ts +17 -9
@@ -1 +1 @@
1
- {"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../../../../../src/platforms/webex/commands/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAOnC,wBAAsB,cAAc,CAAC,OAAO,EAAE;IAAE,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAuBjF;AAED,eAAO,MAAM,eAAe,SAOxB,CAAA"}
1
+ {"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../../../../../src/platforms/webex/commands/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAOnC,wBAAsB,cAAc,CAAC,OAAO,EAAE;IAAE,IAAI,CAAC,EAAE,OAAO,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CA6BjG;AAED,eAAO,MAAM,eAAe,SASxB,CAAA"}
@@ -10,13 +10,18 @@ export async function snapshotAction(options) {
10
10
  const allSpaces = await client.listSpaces({ max: 100 });
11
11
  const spaces = allSpaces.filter((s) => myRoomIds.has(s.id));
12
12
  const snapshot = {
13
- spaces: spaces.map((s) => ({
14
- id: s.id,
15
- title: s.title,
16
- type: s.type,
17
- lastActivity: s.lastActivity,
18
- })),
13
+ spaces: options.full
14
+ ? spaces.map((s) => ({
15
+ id: s.id,
16
+ title: s.title,
17
+ type: s.type,
18
+ lastActivity: s.lastActivity,
19
+ }))
20
+ : spaces.map((s) => ({ id: s.id, title: s.title })),
19
21
  };
22
+ if (!options.full) {
23
+ snapshot.hint = "Use 'message list <space>' for messages, 'space info <space>' for space details.";
24
+ }
20
25
  console.log(formatOutput(snapshot, options.pretty));
21
26
  }
22
27
  catch (error) {
@@ -24,10 +29,12 @@ export async function snapshotAction(options) {
24
29
  }
25
30
  }
26
31
  export const snapshotCommand = new Command('snapshot')
27
- .description('Get workspace spaces overview for AI agents')
32
+ .description('Get workspace overview for AI agents (brief by default, use --full for comprehensive data)')
33
+ .option('--full', 'Include full space details (verbose)')
28
34
  .option('--pretty', 'Pretty print JSON output')
29
35
  .action(async (options) => {
30
36
  await snapshotAction({
37
+ full: options.full,
31
38
  pretty: options.pretty,
32
39
  });
33
40
  });
@@ -1 +1 @@
1
- {"version":3,"file":"snapshot.js","sourceRoot":"","sources":["../../../../../src/platforms/webex/commands/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAEnC,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAA;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEpD,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAEvC,MAAM,CAAC,KAAK,UAAU,cAAc,CAAC,OAA6B;IAChE,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,IAAI,WAAW,EAAE,CAAC,KAAK,EAAE,CAAA;QAE9C,MAAM,aAAa,GAAG,MAAM,MAAM,CAAC,iBAAiB,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,CAAA;QAClE,MAAM,SAAS,GAAG,IAAI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EAAE,CAAC,CAAC;SACtD,CAAA;QAED,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;YAClB,QAAQ,CAAC,IAAI,GAAG,kFAAkF,CAAA;QACpG,CAAC;QAED,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,QAAQ,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC,CAAA;IACrD,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,WAAW,CAAC,KAAc,CAAC,CAAA;IAC7B,CAAC;AACH,CAAC;AAED,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,OAAO,CAAC,UAAU,CAAC;KACnD,WAAW,CAAC,4FAA4F,CAAC;KACzG,MAAM,CAAC,QAAQ,EAAE,sCAAsC,CAAC;KACxD,MAAM,CAAC,UAAU,EAAE,0BAA0B,CAAC;KAC9C,MAAM,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE;IACxB,MAAM,cAAc,CAAC;QACnB,IAAI,EAAE,OAAO,CAAC,IAAI;QAClB,MAAM,EAAE,OAAO,CAAC,MAAM;KACvB,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
@@ -46,16 +46,6 @@ Or from within Claude Code:
46
46
  /plugin install agent-messenger
47
47
  ```
48
48
 
49
- ### OpenCode (via plugin)
50
-
51
- Add to your `opencode.jsonc`:
52
-
53
- ```jsonc
54
- {
55
- "plugins": ["agent-messenger"],
56
- }
57
- ```
58
-
59
49
  ## How It Works
60
50
 
61
51
  Once installed, your AI agent can:
@@ -170,21 +170,31 @@ agent-channeltalk bot list --limit 50
170
170
 
171
171
  ### Snapshot Command
172
172
 
173
- Get comprehensive workspace state for AI agents:
173
+ Get workspace overview for AI agents (brief by default):
174
174
 
175
175
  ```bash
176
- # Full snapshot of current workspace
176
+ # Brief snapshot (default) fast, minimal API calls
177
177
  agent-channeltalk snapshot
178
178
 
179
- # Filtered snapshots
180
- agent-channeltalk snapshot --groups-only
181
- agent-channeltalk snapshot --chats-only
179
+ # Full snapshot — includes messages, managers, bots (slow, large output)
180
+ agent-channeltalk snapshot --full
182
181
 
183
- # Limit messages per group/chat
184
- agent-channeltalk snapshot --limit 10
182
+ # Filtered full snapshots
183
+ agent-channeltalk snapshot --full --groups-only
184
+ agent-channeltalk snapshot --full --chats-only
185
+
186
+ # Limit messages per group/chat (only with --full)
187
+ agent-channeltalk snapshot --full --limit 10
185
188
  ```
186
189
 
187
- Returns JSON with:
190
+ Default returns brief JSON with:
191
+
192
+ - Workspace metadata (id, name)
193
+ - Groups (id, name)
194
+ - UserChat summary (total count, by state)
195
+ - Hint for next commands
196
+
197
+ With `--full`, returns comprehensive JSON with:
188
198
 
189
199
  - Workspace metadata (id, name)
190
200
  - Groups with recent messages (id, name, messages)
@@ -196,21 +196,31 @@ agent-channeltalkbot bot delete <bot-id> --force
196
196
 
197
197
  ### Snapshot Command
198
198
 
199
- Get comprehensive workspace state for AI agents:
199
+ Get workspace overview for AI agents (brief by default):
200
200
 
201
201
  ```bash
202
- # Full snapshot of current workspace
202
+ # Brief snapshot (default) fast, minimal API calls
203
203
  agent-channeltalkbot snapshot
204
204
 
205
- # Filtered snapshots
205
+ # Full snapshot — includes messages, managers, bots (slow, large output)
206
+ agent-channeltalkbot snapshot --full
207
+
208
+ # Filtered snapshots (work in both brief and full mode)
206
209
  agent-channeltalkbot snapshot --groups-only
207
210
  agent-channeltalkbot snapshot --chats-only
208
211
 
209
- # Limit messages per group/chat
210
- agent-channeltalkbot snapshot --limit 10
212
+ # Limit messages per group/chat (only with --full)
213
+ agent-channeltalkbot snapshot --full --limit 10
211
214
  ```
212
215
 
213
- Returns JSON with:
216
+ Default returns brief JSON with:
217
+
218
+ - Workspace metadata (id, name, homepage_url, description)
219
+ - Groups (id, name)
220
+ - UserChat summary (opened/snoozed/closed counts)
221
+ - Hint for next commands
222
+
223
+ With `--full`, returns comprehensive JSON with:
214
224
 
215
225
  - Workspace metadata (id, name, homepage_url, description)
216
226
  - Groups with recent messages (id, name, messages)
@@ -179,20 +179,36 @@ agent-discord file info <channel-id> <file-id>
179
179
 
180
180
  ### Snapshot Command
181
181
 
182
- Get comprehensive server state for AI agents:
182
+ Get server overview for AI agents (brief by default):
183
183
 
184
184
  ```bash
185
- # Full snapshot (channels, members, recent messages)
185
+ # Brief snapshot (default) — fast, minimal API calls
186
186
  agent-discord snapshot
187
187
 
188
- # Filtered snapshots
189
- agent-discord snapshot --channels-only
190
- agent-discord snapshot --users-only
188
+ # Full snapshot — includes messages and members (slow, large output)
189
+ agent-discord snapshot --full
191
190
 
192
- # Limit messages per channel
193
- agent-discord snapshot --limit 10
191
+ # Filtered full snapshots
192
+ agent-discord snapshot --full --channels-only
193
+ agent-discord snapshot --full --users-only
194
+
195
+ # Limit messages per channel (only with --full)
196
+ agent-discord snapshot --full --limit 10
194
197
  ```
195
198
 
199
+ Default returns brief JSON with:
200
+
201
+ - Server metadata (id, name)
202
+ - Channels (id, name) — text channels only
203
+ - Hint for next commands
204
+
205
+ With `--full`, returns comprehensive JSON with:
206
+
207
+ - Server metadata (id, name)
208
+ - Channels (id, name, type, topic)
209
+ - Recent messages (id, content, author, timestamp)
210
+ - Members (id, username, global_name)
211
+
196
212
  ### DM Commands
197
213
 
198
214
  ```bash
@@ -231,20 +231,36 @@ agent-discordbot thread archive <thread-id>
231
231
 
232
232
  ### Snapshot Command
233
233
 
234
- Get comprehensive server state for AI agents:
234
+ Get server overview for AI agents (brief by default):
235
235
 
236
236
  ```bash
237
- # Full snapshot of current server
237
+ # Brief snapshot (default) fast, minimal API calls
238
238
  agent-discordbot snapshot
239
239
 
240
- # Filtered snapshots
241
- agent-discordbot snapshot --channels-only
242
- agent-discordbot snapshot --users-only
240
+ # Full snapshot — includes messages and members (slow, large output)
241
+ agent-discordbot snapshot --full
243
242
 
244
- # Limit messages per channel
245
- agent-discordbot snapshot --limit 10
243
+ # Filtered full snapshots
244
+ agent-discordbot snapshot --full --channels-only
245
+ agent-discordbot snapshot --full --users-only
246
+
247
+ # Limit messages per channel (only with --full)
248
+ agent-discordbot snapshot --full --limit 10
246
249
  ```
247
250
 
251
+ Default returns brief JSON with:
252
+
253
+ - Server ID
254
+ - Channels (id, name) — text channels only
255
+ - Hint for next commands
256
+
257
+ With `--full`, returns comprehensive JSON with:
258
+
259
+ - Server ID
260
+ - Channels with messages (id, name, messages)
261
+ - Use `--full --channels-only` for channel type info
262
+ - Use `--full --users-only` for members (id, username, global_name)
263
+
248
264
  ## Key Differences from agent-discord
249
265
 
250
266
  | Feature | agent-discord | agent-discordbot |
@@ -241,20 +241,37 @@ agent-slack file delete <file-id>
241
241
 
242
242
  ### Snapshot Command
243
243
 
244
- Get comprehensive workspace state for AI agents:
244
+ Get workspace overview for AI agents (brief by default):
245
245
 
246
246
  ```bash
247
- # Full snapshot
247
+ # Brief snapshot (default) — fast, minimal API calls
248
248
  agent-slack snapshot
249
249
 
250
- # Filtered snapshots
251
- agent-slack snapshot --channels-only
252
- agent-slack snapshot --users-only
250
+ # Full snapshot — includes messages, users, user groups (slow, large output)
251
+ agent-slack snapshot --full
253
252
 
254
- # Limit messages per channel
255
- agent-slack snapshot --limit 10
253
+ # Filtered full snapshots
254
+ agent-slack snapshot --full --channels-only
255
+ agent-slack snapshot --full --users-only
256
+
257
+ # Limit messages per channel (only with --full)
258
+ agent-slack snapshot --full --limit 10
256
259
  ```
257
260
 
261
+ Default returns brief JSON with:
262
+
263
+ - Workspace metadata
264
+ - Channels (id, name) — non-archived only
265
+ - Hint for next commands
266
+
267
+ With `--full`, returns comprehensive JSON with:
268
+
269
+ - Workspace metadata
270
+ - Channels (id, name, topic, purpose, is_private, is_archived)
271
+ - Recent messages (ts, text, user, channel)
272
+ - Users (id, name, profile)
273
+ - User groups (id, name, handle, description, user_count, users)
274
+
258
275
  ### Activity Commands
259
276
 
260
277
  ```bash
@@ -209,20 +209,36 @@ agent-teams file download <file-id> <output-path>
209
209
 
210
210
  ### Snapshot Command
211
211
 
212
- Get comprehensive team state for AI agents:
212
+ Get team overview for AI agents (brief by default):
213
213
 
214
214
  ```bash
215
- # Full snapshot (channels, members, recent messages)
215
+ # Brief snapshot (default) — fast, minimal API calls
216
216
  agent-teams snapshot
217
217
 
218
- # Filtered snapshots
219
- agent-teams snapshot --channels-only
220
- agent-teams snapshot --users-only
218
+ # Full snapshot — includes messages and members (slow, large output)
219
+ agent-teams snapshot --full
221
220
 
222
- # Limit messages per channel
223
- agent-teams snapshot --limit 10
221
+ # Filtered full snapshots
222
+ agent-teams snapshot --full --channels-only
223
+ agent-teams snapshot --full --users-only
224
+
225
+ # Limit messages per channel (only with --full)
226
+ agent-teams snapshot --full --limit 10
224
227
  ```
225
228
 
229
+ Default returns brief JSON with:
230
+
231
+ - Team metadata (id, name)
232
+ - Channels (id, name)
233
+ - Hint for next commands
234
+
235
+ With `--full`, returns comprehensive JSON with:
236
+
237
+ - Team metadata (id, name)
238
+ - Channels (id, name, type, description)
239
+ - Recent messages (id, content, author, timestamp)
240
+ - Members (id, displayName, email)
241
+
226
242
  ## Global Options
227
243
 
228
244
  All commands support these options:
@@ -321,7 +337,7 @@ if ! agent-teams auth status | grep -q "valid"; then
321
337
  fi
322
338
 
323
339
  # 2. Get team context
324
- agent-teams snapshot --limit 5 > /tmp/teams-context.json
340
+ agent-teams snapshot > /tmp/teams-context.json
325
341
 
326
342
  # 3. Send standup reminder
327
343
  agent-teams message send $STANDUP_CHANNEL "Good morning! Time for standup."
@@ -176,13 +176,26 @@ agent-webex member list abc123 --limit 100
176
176
 
177
177
  ### Snapshot Command
178
178
 
179
- Get workspace spaces overview for AI agents:
179
+ Get workspace overview for AI agents (brief by default):
180
180
 
181
181
  ```bash
182
+ # Brief snapshot (default) — fast, minimal output
182
183
  agent-webex snapshot
184
+
185
+ # Full snapshot — includes type and lastActivity
186
+ agent-webex snapshot --full
183
187
  ```
184
188
 
185
- Returns only the spaces you're a member of, with id, title, type, and lastActivity. Use `message list <space-id>` or `member list <space-id>` for details.
189
+ Default returns brief JSON with:
190
+
191
+ - Spaces (id, title) — only spaces you're a member of
192
+ - Hint for next commands
193
+
194
+ With `--full`, returns:
195
+
196
+ - Spaces (id, title, type, lastActivity)
197
+
198
+ For messages or members, use `message list <space-id>` or `member list <space-id>`.
186
199
 
187
200
  ## Global Options
188
201
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-messenger",
3
- "version": "2.8.0",
3
+ "version": "2.9.0",
4
4
  "description": "Multi-platform messaging CLI for AI agents (Slack, Discord, Teams, Webex, Telegram, WhatsApp, LINE, Instagram, KakaoTalk, Channel Talk)",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: agent-channeltalk
3
3
  description: Interact with Channel Talk using extracted desktop app or browser credentials - read chats, send messages, search messages, manage groups
4
- version: 2.8.0
4
+ version: 2.9.0
5
5
  allowed-tools: Bash(agent-channeltalk:*)
6
6
  metadata:
7
7
  openclaw:
@@ -267,21 +267,31 @@ agent-channeltalk bot list --limit 50
267
267
 
268
268
  ### Snapshot Command
269
269
 
270
- Get comprehensive workspace state for AI agents:
270
+ Get workspace overview for AI agents (brief by default):
271
271
 
272
272
  ```bash
273
- # Full snapshot of current workspace
273
+ # Brief snapshot (default) fast, minimal API calls
274
274
  agent-channeltalk snapshot
275
275
 
276
- # Filtered snapshots
277
- agent-channeltalk snapshot --groups-only
278
- agent-channeltalk snapshot --chats-only
276
+ # Full snapshot — includes messages, managers, bots (slow, large output)
277
+ agent-channeltalk snapshot --full
279
278
 
280
- # Limit messages per group/chat
281
- agent-channeltalk snapshot --limit 10
279
+ # Filtered full snapshots
280
+ agent-channeltalk snapshot --full --groups-only
281
+ agent-channeltalk snapshot --full --chats-only
282
+
283
+ # Limit messages per group/chat (only with --full)
284
+ agent-channeltalk snapshot --full --limit 10
282
285
  ```
283
286
 
284
- Returns JSON with:
287
+ Default returns brief JSON with:
288
+
289
+ - Workspace metadata (id, name)
290
+ - Groups (id, name)
291
+ - UserChat summary (total count, by state)
292
+ - Hint for next commands
293
+
294
+ With `--full`, returns comprehensive JSON with:
285
295
 
286
296
  - Workspace metadata (id, name)
287
297
  - Groups with recent messages (id, name, messages)
@@ -92,28 +92,29 @@ done
92
92
  ```bash
93
93
  #!/bin/bash
94
94
 
95
- # Full snapshot for comprehensive context
95
+ # Get brief snapshot (default fast, minimal output)
96
96
  SNAPSHOT=$(agent-channeltalk snapshot)
97
97
 
98
98
  # Extract key info
99
99
  WORKSPACE=$(echo "$SNAPSHOT" | jq -r '.workspace.name')
100
100
  GROUP_COUNT=$(echo "$SNAPSHOT" | jq '.groups | length')
101
101
  OPEN_CHATS=$(echo "$SNAPSHOT" | jq '.user_chats.by_state.opened')
102
- MANAGER_COUNT=$(echo "$SNAPSHOT" | jq '.managers | length')
103
- BOT_COUNT=$(echo "$SNAPSHOT" | jq '.bots | length')
104
102
 
105
103
  echo "Workspace: $WORKSPACE"
106
104
  echo "Groups: $GROUP_COUNT"
107
105
  echo "Open chats: $OPEN_CHATS"
108
- echo "Managers: $MANAGER_COUNT"
109
- echo "Bots: $BOT_COUNT"
110
106
 
111
- # For focused views
112
- agent-channeltalk snapshot --groups-only # Just groups and messages
113
- agent-channeltalk snapshot --chats-only # Just UserChat summary
107
+ # List all groups
108
+ echo -e "\nGroups:"
109
+ echo "$SNAPSHOT" | jq -r '.groups[] | " \(.name) (\(.id))"'
110
+
111
+ # Then drill into specific resources for details
112
+ agent-channeltalk chat list --state opened --limit 10
113
+ agent-channeltalk manager list --limit 20
114
+ agent-channeltalk bot list --limit 20
114
115
  ```
115
116
 
116
- **When to use**: Start of every AI agent session, periodic context refresh, workspace audits.
117
+ **When to use**: Start of every AI agent session, periodic context refresh, workspace audits. Start with brief snapshot, then use targeted list commands for messages, managers, or bots.
117
118
 
118
119
  ## Pattern 5: Find Group by Name
119
120
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: agent-channeltalkbot
3
3
  description: Interact with Channel Talk workspaces using API credentials - send messages, read chats, manage groups and bots
4
- version: 2.8.0
4
+ version: 2.9.0
5
5
  allowed-tools: Bash(agent-channeltalkbot:*)
6
6
  metadata:
7
7
  openclaw:
@@ -274,21 +274,31 @@ agent-channeltalkbot bot delete <bot-id> --force
274
274
 
275
275
  ### Snapshot Command
276
276
 
277
- Get comprehensive workspace state for AI agents:
277
+ Get workspace overview for AI agents (brief by default):
278
278
 
279
279
  ```bash
280
- # Full snapshot of current workspace
280
+ # Brief snapshot (default) fast, minimal API calls
281
281
  agent-channeltalkbot snapshot
282
282
 
283
- # Filtered snapshots
284
- agent-channeltalkbot snapshot --groups-only
285
- agent-channeltalkbot snapshot --chats-only
283
+ # Full snapshot — includes messages, managers, bots (slow, large output)
284
+ agent-channeltalkbot snapshot --full
286
285
 
287
- # Limit messages per group/chat
288
- agent-channeltalkbot snapshot --limit 10
286
+ # Filtered full snapshots
287
+ agent-channeltalkbot snapshot --full --groups-only
288
+ agent-channeltalkbot snapshot --full --chats-only
289
+
290
+ # Limit messages per group/chat (only with --full)
291
+ agent-channeltalkbot snapshot --full --limit 10
289
292
  ```
290
293
 
291
- Returns JSON with:
294
+ Default returns brief JSON with:
295
+
296
+ - Workspace metadata (id, name, homepage_url, description)
297
+ - Groups (id, name)
298
+ - UserChat summary (opened/snoozed/closed counts)
299
+ - Hint for next commands
300
+
301
+ With `--full`, returns comprehensive JSON with:
292
302
 
293
303
  - Workspace metadata (id, name, homepage_url, description)
294
304
  - Groups with recent messages (id, name, messages)
@@ -112,28 +112,29 @@ fi
112
112
  ```bash
113
113
  #!/bin/bash
114
114
 
115
- # Full snapshot for comprehensive context
115
+ # Get brief snapshot (default fast, minimal output)
116
116
  SNAPSHOT=$(agent-channeltalkbot snapshot)
117
117
 
118
118
  # Extract key info
119
119
  WORKSPACE=$(echo "$SNAPSHOT" | jq -r '.workspace.name')
120
120
  GROUP_COUNT=$(echo "$SNAPSHOT" | jq '.groups | length')
121
121
  OPEN_CHATS=$(echo "$SNAPSHOT" | jq '.user_chats.opened_count')
122
- MANAGER_COUNT=$(echo "$SNAPSHOT" | jq '.managers | length')
123
- BOT_COUNT=$(echo "$SNAPSHOT" | jq '.bots | length')
124
122
 
125
123
  echo "Workspace: $WORKSPACE"
126
124
  echo "Groups: $GROUP_COUNT"
127
125
  echo "Open chats: $OPEN_CHATS"
128
- echo "Managers: $MANAGER_COUNT"
129
- echo "Bots: $BOT_COUNT"
130
126
 
131
- # For focused views
132
- agent-channeltalkbot snapshot --groups-only # Just groups and messages
133
- agent-channeltalkbot snapshot --chats-only # Just UserChat summary
127
+ # List all groups
128
+ echo -e "\nGroups:"
129
+ echo "$SNAPSHOT" | jq -r '.groups[] | " \(.name) (\(.id))"'
130
+
131
+ # Then drill into specific resources for details
132
+ agent-channeltalkbot chat list --state opened --limit 10
133
+ agent-channeltalkbot manager list
134
+ agent-channeltalkbot bot list
134
135
  ```
135
136
 
136
- **When to use**: Start of every AI agent session, periodic context refresh, workspace audits.
137
+ **When to use**: Start of every AI agent session, periodic context refresh, workspace audits. Start with brief snapshot, then use targeted list commands for chats, managers, or bots.
137
138
 
138
139
  ## Pattern 6: Search Messages Across Chats
139
140
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: agent-discord
3
3
  description: Interact with Discord servers - send messages, read channels, manage reactions
4
- version: 2.8.0
4
+ version: 2.9.0
5
5
  allowed-tools: Bash(agent-discord:*)
6
6
  metadata:
7
7
  openclaw:
@@ -318,21 +318,30 @@ agent-discord file info <channel-id> <file-id>
318
318
 
319
319
  ### Snapshot Command
320
320
 
321
- Get comprehensive server state for AI agents:
321
+ Get server overview for AI agents (brief by default):
322
322
 
323
323
  ```bash
324
- # Full snapshot
324
+ # Brief snapshot (default) — fast, minimal API calls
325
325
  agent-discord snapshot
326
326
 
327
- # Filtered snapshots
328
- agent-discord snapshot --channels-only
329
- agent-discord snapshot --users-only
327
+ # Full snapshot — includes messages and members (slow, large output)
328
+ agent-discord snapshot --full
330
329
 
331
- # Limit messages per channel
332
- agent-discord snapshot --limit 10
330
+ # Filtered full snapshots
331
+ agent-discord snapshot --full --channels-only
332
+ agent-discord snapshot --full --users-only
333
+
334
+ # Limit messages per channel (only with --full)
335
+ agent-discord snapshot --full --limit 10
333
336
  ```
334
337
 
335
- Returns JSON with:
338
+ Default returns brief JSON with:
339
+
340
+ - Server metadata (id, name)
341
+ - Channels (id, name) — text channels only
342
+ - Hint for next commands
343
+
344
+ With `--full`, returns comprehensive JSON with:
336
345
 
337
346
  - Server metadata (id, name)
338
347
  - Channels (id, name, type, topic)
@@ -77,28 +77,29 @@ done
77
77
  ```bash
78
78
  #!/bin/bash
79
79
 
80
- # Get full snapshot
80
+ # Get brief snapshot (default — fast, minimal output)
81
81
  SNAPSHOT=$(agent-discord snapshot)
82
82
 
83
83
  # Extract key information
84
84
  SERVER_NAME=$(echo "$SNAPSHOT" | jq -r '.server.name')
85
85
  CHANNEL_COUNT=$(echo "$SNAPSHOT" | jq -r '.channels | length')
86
- MEMBER_COUNT=$(echo "$SNAPSHOT" | jq -r '.members | length')
87
86
 
88
87
  echo "Server: $SERVER_NAME"
89
88
  echo "Channels: $CHANNEL_COUNT"
90
- echo "Members: $MEMBER_COUNT"
91
89
 
92
90
  # List all text channels
93
91
  echo -e "\nChannels:"
94
92
  echo "$SNAPSHOT" | jq -r '.channels[] | " #\(.name) (\(.id))"'
95
93
 
96
- # List recent activity
97
- echo -e "\nRecent messages:"
98
- echo "$SNAPSHOT" | jq -r '.recent_messages[] | " [\(.channel_name)] \(.author): \(.content[0:50])"'
94
+ # Then drill into a specific channel for recent activity
95
+ CHANNEL_ID=$(echo "$SNAPSHOT" | jq -r '.channels[0].id // empty')
96
+ if [ -n "$CHANNEL_ID" ]; then
97
+ echo -e "\nRecent messages:"
98
+ agent-discord message list "$CHANNEL_ID" --limit 10
99
+ fi
99
100
  ```
100
101
 
101
- **When to use**: Initial context gathering, status reports, server summaries.
102
+ **When to use**: Initial context gathering, status reports, server summaries. Start with brief snapshot, then use `message list <channel-id>` or `user list` for details.
102
103
 
103
104
  ## Pattern 4: Find Channel by Name
104
105