Sub-skill of rag-system-builder: Streaming Responses.
Scanned 9/9/2026
Install to Claude Code
npx -y skills add vamseeachanta/workspace-hub --skill streaming-responses --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Streaming Responses?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/vamseeachanta-streaming-responses)More formats (shields.io, HTML) on the badges page.
---
name: rag-system-builder-streaming-responses
description: 'Sub-skill of rag-system-builder: Streaming Responses.'
version: 1.2.0
category: data
type: reference
scripts_exempt: true
---
# Streaming Responses
## Streaming Responses
For better UX with long answers:
```python
def query_streaming(self, question, top_k=5):
"""Stream RAG response for real-time display."""
context = self.get_context(question, top_k)
prompt = self.build_prompt(context, question)
# Anthropic streaming
with anthropic.Anthropic().messages.stream(
model="Codex-sonnet-4-6",
max_tokens=1024,
messages=[{"role": "user", "content": prompt}]
) as stream:
for text in stream.text_stream:
yield text
```
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!