Agent skill

Claude API Helper

by grandamenium in grandamenium/cortextos

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

MITAuto-check passedAI & LLM Engineering

Install Claude API Helper

skills CLI
$ npx skills add grandamenium/cortextos --skill claude-api-helper -a claude-code

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

GitHub CLI
$ gh skill install grandamenium/cortextos claude-api-helper --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/grandamenium/cortextos.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/claude-api-helper .claude/skills/claude-api-helper && 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
claude-api-helper
GitHub stars
101
Token cost
~467 tokens
SKILL.md length
56 words
Files
1
Skills in repo
55
Repo updated
First seen
Licence
MIT

At a glance

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

  • Tasks that involve LLM API integration
  • SKILL.md covers Quick Start, Key Patterns and Best Practices
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Claude API Helper is an agent skill from grandamenium/cortextos. Build applications with the Claude API and Anthropic SDKs. Covers Messages API, streaming, tool use, vision, and best practices.

Its SKILL.md is about 470 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering, covering LLM API integration. It works with Anthropic API. The licence is MIT.

When your agent uses it

  • Tasks that involve LLM API integration

Example prompts

  • “/claude-api-helper”

Requirements

  • Python 3

What it can do on your machine

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

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are python).

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

  • Network

    No URLs in SKILL.md.

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

  • Credentials

    Names no API keys, tokens, secrets or passwords.

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

Context cost

Claude API Helper loads about 467 tokens when it runs. Until then it costs about 37 tokens; SKILL.md has 56 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~37
When it runs · the whole SKILL.md, loaded when a task matches
~467

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 passed

The automated check found no risky patterns in SKILL.md.

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 grandamenium/cortextos at commit 6f93838, republished under its MIT licence (© grandamenium). 56 words, ~467 tokens.

