subagentceo/knowledge-engineering/making-requests
Claude Code and agent skill by subagentceo/knowledge-engineering
- community
Checking that the SKILL.md file is still in the repository.
How to make a basic Anthropic Messages API request and manage conversation state. Trigger when picking between Opus/Sonnet/Haiku, setting up the anthropic SDK client, calling client.messages.create(), building multi-turn message history, writing a system prompt, or tuning temperature for creative vs factual output.
Install
npx vskill@latest install subagentceo/knowledge-engineering/making-requestsSKILL.md
The same SKILL.md was published earlier as subagentceo/knowledge-engineering/making-requests.
Making Requests
Distilled from the Building with the Claude API course.
Overview
How a request flows from client to the Anthropic API, which model family to pick, and how to maintain conversation state across turns. The API is stateless: you resend the full message history on every call. Pick the model by priority (intelligence → Opus, speed → Haiku, balanced → Sonnet), steer behavior with a system prompt, and tune randomness with temperature.
Quick start
Required inputs: API key, model name, messages list, max_tokens. See scripts/basic_request.py for the full client setup, and scripts/conversation_helpers.py for add_user_message / add_assistant_message / chat with system prompt and temperature.
References
- references/model-selection.md — Opus/Sonnet/Haiku tradeoffs and the selection rule.
- references/api-access-flow.md — client→server→API flow, why you never call the API from a client, setup, and token generation under the hood.
- references/multi-turn-state.md — stateless multi-turn history, system prompts, and temperature.
Source
Course notes: "Overview of Claude Models", "Accessing the API", "Making a Request", "Multi-Turn Conversations", "System Prompts", "Temperature" — projects/courses/building-with-the-claude-api__1p.txt
Security
- Security scanPassed, 95 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-api/skills/making-requests/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/making-requests)