jadecli/researchers/claude-api

Claude Code and agent skill by jadecli/researchers

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use the Anthropic Claude API with examples in 7 programming languages.

Install

npx vskill@latest install jadecli/researchers/claude-api

SKILL.md

The same SKILL.md was published earlier as jadecli/researchers/claude-api.

claude-api

Use the Anthropic Claude API with examples in 7 programming languages.

Usage

Use this skill when you need to integrate the Anthropic Claude API into a project. SDK examples are provided for:

  • Python: Using the anthropic package with native streaming support.
  • TypeScript: Using @anthropic-ai/sdk with async/await patterns.
  • Go: Using github.com/anthropics/anthropic-sdk-go with context support.
  • Java: Using com.anthropic:anthropic-java with builder patterns.
  • C#: Using REST API with HttpClient and System.Text.Json.
  • Ruby: Using Net::HTTP with SSE streaming.
  • PHP: Using cURL with streaming callback.

API Patterns Demonstrated

1. Create Message

Basic message creation with a single user prompt. Shows model selection, max tokens, and response parsing.

2. Tool Use (Function Calling)

Define tools with JSON schemas, send a message that triggers tool use, parse the tool call, provide a tool result, and get the final response.

3. Streaming

Stream responses token-by-token using SSE (Server-Sent Events). Shows event parsing and incremental text collection.

Environment Setup

All examples require:

bash
export ANTHROPIC_API_KEY="your-api-key-here"

Running Examples

bash
# Python
python sdk_examples/python_example.py
# TypeScript
npx ts-node sdk_examples/typescript_example.ts
# Go
go run sdk_examples/go_example.go
# Java
javac -cp anthropic-java.jar sdk_examples/java_example.java
# C#
dotnet run sdk_examples/csharp_example.cs
# Ruby
ruby sdk_examples/ruby_example.rb
# PHP
php sdk_examples/php_example.php

Instructions

  1. Choose the language that matches your project.
  2. Review the example file for that language in sdk_examples/.
  3. Copy and adapt the relevant patterns (message creation, tool use, streaming).
  4. Ensure your ANTHROPIC_API_KEY environment variable is set.
  5. Install the language-specific SDK package as noted in the example file.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1
Repository forks
1
7-day trend score
8

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/jadecli/researchers/claude-api/badge)](https://verified-skill.com/skills/jadecli/researchers/claude-api)

Something wrong with this skill or its page? Tell us.