구글 안티그래비티 완전 분석 — 모델·요금제·CLI 총정리

🚀 구글 안티그래비티(Antigravity) 완전 분석 구글이 2025년 11월 Gemini 3와 함께 공개한 에이전트 퍼스트(agent-first) IDE 안티그래비티는 Claude·GPT·Gemini를 한 도구에서 골라 쓰는 멀티모델 코딩 환경이다. 이 글에서는 ① 지원 모델과 요금제별 사용량의 실체, ② 실사용자 평가, ③ 구글의 방향성, ④ Claude Code와의 비교·연계, ⑤ CLI( agy )로 직접 쓰는 법까지 다섯 갈래를 차례로 정리한다. 자료 간 충돌이 있는 지점은 한쪽으로 단정하지 않고 양쪽을 모두 살려 표기했다. 📅 기준 시점: 2026년 6월 · 프리뷰 단계 정보로 수치는 변동 가능 1. 안티그래비티란 무엇인가 — 기초 정리 안티그래비티는 2025년 7월 구글이 24억 달러 규모 라이선스 계약 으로 영입한 전 Windsurf 팀이 설계를 주도했다. VSCode를 포크한 위에 자율 에이전트 오케스트레이션 계층을 얹은 구조다. 2026년 5월 Google I/O에서 발표된 안티그래비티 2.0 은 데스크탑 앱과 함께 공식 CLI agy 를 처음 공개하며 기존 Gemini CLI의 공식 후계자 자리를 확정했다. 핵심 정체성은 단순 코드 자동완성이 아니라 병렬 에이전트 오케스트레이션 이다. 여러 에이전트가 동시에 — 하나는 API, 하나는 테스트, 또 하나는 프론트엔드 — 작업을 나눠 진행하고, 각 에이전트는 계획·테스트 결과·스크린샷·영상을 담은 Artifact 를 남긴다. "사람이 한 줄씩 승인"하는 방식이 아니라 "에이전트들이 일을 마치고 사람이 사후 검수"하는 모델이다. flowchart TD A([사용자 작업 지시]) --> B[에이전트 A API 구현] A --> C[에이전트 B 테스트 작성] A --> D[에이전트 C UI 생성] B --> E[Artifact 계획·결과·영상] C --> E D --> E...

Mastering Claude AI: An End-to-End Guide for Developers and Teams

Okay, Claude AI is primarily accessed via its API rather than being installed as a standalone application on your operating system. The setup involves obtaining an API key from Anthropic and integrating it into your development workflow.

I will update the first two todos to reflect this and then proceed with gathering information on how to set up the API key and environment variables, and then look into the other aspects.

Updated Plan:

  1. Obtain and Set Up Claude API Key: Gather information on how to obtain an API key from Anthropic and how to set it up for use in projects, focusing on environment variable management (like .env files).
  2. Basic Setup & Integration Practices: Research recommendations for development environments and best practices for integrating the Claude API into projects.
  3. Token Policy: Investigate and explain Claude's token policies, including any limits per time period (e.g., 5 hours) or weekly usage restrictions.
  4. Subscription Plans: Research and summarize Claude's subscription plans, including pricing, features, and benefits of each tier.
  5. Advanced Features (Agents, Skills, Hooks): Explain the concepts and provide usage examples for creating and using agents, skills, and hooks.
  6. GitHub Integration: Discuss how to integrate Claude with GitHub, the reasons for doing so, and potential advantages and disadvantages.
  7. Chrome Extension: Guide the user on installing and using the Claude Chrome extension.
  8. Context Management: Offer tips and best practices for efficient context window management.
  9. Article Formatting: Compile all gathered information into a blog-style article with a clear structure, subheadings, highlighted key points, and a friendly tone.
  10. Metadata: Add a concise title, 2-3 relevant keywords as labels, and a list of sources (title|URL) at the end of the article.

