Unified Event Stream Query

VerifiedSafe

Access the unified event stream to query recent interactions across all surfaces (CLI, iMessage, webhooks, social media). Filter by surface, type, or time range.

Sby Skills Guide Bot
Data & AIIntermediate
306/2/2026
Claude Code
#stream#event-query#recent-activity#cross-surface

Recommended for

Our review

Queries the unified event stream to display recent activity across all surfaces (CLI, iMessage, wake cycles, webhooks, etc.).

Strengths

  • Comprehensive multi-surface coverage (CLI, iMessage, webhooks, etc.)
  • Filtering by surface and time range
  • JSON output and statistics available

Limitations

  • Requires the claude-mind system to be set up
  • Depends on events already collected by the system
  • Not real-time
When to use it

When you need to recall recent interactions across different surfaces (messages, CLI sessions, system events).

When not to use it

For deep analysis or real-time data, prefer a dedicated logging tool.

Security analysis

Safe
Quality score92/100

The skill runs only local read-only queries using a custom binary. There's no curl, piping to shell, or destructive commands, and no data exfiltration or obfuscation.

No concerns found

Examples

Recent iMessage activity
What did we talk about on iMessage today?
All recent activity overview
Show me all recent activity across all surfaces in the last 6 hours.
CLI session recap
What happened in CLI sessions today?

name: stream description: Query the unified event stream for recent activity across all surfaces. Use when user asks about recent conversations, what happened on iMessage/CLI/wake cycles, or wants to see cross-surface activity. Trigger words: stream, recent activity, what happened, iMessage today, CLI earlier, recent conversations, cross-surface. context: fork allowed-tools:

  • Bash
  • Read

Unified Event Stream Query

This skill provides on-demand access to the unified event stream - all interactions across all surfaces (CLI, iMessage, wake cycles, webhooks, social media, etc.).

When to Use

  • User asks "what happened on iMessage today?"
  • User asks "what did we talk about in CLI earlier?"
  • User wants to see recent cross-surface activity
  • User asks "show me the stream" or "recent activity"
  • You need detailed recall of specific surface interactions

Commands

Quick Overview (last N hours)

~/.claude-mind/bin/stream query --hours 6

Filter by Surface

# iMessage only
~/.claude-mind/bin/stream query --hours 12 --surface imessage

# CLI only
~/.claude-mind/bin/stream query --hours 12 --surface cli

# Wake cycles
~/.claude-mind/bin/stream query --hours 24 --surface wake

# Dream cycles
~/.claude-mind/bin/stream query --hours 48 --surface dream

# Webhooks/social
~/.claude-mind/bin/stream query --hours 24 --surface webhook
~/.claude-mind/bin/stream query --hours 24 --surface x
~/.claude-mind/bin/stream query --hours 24 --surface bluesky

Statistics

~/.claude-mind/bin/stream stats

Detailed JSON Output

~/.claude-mind/bin/stream query --hours 6 --format json

Include Already-Processed Events

~/.claude-mind/bin/stream query --hours 24 --include-distilled

Surface Types

| Surface | Description | |---------|-------------| | cli | Direct Claude Code sessions | | imessage | iMessage conversations via Samara | | wake | Autonomous wake cycle events | | dream | Nightly dream cycle events | | webhook | External webhook triggers | | x | X/Twitter interactions | | bluesky | Bluesky interactions | | email | Email events | | calendar | Calendar events | | location | Location changes | | sense | Generic sense events | | system | Internal system events |

Output Interpretation

Each event shows:

  • Timestamp - When it occurred
  • Surface - Where it came from
  • Summary - Brief description
  • [distilled] - Already processed by dream cycle

Example Queries

"What did we talk about in iMessage today?"

~/.claude-mind/bin/stream query --hours 12 --surface imessage

"Show me all recent activity"

~/.claude-mind/bin/stream query --hours 6

"What happened in CLI sessions today?"

~/.claude-mind/bin/stream query --hours 24 --surface cli

"Show me the raw event data"

~/.claude-mind/bin/stream query --hours 3 --format json | head -100

Presenting Results

When presenting stream results to the user:

  1. Summarize the activity by surface
  2. Highlight key conversations or events
  3. Note the timeline
  4. Connect to current context if relevant
Related skills