using-anthropic-platform

using-anthropic-platform is a skill for Claude Code from FortiumPartners/ensemble. It costs 24 tokens per session (2,439 once invoked), scanned A, original, MIT.

A reference for building software with Anthropic's Claude AI services. It covers the Claude SDK, the Messages API, streaming responses, tool use, extended thinking, vision, and prompt caching.

In plain words
What is it for?
Use it when adding Claude to an application, including chat, streaming, image understanding, tool calls, or cached prompts.
Why use it?
It helps developers choose and connect Claude features without having to assemble the integration patterns themselves.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument.

Part of the ensemble-ai plugin — 5 skills shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/fortiumpartners/ensemble/using-anthropic-platform
Any agent
npx skills add FortiumPartners/ensemble --skill using-anthropic-platform
Clone the repo
git clone --depth 1 https://github.com/FortiumPartners/ensemble

Made for: Claude Code.

Or install ensemble-ai, the plugin that ships this one along with the rest of its 5 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for using-anthropic-platform

README.md
[![agentmods](https://agentmods.dev/badge/skills/fortiumpartners/ensemble/using-anthropic-platform.svg)](https://agentmods.dev/skills/fortiumpartners/ensemble/using-anthropic-platform)
Your own site
<a href="https://agentmods.dev/skills/fortiumpartners/ensemble/using-anthropic-platform"><img src="https://agentmods.dev/badge/skills/fortiumpartners/ensemble/using-anthropic-platform.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,439 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00024 $0.02439
Opus 5 $0.00012 $0.01220
Sonnet 5 $0.00005 $0.00488
Haiku 4.5 $0.00002 $0.00244

Measured 6d ago against content hash 36c1d5a5ecc7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

using-anthropic-platform scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

The scan reads SKILL.md. This mod also ships 9 executable files (examples/basic-chat.example.py, examples/streaming.example.py, examples/tool-use.example.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/ai/skills/using-anthropic-platform/SKILL.md · 378 lines

How it starts

The opening of the file, as written. The whole thing — 378 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Anthropic Claude SDK - Quick Reference

When to Use

Load this skill when:

  • anthropic package in requirements.txt or pyproject.toml
  • @anthropic-ai/sdk in package.json dependencies
  • ANTHROPIC_API_KEY environment variable present
  • User mentions "Anthropic", "Claude", or Claude models

For detailed patterns: See REFERENCE.md


Table of Contents

  1. Claude Models
  2. Quick Start
  3. Messages API Essentials
  4. Streaming
  5. Tool Use (Function Calling)
  6. Extended Thinking
  7. Vision
  8. Prompt Caching
  9. Error Handling
  10. Platform Features
  11. Further Reading

Claude Models (January 2026)

Model Context Max Output Thinking Best For
claude-opus-4-5-20251101 200K 32K Yes Maximum intelligence
claude-sonnet-4-20250514 200K 64K Yes Complex reasoning, coding
claude-3-5-sonnet-20241022 200K 8K No Standard tasks
claude-3-5-haiku-20241022 200K 8K No Simple chat, Q&A (cheapest)

Model Selection

Simple chat/Q&A           -> claude-3-5-haiku (cheapest)
Standard tasks            -> claude-3-5-sonnet
Complex reasoning/coding  -> claude-sonnet-4 or claude-opus-4-5
Extended thinking needed  -> claude-sonnet-4 or claude-opus-4-5
Batch processing          -> Any model (50% cost savings)

Pricing (per 1M tokens)

Model Input Output Cache Read
claude-opus-4-5 $15.00 $75.00 $1.50
claude-sonnet-4 $3.00 $15.00 $0.30
claude-3-5-sonnet $3.00 $15.00 $0.30
claude-3-5-haiku $0.80 $4.00 $0.08

Quick Start

Python

from anthropic import Anthropic

client = Anthropic()  # Uses ANTHROPIC_API_KEY env var

message = client.messages.create(
    model="claude-sonnet-4-20250514",
    max_tokens=1024,
    messages=[{"role": "user", "content": "Hello, Claude!"}]
)
print(message.content[0].text)

Read the full file on GitHub · 378 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 378 lines · 24 tokens per session scan A 36c1d5a5ecc7

Subscribe to this mod's changes

using-anthropic-platform is a skill published in the GitHub repository FortiumPartners/ensemble (11 stars, last pushed 1mo ago), licensed MIT. It adds 24 tokens to every session and 2,439 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

rag-retrieval

Retrieval-Augmented Generation patterns for grounded LLM responses. Use when building RAG pipelines, embedding documents, implementing hybrid search, contextual retrieval, HyDE, agentic RAG, multimodal RAG, query decomposition, reranking, or pgvector search.

yonatangross/orchestkit · 58 tokens

testing-llm

LLM and AI testing patterns — mock responses, evaluation with DeepEval/RAGAS, structured output validation, and agentic test patterns (generator, healer, planner). Use when testing AI features, validating LLM outputs, or building evaluation pipelines.

yonatangross/orchestkit · 55 tokens

golden-dataset

Golden dataset lifecycle patterns for curation, versioning, quality validation, and CI integration. Use when building evaluation datasets, managing dataset versions, validating quality scores, or integrating golden tests into pipelines.

yonatangross/orchestkit · 44 tokens

llm-integration

LLM integration patterns for function calling, streaming responses, local inference with Ollama, and fine-tuning customization. Use when implementing tool use, SSE streaming, local model deployment, LoRA/QLoRA fine-tuning, or multi-provider LLM APIs.

yonatangross/orchestkit · 58 tokens

neurolink-guide

Guide for using the NeuroLink SDK and CLI. Invoke when users ask how to use neurolink, integrate AI providers, add MCP tools, configure RAG, set up memory, deploy servers, or work with multimodal content. Covers SDK, CLI, providers, tools, and enterprise features.

juspay/neurolink · 65 tokens

webiny-api-cms-content-models

Creating Headless CMS content models via code using the ModelFactory pattern. Use this skill when the developer wants to create, modify, or understand content model definitions, define fields and validators, set up reference fields between models, configure field layouts (including nested layouts inside object or…

webiny/webiny-js · 297 tokens