I will now proceed with the first updated todo.
The first updated todo item is to gather information on how to obtain an API key from Anthropic and how to set it up for use in projects, focusing on environment variable management. I will use Google Search for this.
This search result provides excellent guidance on obtaining an Anthropic API key and setting it up using a .env file in Python, which is highly relevant to the current task. It covers:

  1. Obtaining the API Key: Steps to get the key from the Anthropic Console.
  2. Creating and Populating .env: How to create the .env file and add the ANTHROPIC_API_KEY.
  3. Git Ignore: The importance of adding .env to .gitignore.
  4. Accessing in Python: How to install python-dotenv and use os.getenv() to load the key, along with an example of initializing the Anthropic client.

Now that I have this information, I can update the first todo and then move on to the second one: "Research recommendations for development environments and best practices for integrating the Claude API into projects." This could include looking for specific SDKs or common patterns. I will combine the outcome of this search with the information needed for the first todo.

Since the first todo is now largely covered, I will update it to reflect the gathered information and then proceed to the next one.Okay, I've gathered information on obtaining and setting up an Anthropic Claude API key.

1. Obtaining and Setting Up Your Claude API Key:

  • Get Your API Key: You need to sign up or log in to the Anthropic Console. Navigate to the "API Keys" section (usually found in settings or via your profile icon) and generate a new key. Crucially, copy this key immediately as it will only be shown once.
  • Use a .env file: This is the standard practice for securely storing credentials.
    • Create a file named .env in your project's root directory.
    • Inside .env, add your API key like this: ANTHROPIC_API_KEY=your_api_key_here (replace your_api_key_here with your actual key; do not use quotes).
    • Crucially, add .env to your .gitignore file to prevent accidental commits of your sensitive key.
  • Accessing the Key in Python:
    • Install the python-dotenv library: pip install python-dotenv.
    • In your Python script, use load_dotenv() from dotenv to load variables from .env, and then os.getenv("ANTHROPIC_API_KEY") to retrieve your key.
    • The Anthropic Python SDK can often automatically detect the ANTHROPIC_API_KEY environment variable, simplifying initialization.

This approach ensures your API key remains secure and is not exposed in your source code.

Now, I will proceed to the next step: "Research recommendations for development environments and best practices for integrating the Claude API into projects." This might involve looking into official SDKs, common libraries, and typical integration patterns.
Now I will research recommendations for development environments and best practices for integrating the Claude API into projects, including official SDKs and common patterns. This will involve searching for "Claude AI SDKs", "best practices Claude API integration", and "Claude AI Python integration".
This search provided a wealth of information on integrating Claude AI into Python projects. It covers:

  • Official SDKs: Highlights the anthropic Python library and the specialized Claude Agent SDK.
  • Python Integration Patterns: Details environment setup (virtual environments, .env), API key management, making API calls (client.messages.create), model selection, message structure, and error handling. It also mentions asynchronous operations.
  • Best Practices: Crucial advice on using system prompts, maintaining conversation history, streaming responses, Tool Use (function calling), structured output, advanced prompt engineering techniques (like CoT, XML tags, role-playing, example-based prompting), and agentic coding practices with the Agent SDK. It also touches upon project structure for LLM efficiency (like llms.txt, .claude folder), sub-agent architectures, API gateways, and selecting the right model (Opus, Sonnet, Haiku).

This information is excellent for completing the second todo item. I will update the todo list to mark this as completed and then proceed to the next item, which is about token policies.
Now, I will investigate and explain Claude's token policies, including any limits per time period (e.g., 5 hours) or weekly usage restrictions. This will require searching for "Claude API token limits", "Anthropic API usage policy", and "Claude AI rate limits".
This search provided comprehensive details on Claude's token limits, rate limits, and usage policies.

