claude-cookbooks
Skill by 2025Emma
Provides code examples, tutorials and best practices for building with the Claude API. Aimed at developers learning Claude API integration or building Claude-powered applications.
Install claude-cookbooks
Built from the published package, never by AI.
git clone --depth 1 https://github.com/2025Emma/vibe-coding-cn /tmp/vibe-coding-cn && mkdir -p ~/.claude/skills && cp -r /tmp/vibe-coding-cn/i18n/zh/skills/claude-cookbooks ~/.claude/skills/claude-cookbooksRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/2025Emma/vibe-coding-cn /tmp/vibe-coding-cn && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/vibe-coding-cn/i18n/zh/skills/claude-cookbooks ~/.gemini/antigravity-cli/skills/claude-cookbooksAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
claude-cookbooks is an agent skill with code examples, tutorials and best practices for the Claude API. The skill says it is sourced from the official Anthropic cookbooks repository. It covers classification, retrieval augmented generation, summarization, text-to-SQL, tool use, multimodal work, and advanced patterns such as agents and prompt caching. Its quick reference shows basic messages, tool definitions, image input and prompt caching with the Anthropic Python SDK.
The skill is aimed at developers who are learning Claude API integration, building Claude-powered applications, or exploring Claude capabilities. It lists best practices for API usage, prompt engineering, tool use, multimodal inputs, caching, cost and latency. It names reference files for repository categories such as capabilities, tool_use, multimodal, patterns, third_party and claude_agent_sdk. The source states that all examples use the official Anthropic Python SDK.
Written from the project's SKILL.md and checked against it.
What it can do
- ClassificationCovers text classification, sentiment analysis, content categorization and multi-label classification.
- Retrieval augmented generationCovers vector database integration, semantic search, context retrieval and knowledge base queries.
- SummarizationCovers document summarization, meeting notes, article condensing and multi-document synthesis.
- Text-to-SQLCovers natural language to SQL queries, schema understanding, query optimization and result interpretation.
- Tool use and function callingCovers tool definition and schema, parameter validation, multi-tool workflows and error handling.
- MultimodalCovers image analysis and OCR, chart interpretation, visual question answering and image generation integration.
- Advanced patternsCovers agent architectures, sub-agent delegation, prompt optimization and cost optimization with caching.
What you need
- Anthropic API key
- Anthropic Python SDK
Try asking
- Show me how to define a tool for a weather lookup with Claude
- Write a Python example that sends an image to Claude for description
- How do I add prompt caching to a large Claude system prompt?
Good to know
- The source says each image should be 5MB or less
- The skill lists reference files that are not included in this source
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: i18n/zh/skills/claude-cookbooks/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to claude-cookbooks
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
claude-cookbooks: common questions
Where do the examples come from?
The skill says it was created from the official Anthropic Claude Cookbooks repository on GitHub. The source gives the repository URL and a processing date of 2025-10-29.
Which language do the code examples use?
The source says all examples use the official Anthropic Python SDK. The quick reference snippets are written in Python.
Who is this skill for?
The source says it is for learning Claude API integration, building Claude-powered applications, and exploring Claude capabilities.
How do I install claude-cookbooks?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is claude-cookbooks free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is claude-cookbooks safe to use?
It scores 74 of 100. Grades: maintenance D, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to claude-cookbooks?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
