subagentceo/knowledge-engineering/requests-and-streaming
Claude Code and agent skill by subagentceo/knowledge-engineering
- community
Checking that the SKILL.md file is still in the repository.
The request-construction and streaming deltas for Claude on Bedrock vs Vertex — converse / converse_stream with inference_config and AWS event shapes vs anthropic[vertex] messages.create / messages.stream with Anthropic event types. Trigger when wiring max_tokens / temperature / stop sequences / system prompts on a cloud platform, or when consuming a streamed response and the event field names differ from the first-party SDK.
Install
npx vskill@latest install subagentceo/knowledge-engineering/requests-and-streamingSKILL.md
The same SKILL.md was published earlier as subagentceo/knowledge-engineering/requests-and-streaming.
Requests and streaming: the per-platform deltas
Distilled from the Claude with Amazon Bedrock and Claude with Google Cloud Vertex AI courses.
Overview
The meaning of every parameter (system prompt, temperature, max tokens, stop sequences) is the same as the first-party API — see claude-api. What differs is where the parameter goes (Bedrock bundles temperature/stop into inferenceConfig; Vertex uses top-level kwargs) and what the streamed events look like (contentBlockDelta vs content_block_delta).
Quick reference
| Bedrock | Vertex | ||
|---|---|---|---|
| Non-stream call | converse | messages.create | |
| Stream call | converse_stream → response["stream"] | messages.create(stream=True) or messages.stream() | |
| Temperature/stop | inside inferenceConfig | top-level kwargs | |
| System prompt | list-of-dicts via system= | plain string via system= | |
| Text-bearing event | contentBlockDelta | content_block_delta (or stream.text_stream) |
Scripts
- `scripts/bedrock_streaming.py` —
converse_stream, iterateresponse["stream"]. - `scripts/vertex_streaming.py` — Anthropic SDK raw iterator +
messages.stream()context manager.
References
- Inference parameters: where they live — system prompt, temperature, stop sequences, max_tokens, and prefill wiring per platform.
- Streaming: the per-platform event-shape deltas — event ordering and which events carry text.
Source
Course notes: "System Prompts", "Temperature", "Controlling Model Output", "Streaming" (Bedrock); "System Prompts", "Temperature", "Controlling Model Output", "Response Streaming" (Vertex) — projects/courses/{bedrock,vertex} files.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsrc/course-plugins/claude-deployments/skills/requests-and-streaming/SKILL.md
Popularity
- Repository stars
- 2
- 7-day trend score
- 10
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/subagentceo/knowledge-engineering/requests-and-streaming)