Here's a summary of the key findings:

  • Context Window (Token Limits):

    • Paid plans, Claude for Work (Team/Enterprise), and API users generally have access to a context window of 200,000+ tokens.
    • This can be equivalent to about 500 pages of text or 100 images.
    • Enterprise plans with Claude Sonnet 4.5 offer an enhanced 500,000 token context window.
    • API users can access up to a 1 million token context window with Claude Sonnet 4 or 4.5 (currently in beta for certain tiers).
    • Free plans have dynamic limits that can change based on demand.
  • Rate Limits:

    • Anthropic uses a token bucket algorithm for rate limiting, which replenishes over time.
    • Limits are measured in Requests Per Minute (RPM), Input Tokens Per Minute (ITPM), and Output Tokens Per Minute (OTPM) for each model.
    • Exceeding limits results in a 429 Too Many Requests error with a retry-after header.
    • Limits vary by account type/tier:
      • Free Users: ~100 messages per day.
      • Pro Users: ~500 messages daily / ~45 messages every 5 hours.
      • API Users: Custom limits based on plan. Tiers offer specific allowances (e.g., Tier 1: 50 RPM, 20k-50k ITPM, 4k-10k OTPM; Tier 2: 1000 RPM, 40k-100k ITPM, 8k-20k OTPM). Higher tiers exist, and custom spend/rate limits can be set.
    • Limits are applied per model.
    • Specific long context rate limits apply for >200,000 token requests.
    • Weekly rate limits are also in place for Claude subscribers to ensure equitable access.
  • Acceptable Use Policy (AUP):

    • Prohibits generating abusive, fraudulent, deceptive, or harmful content (e.g., spam, scams, malware, child abuse material).
    • Restricts using models for tracking/targeting individuals, analyzing biometric data for sensitive inferences, political lobbying/campaigning, or compromising computer systems.
    • Policies are updated regularly and may have tailored restrictions for government customers.

The information about token limits and rate limits is now gathered. The prompt also mentioned "5 hours" specifically for token constraints, and the search result does mention "45 messages every five hours" for Pro users. This seems to cover that aspect.

I will now update the todo list to mark this as completed and move to the next item: "Research and summarize Claude's subscription plans, including pricing, features, and benefits of each tier."Here's a summary of Claude's token policies and rate limits:

Token Limits (Context Window):
* API & Paid Plans: Generally 200,000+ tokens (approx. 500 pages of text or 100 images).
* Enterprise Plans: Up to 500,000 tokens with Claude Sonnet 4.5.
* API (Specific Tiers/Beta): Up to 1 million tokens with Claude Sonnet 4/4.5.
* Free Plans: Dynamic, subject to demand.

Rate Limits:
* Limits are enforced per model using a token bucket algorithm (RPM, ITPM, OTPM).
* Free Users: Roughly 100 messages/day.
* Pro Users: Approximately 500 messages/day, or about 45 messages every five hours.
* API Users: Custom limits based on plan tiers. Higher tiers offer significantly increased RPM, ITPM, and OTPM allowances.
* Weekly rate limits also apply to subscribers.
* Exceeding limits results in a 429 Too Many Requests error with a retry-after header.

Acceptable Use Policy (AUP):
* Prohibits harmful, deceptive, fraudulent, or abusive content (e.g., spam, malware, child exploitation material).
* Restricts use for illegal activities, political campaigning, targeted advertising, biometric data analysis for sensitive inferences, and malicious system compromise.

This information addresses the token policies, including the mention of 5-hour constraints for Pro users and general rate limits.

Next, I will research Claude's subscription plans, pricing, and features.
I will now research Claude's subscription plans, including pricing, features, and benefits of each tier. This will involve searching for "Claude AI pricing", "Anthropic Claude plans", and "Claude Pro vs Team".
This search has provided a good overview of Claude's subscription plans, including pricing and features.

Here's a summary:

  • Claude Pro:
    • Cost: $20/month (or $17/month billed annually).
    • Features: ~5x usage of free tier, priority access, early access to features, access to advanced models (Claude 3.5 Sonnet, Opus), Projects feature, Claude Code, Google Workspace integrations.
  • Claude Team:
    • Cost: $30/user/month (or $25/user/month billed annually). Minimum 5 users.
    • Features: Includes all Pro features plus higher usage limits, centralized billing, admin tools, team collaboration, 200k context window, self-serve seat management, usage analytics. Premium seats ($150/user/month) for dedicated Claude Code environment.
  • Claude Enterprise:
    • Cost: Custom pricing (contact sales).
    • Features: Advanced security (SSO, audit logging), enhanced context windows (up to 500k), compliance APIs, tailored high usage limits, domain-level admin controls, dedicated support, native GitHub integration, custom rate limits.

