Install and configure the Anthropic SDK for Claude API access.

MITAuto-check: notesAI & LLM Engineering

Install Clade Install Auth

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill clade-install-auth -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace clade-install-auth --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/.curated/clade-install-auth .claude/skills/clade-install-auth && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
clade-install-auth
GitHub stars
2.8k
Token cost
~951 tokens
SKILL.md length
171 words
Files
2 (incl. references)
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Install and configure the Anthropic SDK for Claude API access.

  • Works in 3 steps: Install SDK → Configure API Key → Verify Connection
  • Setting up Claude integration
  • SKILL.md covers Overview, Prerequisites, Instructions and Output, plus 4 more sections
  • Calls npm and pip; needs ANTHROPIC_API_KEY

What it does

Clade Install Auth is an agent skill from jeremylongshore/tons-of-skills-marketplace. Install and configure the Anthropic SDK for Claude API access. Use when setting up Claude integration, configuring API keys, or initializing the Anthropic client in your project. Trigger with phrases like "install anthropic", "setup claude api", "anthropic auth", "configure anthropic API key".

Its SKILL.md is about 950 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/one-pager.md`). Compatibility notes: Designed for Claude Code

It sits in AI & LLM Engineering, covering LLM API integration. It works with Anthropic API. The repository describes itself as: Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com. The licence is MIT.

When your agent uses it

  • Setting up Claude integration
  • Configuring API keys
  • Initializing the Anthropic client in your project
  • With phrases like install anthropic

Example prompts

  • “install anthropic”
  • “setup claude api”
  • “anthropic auth”
  • “/clade-install-auth”

Requirements

  • Python 3
  • Node.js
  • A credential in ANTHROPIC_API_KEY
  • Compatibility (from SKILL.md): Designed for Claude Code
  • Pre-approved tools (allowed-tools): Read, Write, Edit, Bash(npm:*), Bash(pip:*), Grep

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Install SDK
  2. Configure API Key
  3. Verify Connection

What it can do on your machine

Read from SKILL.md and the folder at commit cfae287. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Bash(npm:*)
    • Bash(pip:*)
    • Grep

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm
    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • console.anthropic.com
    • platform.claude.com
    • status.anthropic.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • ANTHROPIC_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Designed for Claude Code

    From compatibility in the SKILL.md frontmatter.

Context cost

Clade Install Auth loads about 951 tokens when it runs, and up to ~1.4k if it reads all its reference files. Until then it costs about 78 tokens; SKILL.md has 171 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~78
When it runs · the whole SKILL.md, loaded when a task matches
~951
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:55
    # Or add to .env file
  • NoteMentions a .env fileSKILL.md:56
    'ANTHROPIC_API_KEY=sk-ant-api03-...' >> .env

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from jeremylongshore/tons-of-skills-marketplace at commit cfae287, republished under its MIT licence (© jeremylongshore). 171 words, ~951 tokens.

Download SKILL.mdSave it as .claude/skills/clade-install-auth/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
clade-install-auth
description
Install and configure the Anthropic SDK for Claude API access. Use when setting up Claude integration, configuring API keys, or initializing the Anthropic client in your project. Trigger with phrases like "install anthropic", "setup claude api", "anthropic auth", "configure anthropic API key".
allowed-tools
Read, Write, Edit, Bash(npm:*), Bash(pip:*), Grep
compatibility
Designed for Claude Code
version
1.1.0
license
MIT
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
saas, anthropic, claude, ai

Anthropic Install & Auth

Overview

Set up the Anthropic SDK and configure your API key to start using Claude models.

Prerequisites

  • Node.js 18+ or Python 3.10+
  • Anthropic account at console.anthropic.com
  • API key from Settings → API Keys (starts with sk-ant-)

Instructions

Step 1: Install SDK
bash
# Node.js / TypeScript
npm install @claude-ai/sdk

# Python
pip install anthropic
Step 2: Configure API Key
bash
# Set environment variable (recommended)
export ANTHROPIC_API_KEY="sk-ant-api03-..."

# Or add to .env file
echo 'ANTHROPIC_API_KEY=sk-ant-api03-...' >> .env

Important: Never hardcode API keys. Use environment variables or a secrets manager. Keys start with sk-ant-.

Step 3: Verify Connection
typescript
import Anthropic from '@claude-ai/sdk';

const client = new Anthropic(); // reads ANTHROPIC_API_KEY from env

const message = await client.messages.create({
  model: 'claude-sonnet-4-20250514',
  max_tokens: 64,
  messages: [{ role: 'user', content: 'Say "connected" in one word.' }],
});
console.log(message.content[0].text); // "Connected"
python
import anthropic

client = anthropic.Anthropic()  # reads ANTHROPIC_API_KEY from env

message = client.messages.create(
    model="claude-sonnet-4-20250514",
    max_tokens=64,
    messages=[{"role": "user", "content": "Say 'connected' in one word."}],
)
print(message.content[0].text)  # "Connected"

Output

  • @claude-ai/sdk in node_modules or anthropic in site-packages
  • ANTHROPIC_API_KEY environment variable set
  • Successful Claude response confirming API access

Error Handling

ErrorCauseSolution
authentication_error (401)API key missing, invalid, or revokedCheck key at console.anthropic.com → API Keys
permission_error (403)Key lacks access to requested modelVerify workspace has model access enabled
ModuleNotFoundErrorSDK not installedpip install anthropic or npm i @claude-ai/sdk
Could not resolve hostNetwork/DNS issueCheck internet connectivity and proxy settings

Examples

TypeScript Setup
typescript
import Anthropic from '@claude-ai/sdk';

// Default: reads ANTHROPIC_API_KEY from environment
const client = new Anthropic();

// Explicit key (for testing only — don't hardcode in production)
const client = new Anthropic({ apiKey: 'sk-ant-api03-...' });

// Custom base URL (for proxies or Vertex AI)
const client = new Anthropic({
  baseURL: 'https://your-proxy.example.com',
});
Python Setup
python
import anthropic

# Default: reads ANTHROPIC_API_KEY from environment
client = anthropic.Anthropic()

# Explicit key
client = anthropic.Anthropic(api_key="sk-ant-api03-...")

# Async client
client = anthropic.AsyncAnthropic()

Resources

Next Steps

After successful auth, proceed to clade-hello-world for your first Claude conversation.

© jeremylongshore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in skills/.curated/clade-install-auth of jeremylongshore/tons-of-skills-marketplace.

  • SKILL.md
  • references/one-pager.md

Open the folder on GitHubat commit cfae287

Compare with similar skills

Clade Install Auth next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Clade Install Auth compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Clade Install Auth this skilljeremylongshore/tons-of-skills-marketplace2.8k—~951Automated safety check: NotesMIT
Claude APIterrense/LilBot-agent121—~155Automated safety check: PassNone
Claude API In Prototypesasgeirtj/system_prompts_leaks69k—~281Automated safety check: PassCC0-1.0
Claude APIkid-sid/claude-spellbook190—~2.7kAutomated safety check: PassMIT
Claude API Helpergrandamenium/cortextos101—~467Automated safety check: PassMIT
Claude Cookbooks Reference2025Emma/vibe-coding-cn23k1 repos~2.2kAutomated safety check: PassMIT

Similar skills

  • Claude API

    terrense/LilBot-agent

    Help with Claude/LLM API usage, models, and integration patterns.

    121 GitHub stars~155 tokensUpdated 3 mo ago
    AI & LLM EngineeringAuto-check passed
  • Claude API In Prototypes

    asgeirtj/system_prompts_leaks

    Call Claude from your HTML artifacts via window.claude.complete

    69k GitHub stars~281 tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Claude API

    kid-sid/claude-spellbook

    A skill your agent uses when building or debugging apps that call the Claude API — implementing tool use, streaming, vision, prompt caching, batch processing, extended thinking, or an agentic loop…

    190 GitHub stars~2.7k tokensUpdated 2 mo ago
    AI & LLM EngineeringAuto-check passed
  • Claude API Helper

    grandamenium/cortextos

    Build applications with the Claude API and Anthropic SDKs. An agent skill from grandamenium/cortextos.

    101 GitHub stars~467 tokensUpdated 18 days ago
    AI & LLM EngineeringAuto-check passed
  • Claude Cookbooks Reference

    2025Emma/vibe-coding-cn

    Reference of Claude API examples and guides covering tool use, vision, RAG, classification, summarization, text-to-SQL, prompt caching and agent patterns.

    23k GitHub starsUsed in 1 repo~2.2k tokens
    AI & LLM EngineeringAuto-check passed
  • Gives text-only models sight by running the modlens CLI on an image path or URL and returning structured JSON evidence with transcribed text, layout and semantics.

    4.2k GitHub stars~1.3k tokensUpdated 7 days ago
    AI & LLM EngineeringAuto-check: notes

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Adapting Transfer Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill automates the adaptation of pre-trained machine learning models using transfer learning techniques.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Agent Context Loader

    jeremylongshore/tons-of-skills-marketplace

    Execute proactive auto-loading: automatically detects and loads agents.md files.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Aggregating Performance Metrics

    jeremylongshore/tons-of-skills-marketplace

    Aggregate and centralize performance metrics from applications, systems, databases, caches, and services.

    2.8k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Analyzing Capacity Planning

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to analyze capacity requirements and plan for future growth.

    2.8k GitHub stars~947 tokensUpdated today
    Auto-check passed
  • Analyzing Database Indexes

    jeremylongshore/tons-of-skills-marketplace

    Process use when you need to work with database indexing. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~2k tokensUpdated today
    Auto-check passed

Works with

Questions about Clade Install Auth

What does Clade Install Auth do?

Install and configure the Anthropic SDK for Claude API access. Clade Install Auth is an agent skill from jeremylongshore/tons-of-skills-marketplace. Install and configure the Anthropic SDK for Claude API access.

When should I use Clade Install Auth?

Clade Install Auth fits situations like: setting up Claude integration; configuring API keys; initializing the Anthropic client in your project; with phrases like install anthropic.

How do I install Clade Install Auth in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill clade-install-auth -a claude-code`. Or copy the skill folder (skills/.curated/clade-install-auth in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/clade-install-auth in your project. Claude Code loads it when a task matches its description.

How do I install Clade Install Auth in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill clade-install-auth -a codex`. Or copy the skill folder (skills/.curated/clade-install-auth in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/clade-install-auth in your project. Codex loads it when a task matches its description.

Can I use Clade Install Auth in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill clade-install-auth -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/clade-install-auth, .gemini/skills/clade-install-auth, .github/skills/clade-install-auth and .opencode/skills/clade-install-auth in your project.

What does Clade Install Auth need to run?

Going by SKILL.md and its folder, Clade Install Auth needs the command-line tools its instructions call (npm and pip) and credentials named ANTHROPIC_API_KEY. Our summary lists: Python 3; Node.js; A credential in ANTHROPIC_API_KEY. Its frontmatter pre-approves these tools: Read, Write, Edit, Bash(npm:*), Bash(pip:*), Grep. Compatibility (from SKILL.md): Designed for Claude Code.

Does Clade Install Auth access the network?

SKILL.md names 3 domains. As links in the text: console.anthropic.com, platform.claude.com and status.anthropic.com. This is read from the text; nothing was executed.

Is Clade Install Auth safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Clade Install Auth use?

Clade Install Auth is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Clade Install Auth use?

About 951 tokens (SKILL.md is roughly 3.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 403 tokens, read only when the agent opens those files.

What are the alternatives to Clade Install Auth?

Skills that share tags, products or a category with Clade Install Auth: Claude API (terrense/LilBot-agent, 121 stars), Claude API In Prototypes (asgeirtj/system_prompts_leaks, 69k stars), Claude API (kid-sid/claude-spellbook, 190 stars) and Claude API Helper (grandamenium/cortextos, 101 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Clade Install Auth?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,827 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 10, 2026.

Source: jeremylongshore/tons-of-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.