Download SKILL.mdSave it as .claude/skills/claude-api-helper/SKILL.md (or your agent's skills folder).
name
claude-api-helper
description
Build applications with the Claude API and Anthropic SDKs. Covers Messages API, streaming, tool use, vision, and best practices.
homepage
https://docs.anthropic.com/en/api
tags
api, anthropic, sdk, development

Claude API Helper

Reference skill for building with the Claude API (Messages API, Python/TypeScript SDKs).

Quick Start

python
import anthropic

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

Key Patterns

Streaming
python
with client.messages.stream(
    model="claude-sonnet-4-20250514",
    max_tokens=1024,
    messages=[{"role": "user", "content": "Write a story"}]
) as stream:
    for text in stream.text_stream:
        print(text, end="", flush=True)
Tool Use
python
tools = [{
    "name": "get_weather",
    "description": "Get current weather for a location",
    "input_schema": {
        "type": "object",
        "properties": {
            "location": {"type": "string", "description": "City name"}
        },
        "required": ["location"]
    }
}]
Vision
python
message = client.messages.create(
    model="claude-sonnet-4-20250514",
    max_tokens=1024,
    messages=[{
        "role": "user",
        "content": [
            {"type": "image", "source": {"type": "base64", "media_type": "image/png", "data": base64_data}},
            {"type": "text", "text": "What's in this image?"}
        ]
    }]
)

Best Practices

  • Use system prompts for consistent behavior
  • Set appropriate max_tokens (don't over-allocate)
  • Handle rate limits with exponential backoff
  • Use streaming for long responses
  • Cache system prompts with prompt caching for cost savings

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

Files

Just SKILL.md in skills/claude-api-helper of grandamenium/cortextos.

Open the folder on GitHubat commit 6f93838

Compare with similar skills

Claude API Helper 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.

Claude API Helper compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Claude API Helper this skillgrandamenium/cortextos101—~467Automated safety check: PassMIT
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
Clade Hello Worldjeremylongshore/tons-of-skills-marketplace2.8k—~873Automated safety check: PassMIT
Clade Install Authjeremylongshore/tons-of-skills-marketplace2.8k—~951Automated safety check: NotesMIT

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
  • Clade Hello World

    jeremylongshore/tons-of-skills-marketplace

    Send your first message to Claude using the Anthropic SDK. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~873 tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Clade Install Auth

    jeremylongshore/tons-of-skills-marketplace

    Install and configure the Anthropic SDK for Claude API access.

    2.8k GitHub stars~951 tokensUpdated yesterday
    AI & LLM EngineeringAuto-check: notes
  • Clade Load Scale

    jeremylongshore/tons-of-skills-marketplace

    Scale Claude usage for high-throughput applications — batches, queues, Use when working with load-scale patterns.

    2.8k GitHub stars~922 tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed

More from grandamenium/cortextos

All 55 skills in this repo
  • Cortext Self Diagnosis

    grandamenium/cortextos

    Diagnose cortextOS itself when the framework misbehaves — an agent has gone silent or wedged, agents are crash-looping, Telegram or agent-to-agent messages are not arriving, crons did not fire, an…

    101 GitHub stars~3.7k tokensUpdated 18 days ago
    Auto-check passed
  • Activity Channel

    grandamenium/cortextos

    You have completed something significant and want the whole org — all agents and the user — to know about it.

    101 GitHub stars~624 tokensUpdated 18 days ago
    Auto-check passed
  • Agentcard Purchase

    grandamenium/cortextos

    You need to make a purchase on behalf of the user — buy a SaaS subscription, pay for an API, purchase a domain, or any transaction requiring a credit card.

    101 GitHub stars~1.1k tokensUpdated 18 days ago
    Auto-check passed
  • Claude To Codex Migration

    grandamenium/cortextos

    Migrate ANY cortextOS agent from the claude-code runtime to the live codex-app-server runtime.

    101 GitHub stars~12k tokensUpdated 18 days ago
    Auto-check: warnings
  • Bus Reference

    grandamenium/cortextos

    Complete cortextos bus CLI reference - all available commands with examples.

    101 GitHub stars~3.8k tokensUpdated 18 days ago
    Auto-check passed
  • Business News Monitor

    grandamenium/cortextos

    Daily cron-driven scan of news/forums/social in a domain to surface market shifts, new competitors, regulatory changes, and net-new opportunities.

    101 GitHub stars~1.3k tokensUpdated 18 days ago
    Auto-check passed

Works with

Questions about Claude API Helper

What does Claude API Helper do?

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

When should I use Claude API Helper?

Claude API Helper fits situations like: tasks that involve LLM API integration.

How do I install Claude API Helper in Claude Code?

Run `npx skills add grandamenium/cortextos --skill claude-api-helper -a claude-code`. Or copy the skill folder (skills/claude-api-helper in grandamenium/cortextos) into .claude/skills/claude-api-helper in your project. Claude Code loads it when a task matches its description.

How do I install Claude API Helper in Codex?

Run `npx skills add grandamenium/cortextos --skill claude-api-helper -a codex`. Or copy the skill folder (skills/claude-api-helper in grandamenium/cortextos) into .agents/skills/claude-api-helper in your project. Codex loads it when a task matches its description.

Can I use Claude API Helper 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 grandamenium/cortextos --skill claude-api-helper -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/claude-api-helper, .gemini/skills/claude-api-helper, .github/skills/claude-api-helper and .opencode/skills/claude-api-helper in your project.

What does Claude API Helper need to run?

SKILL.md names no scripts, command-line tools or credentials: Claude API Helper is instructions for the agent only. Our summary lists: Python 3.

Does Claude API Helper access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Claude API Helper safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Claude API Helper use?

Claude API Helper is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Claude API Helper use?

About 467 tokens (SKILL.md is roughly 1.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Claude API Helper?

Skills that share tags, products or a category with Claude API Helper: 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 Clade Hello World (jeremylongshore/tons-of-skills-marketplace, 2.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Claude API Helper?

grandamenium (a GitHub user) maintains it in grandamenium/cortextos, which has 101 GitHub stars. The repository holds 55 skills in this directory. The repository was last updated on September 23, 2026.

Source: grandamenium/cortextos on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.