This covers the subscription plans and pricing. I will now update the todo list to reflect this completion and proceed to the next item, which is explaining agents, skills, and hooks.
Now, I need to explain the concepts of agents, skills, and hooks within the Claude ecosystem and provide examples of their creation and usage. The previous search results mentioned the Claude Agent SDK. I will search for "Claude Agent SDK tutorial", "Claude skills and hooks", and "building agents with Claude AI".
This search result provides a good foundation for explaining agents, skills, and hooks in the Claude ecosystem.

Here's a breakdown of the information gathered:

Claude Agent SDK:
* Purpose: Enables building autonomous AI agents that can interact with their environment (files, commands, APIs). It powers features like Claude Code.
* Core Concepts:
* Agentic Loop: Gather context -> Take action -> Verify work -> Repeat.
* Tool Integration: Connects agents to external capabilities (file system, shell, custom tools).
* Permissions/Guardrails: Control agent actions and isolate environments for safety.
* Context Management: Maintains session state.
* XML Optimization: Uses XML for structured prompts for better performance.
* Getting Started: Install SDK (Python/Node.js) and Claude Code CLI. Tutorials often involve basic examples, then add memory and tools.
* Examples: Code review, email management, travel planning, multi-agent workflows (sub-agents for specialized tasks).

Skills:
* Definition: Portable packages combining custom instructions and code for specific knowledge/procedures.
* Usage: Defined in Markdown (e.g., SKILL.md), stored globally or per-project. Useful for project conventions (UI, testing, GraphQL).

Hooks:
* Definition: Deterministic triggers executing shell commands at specific lifecycle points in Claude Code.
* Purpose: Automate actions and ensure consistency.
* Key Events:
* PreToolUse: Before tool execution (block risky operations).
* PostToolUse: After tool execution (e.g., auto-formatting, running tests).
* UserPromptSubmit: On user prompt (load relevant skills based on context).
* SessionStart: At session beginning (inject context).
* PermissionRequest, Notification, Stop, SubagentStop.
* Management: Via /hooks command in Claude Code interface. Can automatically activate skills based on context (e.g., file patterns).

This information is comprehensive enough to explain agents, skills, and hooks. I will update the todo list and then move on to the next item, which is GitHub integration.
Now, I will focus on detailing how to integrate Claude with GitHub, including the reasons for doing so, and listing the advantages and disadvantages. I will search for "Claude GitHub integration", "Anthropic AI for code review GitHub", and "Claude Code GitHub CLI".
This search provides detailed information on integrating Claude with GitHub.

Summary of Claude GitHub Integration:

  • GitHub App & Actions: Anthropic offers a GitHub App that can be installed on repositories. Claude can also be integrated via GitHub Actions, allowing AI-powered automation within GitHub workflows.
  • Direct Interaction: By mentioning @claude in pull requests or issues, users can trigger Claude to analyze code, suggest changes, create pull requests, implement features, or fix bugs.
  • Claude Code CLI: This tool acts as a CLI for agentic coding and integrates with the GitHub CLI (gh). It can automate tasks like creating issues, opening pull requests, and responding to comments. It can execute shell commands, including gh CLI commands.
  • Code Review & Security: Claude Code can automate code reviews, analyze pull request differences, detect logic errors, and identify security vulnerabilities (SQL injection, XSS, authentication flaws) via commands like /security-review and GitHub Actions.
  • Customization: Project-specific rules, coding styles, and commands can be defined in a CLAUDE.md file. Review prompts can be customized to control verbosity and focus.
  • Headless Mode: Allows programmatic integration into larger workflows triggered by GitHub events.
  • Benefits: Streamlined code review, automated security analysis, efficient issue-driven development, improved code quality, faster pull request cycles, and automation of repetitive tasks.
  • Disadvantages (Implied/Potential): Reliance on AI for critical tasks might require human oversight; potential for AI-generated code to introduce subtle bugs or security issues if not thoroughly reviewed; setup complexity for custom actions.

This covers the GitHub integration aspect. I will now update the todo list and proceed to the next item, which is the Chrome extension.
Now I will search for information on how to set up and use the Claude Chrome extension. I will look for terms like "Claude AI Chrome extension setup", "how to use Claude web extension", and "Anthropic Claude browser integration".
This search provides a good overview of the Claude Chrome extension, its features, setup, and safety considerations.

