OpenSource-Hub

claude-cookbooks

튜토리얼

anthropics/claude-cookbooks

Claude API 사용 팁을 보여주는 Jupyter 노트북 모음집.

개요

Claude 레시피는 복사 가능한 코드 스니펫과 가이드를 제공하며, RAG, 도구 사용, 멀티모달 등의 기능과 프롬프트 캐싱 같은 고급 기술을 다루어 개발자가 Claude를 통합하는 데 도움을 줍니다.

README 미리보기

# Claude Cookbooks\n\nThe Claude Cookbooks provide code and guides designed to help developers build with Claude, offering copy-able code snippets that you can easily integrate into your own projects.\n\n## Prerequisites\n\nTo make the most of the examples in this cookbook, you'll need a Claude API key (sign up for free [here](https://www.anthropic.com)).\n\nWhile the code examples are primarily written in Python, the concepts can be adapted to any programming language that supports interaction with the Claude API.\n\nIf you're new to working with the Claude API, we recommend starting with our [Claude API Fundamentals course](https://github.com/anthropics/courses/tree/master/anthropic_api_fundamentals) to get a solid foundation.\n\n## Explore Further\n\nLooking for more resources to enhance your experience with Claude and AI assistants? Check out these helpful links:\n\n- [Anthropic developer documentation](https://docs.claude.com/claude/docs/guide-to-anthropics-prompt-engineering-resources)\n- [Anthropic support docs](https://support.anthropic.com)\n- [Anthropic Discord community](https://www.anthropic.com/discord)\n\n## Contributing\n\nThe Claude Cookbooks thrives on the contributions of the developer community. We value your input, whether it's submitting an idea, fixing a typo, adding a new guide, or improving an existing one. By contributing, you help make this resource even more valuable for everyone.\n\nTo avoid duplication of efforts, please review the existing issues and pull requests before contributing.\n\nIf you have ideas for new examples or guides, share them on the [issues page](https://github.com/anthropics/anthropic-cookbook/issues).\n\n## Table of recipes\n\n### Capabilities\n- [Classification](https://github.com/anthropics/anthropic-cookbook/tree/main/capabilities/classification): Explore techniques for text and data classification using Claude.\n- [Retrieval Augmented Generation](https://github.com/anthropics/anthropic-cookbook/tree/main/capabili

FAQ (1)

방법
API에서 사전 구축된 또는 커스텀 Claude Skills를 어떻게 호출할 수 있나요?

API를 통해 스킬을 호출하려면, 먼저 사용자 정의 스킬의 경우 client.beta.skills.create(name, instructions, ...)로 생성합니다. canvas-design과 같은 사전 구축된 스킬의 경우 Skills UI에서 이름을 찾아 직접 사용합니다. 그런 다음 메시지에서 skills 배열에 스킬 이름을 전달하여 스킬을 호출합니다. 예: client.beta.messages.create(model='claude-sonnet-4-20250514', max_tokens=1024, skills=['canvas-design'], messages=[...]). 500 오류가 발생하면 API 키에 Skills beta 액세스 권한이 있는지 확인하고 몇 분 후에 다시 시도하십시오. 문제가 지속되면 요청 ID와 함께 지원팀에 문의하세요.

원본 Issue #233