Sse Streaming

🌐Community
by dadbodgeoff Β· vlatest Β· Repository

SSE Streaming provides live data updates as they become available, ideal for real-time applications and efficient data consumption.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add sse-streaming npx -- -y @trustedskills/sse-streaming
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "sse-streaming": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/sse-streaming"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

The sse-streaming skill enables AI agents to transmit data in a Server-Sent Events (SSE) stream. This allows for real-time updates and progress indicators, rather than waiting for the entire result to be generated before sending anything back. It's particularly useful when dealing with long-running processes or large datasets where incremental delivery is beneficial.

When to use it

  • Generating Long Text: Displaying text generation (like a novel chapter) piece by piece as it’s created, providing user feedback on progress.
  • Real-time Data Feeds: Streaming data from an API or database, such as stock prices or sensor readings.
  • Progress Indicators: Showing the status of a lengthy calculation or file processing task.
  • Interactive Applications: Building interactive experiences where data is continuously updated and displayed to the user.

Key capabilities

  • SSE Stream Output: Sends data incrementally using the Server-Sent Events protocol.
  • Real-time Updates: Provides near-instantaneous feedback to users.
  • Progressive Display: Allows for partial results to be shown before completion.

Example prompts

  • "Write a short story and stream it to me as you write each sentence."
  • "Fetch the latest stock prices for Apple, Google, and Microsoft and display them in real-time."
  • "Calculate pi to 100 digits and show me one digit at a time."

Tips & gotchas

The agent needs access to an environment that supports SSE streaming. Ensure your backend infrastructure is configured to handle and deliver SSE responses efficiently.

Tags

πŸ›‘οΈ

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates β€” what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
dadbodgeoff
Installs
22

🌐 Community

Passed automated security scans.