Summary of Claude Chrome Extension:

  • Name: Claude for Chrome (or Claude in Chrome).
  • Availability: Beta, requires a paid Claude subscription (Pro, Max, Team, Enterprise).
  • Core Functionality: Integrates Claude into the browser for direct web interaction.
  • Key Features:
    • Web Interaction: Navigates, clicks, fills forms, extracts data, automates multi-step workflows.
    • Natural Language Control: Chat-based commands in a sidebar.
    • Workflow Recording: "Teach" Claude by recording actions for later automation.
    • Scheduled Tasks: Automate browser tasks on a schedule.
    • Multi-tab Operations: Can work across multiple browser tabs.
    • Planning Mode: Presents task plans for user approval before execution.
    • Content Summarization: Summarizes web page content.
    • Integration: Connects with Claude Desktop and Claude Code for advanced use cases.
  • Setup:
    1. Install from Chrome Web Store.
    2. Sign in with paid Claude account.
    3. Pin the extension to the toolbar.
    4. Grant necessary browser permissions (controllable per site).
  • Safety:
    • Action Confirmation: Asks permission for "high-risk actions" (publishing, purchases, sharing sensitive data).
    • Website Restrictions: Blocks usage on high-risk sites (financial, adult content, etc.).
    • Sensitive Data Protection: Designed not to fill sensitive information.
  • Compatibility: Primarily for Google Chrome and Chromium-based browsers (Brave, Opera). Not officially supported on Firefox, Safari, Edge. Claude Code integration does not support WSL.

This information is sufficient for the Chrome extension todo. I will update the todo list and then move to the final two todos: context management tips and then compiling the article.
Now, I will focus on offering tips and best practices for efficient context management when using Claude. I will search for "Claude AI context management tips", "optimizing Claude prompt length", and "Claude AI conversation history best practices".
This search provides a comprehensive guide to managing context efficiently when using Claude.

Key Takeaways on Context Management:

  • Relevance is Key: Provide only information directly relevant to the task to avoid diluting focus and ensure precise responses.
  • Structured Inputs:
    • Use CLAUDE.md for project-level guidelines and .claudeignore to exclude irrelevant files.
    • Employ XML tags (e.g., <document>, <example>) for structuring prompts, especially with large documents.
    • Place large documents (20K+ tokens) at the top of prompts, with queries at the end for better quality.
  • Task/Topic Specificity:
    • Create separate sessions for distinct topics or tasks to maintain focused context.
    • Use "start fresh" commands when changing topics.
  • Prompt Engineering:
    • Be precise and specific in instructions.
    • Encourage internal reasoning with "think step by step" or <thinking> tags.
    • Break down complex tasks into smaller subtasks.
    • Use pre-filled responses to guide output format and reduce verbosity.
  • Conversation History Management:
    • Review and trim old/irrelevant conversations.
    • Utilize "Projects" (paid plans) to group related chats.
    • Use incognito chats for privacy or to prevent saving conversations.
    • Start new chats for new topics.
    • Explicitly reference information in longer conversations.
    • Paid plans offer memory and search features to recall context across sessions.
  • Optimization:
    • Batch similar requests.
    • Review prompts for clarity before sending.
    • Claude's automatic summarization helps manage long conversations within context limits (paid plans).

This information is thorough and covers the requested topic of context management. I will now update the todo list and then proceed to compile the blog article.
All the research for the individual sections of the blog post has been completed. The next step is to compile all this gathered information into a blog-style article. This involves synthesizing the data from all the completed todos into a coherent, structured, and readable format, including subheadings, key points, and examples as requested.
I will now compile the blog-style article using all the information gathered so far. This will involve structuring the content logically, using clear subheadings, highlighting key points, and maintaining a friendly yet informative tone.## Unlocking the Power of Claude AI: A Comprehensive Guide to Integration and Usage

Claude AI, developed by Anthropic, is a powerful large language model that offers advanced capabilities for developers and businesses. Unlike traditional software, Claude is primarily accessed via its API, allowing for flexible integration into various workflows. This guide will walk you through everything you need to know to harness Claude's potential, from setting up your API access to advanced usage patterns and subscription details.

1. Getting Started: API Access and Setup

Claude AI is not installed as a standalone application on your operating system. Instead, you interact with it through its API.

  • Obtain Your API Key:

    1. Sign up or log in to the Anthropic Console.
    2. Navigate to the "API Keys" section in your account settings.
    3. Generate a new key and copy it immediately, as it will only be displayed once.
  • Securely Manage Your Key with .env:

    • Create a .env file in your project's root directory.
    • Add your API key using the format: ANTHROPIC_API_KEY=your_api_key_here (replace with your actual key, no quotes needed).
    • Crucially, add .env to your .gitignore file to prevent accidental exposure of your credentials.
  • Python Integration:

    • Install necessary libraries: pip install anthropic python-dotenv.
    • In your Python script, load the .env file using from dotenv import load_dotenv; load_dotenv().
    • Access the key with import os; api_key = os.getenv("ANTHROPIC_API_KEY").
    • Initialize the Anthropic client: client = anthropic.Anthropic(api_key=api_key). The anthropic SDK often automatically detects the ANTHROPIC_API_KEY environment variable.

2. Development Environment and Best Practices

Integrating Claude AI effectively involves adopting good development practices and leveraging specialized tools.

  • Development Environment:
    • Virtual Environments: Always use Python virtual environments (e.g., venv) to manage dependencies and isolate your project.
    • IDE/Editors: While any code editor can be used, leverage IDE features for code completion, debugging, and integration with version control.
  • Best Practices for Integration:
    • Official SDKs: Use the anthropic Python library for standard API interactions and the Claude Agent SDK for building autonomous agents capable of complex tasks, code generation, and environment interaction.
    • System Prompts: Define Claude's persona, guidelines, or overarching instructions for a conversation.
    • Conversation History: Maintain and send the full conversation history for multi-turn dialogues to ensure Claude retains context.
    • Tool Use (Function Calling): Enable Claude 3 models to call external functions, expanding its capabilities.
    • Structured Output: Guide Claude to produce parseable output (like JSON) using prompt engineering.
    • Agentic Coding: For complex tasks, design agents to verify and improve their own output. Use sub-agents for specialized roles.
    • Project Structure: Organize code with LLMS.md for documentation and the .claude folder for context and custom instructions.

3. Understanding Claude's Token Policies and Rate Limits

Efficient usage of Claude involves understanding its token limits and rate restrictions.

  • Token Limits (Context Window):
    • API/Paid Plans: Typically 200,000+ tokens (approx. 500 pages).
    • Enterprise Plans: Up to 500,000 tokens with Claude Sonnet 4.5.
    • API Beta: Up to 1 million tokens with Claude Sonnet 4/4.5.
    • Free Plans: Dynamic, based on demand.
  • Rate Limits:
    • Measured in Requests Per Minute (RPM), Input Tokens Per Minute (ITPM), and Output Tokens Per Minute (OTPM).
    • Free Users: ~100 messages/day.
    • Pro Users: ~500 messages/day, or ~45 messages every five hours.
    • API Users: Custom limits by tier (e.g., Tier 1: 50 RPM, Tier 2: 1000 RPM), with higher tiers offering more.
    • Weekly limits also apply to subscribers.
  • Acceptable Use Policy (AUP): Prohibits harmful, fraudulent, deceptive, or abusive content, political campaigning, and malicious system compromises. Adherence ensures safe and responsible AI usage.

4. Subscription Plans and Pricing

Anthropic offers tiered plans to suit different user needs:

  • Claude Pro:
    • Cost: $20/month (or $17/month billed annually).
    • Features: ~5x free tier usage, priority access, early feature access, advanced models (Claude 3.5 Sonnet, Opus), "Projects" for chat organization, Claude Code, Google Workspace integration.
  • Claude Team:
    • Cost: $30/user/month (or $25/user/month billed annually). Minimum 5 users.
    • Features: All Pro features, higher limits, centralized billing, admin tools, team collaboration, 200K context window, usage analytics. Premium seats ($150/user/month) offer dedicated Claude Code.
  • Claude Enterprise:
    • Cost: Custom pricing (contact sales).
    • Features: Advanced security (SSO, audit logs), enhanced context windows (up to 500K), compliance APIs, high usage limits, domain admin controls, dedicated support, native GitHub integration, custom rate limits.

5. Advanced Features: Agents, Skills, and Hooks

Go beyond simple chat with these powerful capabilities:

  • Claude Agent SDK:
    • Purpose: Build autonomous agents that can interact with their environment, execute commands, read/write files, and use tools.
    • How it Works: Agents operate in a loop: gather context, act, verify, repeat. They use tools for actions and have built-in guardrails for safety.
    • Usage: Install the SDK (pip install claude-agent-sdk) and Claude Code CLI. Start with basic examples and add memory, tools, and custom permissions.
    • Examples: Code review, email management, travel planning, complex workflows using sub-agents.
  • Skills:
    • Definition: Portable packages combining instructions and code for specific knowledge or procedures.
    • Usage: Define skills in Markdown files (e.g., SKILL.md) and store them globally or per-project. Useful for encapsulating project conventions (e.g., UI libraries, testing).
  • Hooks:
    • Definition: Deterministic triggers executing shell commands at specific lifecycle points in Claude Code.
    • Purpose: Automate actions like running tests (PostToolUse), loading skills based on prompts (UserPromptSubmit), or starting sessions (SessionStart).
    • Management: Configure via the /hooks command in Claude Code.

6. Claude with GitHub Integration

Streamline your development workflow by integrating Claude with GitHub.

  • How it Works:
    • Install the Claude GitHub App or use Claude Code GitHub Actions.
    • Mention @claude in pull requests or issues to trigger analysis.
    • Use the Claude Code CLI (integrates with gh CLI) for terminal-based GitHub operations.
  • Features: Automated code reviews, security analysis (SQL injection, XSS), issue triage, feature implementation, pull request generation, and responding to feedback.
  • Customization: Define project rules and styles in CLAUDE.md.
  • Advantages: Faster code reviews, enhanced security, efficient issue resolution, automated workflows, improved code quality.
  • Disadvantages: Potential need for human oversight, setup complexity, risk of AI-generated code needing thorough review.

7. The Claude Chrome Extension

Bring Claude's intelligence directly into your web browser.

  • Availability: Beta, requires a paid subscription (Pro, Max, Team, Enterprise).
  • Setup:
    1. Install "Claude in Chrome" from the Chrome Web Store.
    2. Sign in with your paid Claude account.
    3. Pin the extension to your toolbar.
    4. Grant necessary browser permissions.
  • Usage:
    • Interact via a sidebar using natural language prompts.
    • Claude can navigate websites, fill forms, extract data, and automate multi-step workflows.
    • "Teach" Claude by recording actions to automate repetitive tasks.
    • Schedule tasks, use it across multiple tabs, and get approval on its plans.
  • Safety: Asks for permission for high-risk actions, blocks high-risk websites, and avoids filling sensitive data.
  • Compatibility: Works on Chrome and Chromium-based browsers.

8. Efficient Context Management Tips

Maximize Claude's effectiveness by managing its context window wisely.

  • Be Relevant: Provide only task-specific information.
  • Structure: Use CLAUDE.md for project context, .claudeignore to exclude files, and XML tags for structuring prompts.
  • Focused Sessions: Create separate chat sessions for distinct topics.
  • Prompt Engineering: Be precise, use "think step by step," break down tasks, and use pre-filled responses.
  • History Management: Review/trim chats, use "Projects" to group conversations, and start new chats for new topics.
  • Leverage Features: Utilize memory and search (paid plans) to recall information across sessions. Batch similar requests and review prompts before sending.

References

댓글

이 블로그의 인기 게시물

Vim 9.2 릴리즈 총정리: 더 빠르고 강력해진 텍스트 편집의 제왕

폐쇄망 SoC 설계자를 위한 가볍고 빠른 Vim 최적화 가이드

에이전트 시대를 위한 터미널 cmux 가이드: 설치부터 AI 활용까지