Mastering Claude
The complete guide to Claude's ecosystem: Cowork, Models, Excel, Artifacts, Projects, and Code
Claude Is Not Just a Chatbot
Most people think of Claude as "a chatbot from Anthropic," a text box where you type and it responds. That was true in 2024. In 2026, Claude has grown into a platform with distinct capabilities: Cowork (a desktop app that operates on your actual files), a family of Models (picking the right one matters more than you think), an Excel add-in (AI inside your spreadsheets), Artifacts (interactive outputs you can use, not just read), and Projects (persistent context folders that remember everything). On top of all that, Claude Code is a dedicated CLI for developers that can autonomously navigate codebases, run tests, and ship features. This lesson walks through every capability so you can leverage the right one for each task.
Quick Navigation
1. Claude Cowork
Desktop app that works on your files
2. Choosing the Right Model
Opus, Sonnet, Haiku, and Extended Thinking
3. Claude in Excel
AI inside your spreadsheets
4. Claude Artifacts
Interactive outputs you can use
5. Claude Projects
Persistent context folders
6. Claude Code
CLI tool built for developers
7. Where Claude Falls Short
Honest limitations and alternatives
8. Your First 30 Minutes
Zero to productive in one session
1. Claude Cowork
Claude Cowork is Anthropic's desktop application that lives on your computer and operates directly on your files. Unlike a web chatbot, Cowork can read local documents, create spreadsheets, write code behind the scenes to answer analytical questions, and ask you clarifying questions when it needs more context, instead of guessing wrong. Think of it as Claude Code for knowledge workers: the same agentic intelligence, applied to documents, data, and everyday tasks rather than codebases.
How to Install Cowork
# Installation steps: 1. Go to claude.ai/download and download the desktop app 2. You need a Pro account ($20/month, or $17/month billed annually) 3. Open the app and click the "Cowork" tab at the top 4. Select a folder from your computer - this is how Claude reads your files # Pro tip: Create markdown (.md) files about yourself, your projects, # your writing style, your brand rules - anything you want Claude to know. # Point Cowork to the folder containing these files.
The Cowork Workflow
The key insight with Cowork is to let Claude ask you questions before it starts working. This produces dramatically better results than writing elaborate prompts yourself:
# Your first Cowork prompt (use this pattern for everything): I want to [YOUR TASK] so that [WHAT SUCCESS LOOKS LIKE]. First, read the uploaded files completely before responding. DO NOT start executing yet. Instead, ask me clarifying questions so we can refine the approach together step by step. Only begin work once we've aligned.
When you use this pattern, Cowork generates a structured form of questions to clarify your intent. You answer, it refines, and only then does it execute. If the direction feels wrong, say so, and Cowork generates a new set of questions to course-correct. With over 1,000,000 tokens of context window (its ability to reason over long conversations), the conversation stays coherent even across extended sessions.
Mindset Shift: Files Over Prompts
If you are coming from ChatGPT, you probably have a folder of saved prompts you haven't opened in weeks. Forget that. With Cowork, the game is text files. Take everything you know (your writing style, brand rules, best examples, past work) and put it in .md or .txt files. Drop them in a folder. Point Claude to that folder. The more context you give as files, the less prompting you need.
2. Choosing the Right Model
Anthropic offers multiple Claude models, and picking the right one matters more than perfecting your prompt. Each model is optimized for different trade-offs between speed, cost, and reasoning depth. Using the wrong model is like using a sledgehammer on a thumbtack, or a thumbtack on a wall that needs a sledgehammer.
The Model Family (February 2026)
| Model | Model ID | Best For | Speed | Reasoning |
|---|---|---|---|---|
| Opus 4.6 | claude-opus-4-6 | Complex analysis, writing, coding, planning | Slower | Deepest |
| Sonnet 4.6 | claude-sonnet-4-6 | Balanced everyday tasks, good speed + quality | Fast | Strong |
| Haiku 4.5 | claude-haiku-4-5-20251001 | Quick tasks, classification, extraction, high-volume | Fastest | Good |
Extended Thinking
Extended Thinking forces Claude to reason step-by-step internally before generating a response, like an internal monologue. This dramatically improves quality on complex tasks: math, code architecture, nuanced analysis, and multi-step reasoning. Always enable it for Opus.
# How to set up Opus + Extended Thinking:
1. Open any Claude chat (on claude.ai or Cowork)
2. Click the model selector dropdown at the bottom of the chat
3. Select "Opus 4.6"
4. Turn on "Extended Thinking"
# For API usage:
import anthropic
client = anthropic.Anthropic()
response = client.messages.create(
model="claude-opus-4-6",
max_tokens=16000,
thinking={
"type": "enabled",
"budget_tokens": 10000 # How much "thinking" to allow
},
messages=[{
"role": "user",
"content": "Analyze the trade-offs between microservices and monoliths for a team of 5."
}]
)
# The response includes both thinking and final answer
for block in response.content:
if block.type == "thinking":
print("Claude's reasoning:", block.thinking)
elif block.type == "text":
print("Final answer:", block.text)Connectors: Claude Meets Your Tools
Claude can connect to external tools like Slack, Google Drive, Notion, Figma, and 50+ others through Connectors. Once connected, Claude can search your Slack messages, pull from Google Docs, or reference Notion pages mid-conversation, no copy-pasting or screenshots required.
# Setting up Connectors: 1. Go to Settings > Connectors 2. Browse the directory of available integrations 3. Click "Add" on the ones you want 4. Authorize access when prompted # Once connected, you can ask Claude things like: # - "Search my Slack for the latest discussion about the API redesign" # - "Find the Q4 revenue report in my Google Drive" # - "What did the team decide about the deployment strategy in Notion?" # Connectors are free on all Claude plans.
3. Claude in Excel
Most AI tools flatten spreadsheets into plain text when you upload them, losing formulas, structure, and cell references in the process. Claude in Excel is different: it lives inside your spreadsheet. It reads every tab, knows what cell D14 actually contains, understands your formulas, and can create, modify, or debug them in place.
Installation
# Installing Claude in Excel: # For individuals: 1. Navigate to the Claude in Excel listing on Microsoft Marketplace 2. Click "Get it now" to install the add-in 3. Open Excel, activate the add-in, and sign in with your Claude account # For admins (organization-wide deployment): 1. Visit the Microsoft 365 Admin Center 2. Navigate to Settings > Integrated apps > Add-ins 3. Search for "Claude by Anthropic for Excel" in Microsoft AppSource 4. Deploy the add-in to your organization or specific users # After installation: # - Mac: Tools > Add-ins to activate Claude # - Windows: Home > Add-ins to activate Claude # - Sign in with your Claude credentials and start working # Requires a paid Claude plan (Pro, Max, Team, or Enterprise). # Official docs: https://support.claude.com/en/articles/12650343-use-claude-in-excel
What You Can Do
Analyze Existing Spreadsheets
- "Give me a summary of each tab"
- "Explain what the formula in B12 does in plain English"
- "Find all #REF and #VALUE errors in this workbook"
- "Convert all dates to YYYY-MM-DD format"
Build From Scratch (via Cowork)
- Ask Cowork to create a professional .xlsx file
- Uses real Excel formulas (SUM, SUMIF, IF), not hardcoded values
- Includes charts, dropdowns, conditional formatting
- Claude highlights every cell it touches for your review
Example: Creating a Spreadsheet from Scratch
# Prompt this in Claude Cowork: Create a professional Excel spreadsheet (.xlsx) for: [PURPOSE] Context: [WHO IS IT FOR / HOW WILL IT BE USED] It should cover: [LIST WHAT YOU WANT TO TRACK OR CALCULATE] Rules: - Use Excel formulas (SUM, SUMIF, IF, etc.) - never hardcoded calculations - Put editable assumptions in their own labeled cells - Freeze top row, auto-fit columns - [ANY EXTRAS: charts, dropdowns, conditional formatting, specific currency, etc.] # Claude generates a complete, formula-driven spreadsheet # with proper structure, formatting, and calculations. # Nothing is hardcoded - change an assumption cell and everything recalculates.
4. Claude Artifacts
Most AI chatbots return plain text. Claude Artifacts returns interactive outputs you can actually use: working HTML/CSS/JS applications, SVG diagrams, data visualizations, calculators, and tools, all rendered live inside the chat. No setup required; Artifacts work automatically in Claude and Cowork.
What Artifacts Can Build
Calculators, converters, planners, trackers
SVG org charts, flowcharts, comparison charts
Full HTML/CSS/JS apps you can download and use
Example Prompts
# Try these in any Claude chat - no setup needed: # 1. Interactive tool "Create an interactive HTML calculator that converts monthly expenses into annual projections. Include fields for rent, groceries, transportation, subscriptions, and a total that updates in real time." # 2. Visual comparison "Create a visual comparison chart of PostgreSQL vs MySQL vs SQLite with a clean, modern design." # 3. Project tracker "Build me a simple project tracker with columns for Task, Owner, Status, and Due Date. Make it interactive." # 4. Architecture diagram "Make an SVG diagram showing a microservices architecture with API gateway, auth service, user service, and notification service." # Claude renders the artifact live in the chat. # You can interact with it, ask for changes, and download the result.
5. Claude Projects
Projects are persistent context folders on claude.ai where Claude remembers the files you upload across conversations. Every chat inside a project has access to the same reference material, so you don't need to re-upload documents every time you start a new conversation. Think of them as shared drives that Claude always has open.
Setting Up a Project
# Setting up Projects (takes 5 minutes): 1. Go to claude.ai and log in (Pro or Team plan required) 2. Click "Projects" in the left sidebar 3. Click "Create Project" - give it a name (e.g., "API Redesign") 4. Click "Add content" - upload your key files: - Brand docs, style guides - Architecture documents - API specifications - Writing samples, reference material 5. Start a new chat inside the project # Every conversation in this project now has access to all uploaded files. # Claude references them automatically when relevant. # Pro tip: Don't overbloat projects with too many files. # Be selective about what's truly relevant to the project scope.
Projects vs. Cowork: When to Use Which
Projects are better when you need persistent context across many separate conversations, or when collaborating with a team on shared reference material. Cowork is better for hands-on work sessions where you need Claude to read, create, and modify files directly on your machine. Many users prefer Cowork with local markdown files over Projects, since it offers the same persistent context without the web interface limitations.
6. Claude Code (For Developers)
While the tools above serve everyone, Claude Code is built specifically for software engineers. It's a command-line tool that lives in your terminal, understands your entire codebase, and can autonomously navigate files, write code, run tests, manage git operations, and handle complex multi-step engineering tasks. It's what Cowork is for knowledge workers, but purpose-built for developers.
Installation
# Install Claude Code (requires Node.js 18+): npm install -g @anthropic-ai/claude-code # Navigate to your project and start: cd your-project/ claude # Claude Code will: # 1. Analyze your project structure # 2. Read your CLAUDE.md file (if present) for project-specific instructions # 3. Start an interactive session where you can give it tasks # Example first interaction: > Explain the architecture of this project > Find and fix the bug in the authentication middleware > Add unit tests for the UserService class > Refactor the database layer to use connection pooling
CLAUDE.md: Your Project's Instructions File
The CLAUDE.md file is how you give Claude Code persistent, project-specific instructions. It's checked into your repo (or kept private) and Claude reads it automatically at the start of every session. Think of it as onboarding documentation for your AI teammate:
# CLAUDE.md - Example for a Python web API project ## Project Overview FastAPI-based REST API for inventory management. Python 3.12, PostgreSQL 16, Redis for caching. ## Development Commands ```bash pip install -e ".[dev]" # Install with dev dependencies pytest tests/ -v # Run all tests pytest tests/unit/ -v # Run unit tests only alembic upgrade head # Apply database migrations uvicorn app.main:app --reload # Start dev server ``` ## Architecture - app/main.py -> FastAPI app entry point - app/routers/ -> API route handlers - app/models/ -> SQLAlchemy models - app/services/ -> Business logic layer - app/repositories/ -> Database access layer - tests/ -> Pytest test suite ## Coding Standards - Use Pydantic v2 syntax (model_config, not class Config) - All endpoints must have type hints and docstrings - Use dependency injection for database sessions - Never use datetime.utcnow() - use datetime.now(timezone.utc) ## Important Notes - Never commit .env files - Always run tests before committing - Use conventional commits (feat:, fix:, docs:, etc.)
Key Capabilities
Code Understanding
- Reads and navigates entire codebases
- Understands cross-file dependencies
- Traces function calls across modules
- Explains architecture and design patterns
Code Modification
- Edits files with precise replacements
- Creates new files following project conventions
- Multi-file refactors with consistency checks
- Respects existing code style and patterns
Git & GitHub Integration
- Creates commits with meaningful messages
- Opens pull requests with descriptions
- Reviews PR diffs and suggests changes
- Resolves merge conflicts intelligently
Testing & Execution
- Runs test suites and interprets failures
- Generates tests for existing code
- Executes shell commands as needed
- Iterates until tests pass
Hooks: Automating Workflows
Hooks are shell commands that execute automatically in response to Claude Code events. They let you enforce project rules, run linters after edits, or trigger builds without manual intervention:
# .claude/settings.json - Hook configuration example
{
"hooks": {
"afterEdit": [
{
"command": "npx prettier --write $FILE",
"description": "Auto-format edited files with Prettier"
}
],
"afterWrite": [
{
"command": "npx eslint --fix $FILE",
"description": "Auto-lint new files"
}
]
}
}
# Hooks fire automatically - Claude Code respects their output.
# If a hook fails, Claude Code sees the error and can adjust.MCP Servers in Claude Code
As covered in Lesson 8 (MCP, RAG & CAG), MCP servers expose tools and data to AI systems. Claude Code supports MCP natively, meaning you can connect it to databases, APIs, and custom tools:
# .claude/settings.json - MCP server configuration
{
"mcpServers": {
"postgres": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-postgres"],
"env": {
"DATABASE_URL": "postgresql://user:pass@localhost/mydb"
}
},
"github": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": {
"GITHUB_TOKEN": "ghp_..."
}
}
}
}
# With MCP servers configured, Claude Code can:
# - Query your database directly to understand schema and data
# - Create GitHub issues and PRs programmatically
# - Access any tool exposed via MCPSlash Commands
Claude Code includes built-in slash commands for common developer workflows:
| Command | What It Does |
|---|---|
/help | Show available commands and usage information |
/compact | Compress conversation context to free up token space |
/clear | Reset the conversation and start fresh |
/cost | Show token usage and cost for the current session |
/commit | Create a git commit with an AI-generated message |
/review-pr | Review a pull request and provide feedback |
Skills: Custom Slash Commands
Beyond built-in commands, Claude Code supports Skills: custom slash commands you define for your project. A skill is a markdown file that expands into a full prompt when invoked, giving Claude Code specialized instructions for recurring tasks. Skills live in .claude/commands/ and are available to anyone on the project.
# .claude/commands/review-security.md # Invoked with: /review-security Review the changes in this diff for security vulnerabilities. Check for: - SQL injection risks (unparameterized queries, raw string interpolation) - XSS vulnerabilities (unsanitized user input rendered as HTML) - Secrets or credentials hardcoded in the code - Insecure deserialization - Missing authentication or authorization checks on new endpoints For each issue found: 1. Show the vulnerable code snippet 2. Explain the risk 3. Provide a fixed version
# .claude/commands/add-tests.md # Invoked with: /add-tests Generate a comprehensive pytest test suite for the file or function I describe. Follow these project conventions: - Use pytest fixtures defined in tests/conftest.py - Mock external services with unittest.mock.patch - One test file per source file, mirroring the directory structure - Test names: test_<function>_<scenario> (e.g. test_create_user_duplicate_email) - Include happy path, edge cases, and failure scenarios - Assert both the return value and any side effects (DB writes, events fired)
Any team member can invoke these with /review-security or /add-tests directly in Claude Code. Skills are version-controlled alongside your code, so the whole team shares the same set of project-specific commands.
Good candidates for Skills
- Code review checklists specific to your standards (security, performance, style)
- Test generation following your project's conventions and fixtures
- Commit message formatting for conventional commits or custom templates
- Generating boilerplate that follows your architecture (new API endpoint, new service, new migration)
- Documentation generation in your house style
Bonus: core-claude, a Claude Code Plugin for Developers
core-claude is an open-source Claude Code plugin by ByteCode Solutions that ships a curated set of hooks and skills for professional Python development workflows. Install it once and every project gains automated safety guards, one-command linting, testing, coverage, and security scanning, plus an end-to-end /develop skill that plans and ships features using TDD and multi-agent orchestration.
The plugin includes:
- Safety hooks - Automatically blocks any tool call that targets a
.envfile, preventing accidental credential exposure during agentic sessions - /develop [task] - Plans, implements (TDD, 100% coverage), lints, runs security checks, and does a code review in a single end-to-end command
- /run-linters - Runs
ty,ruff,mypy,pyright, andpylintsequentially, stopping on the first failure - /run-tests - Executes the full test suite, creates a task per failing test, and fixes them one by one
- /run-coverage - Reports total coverage percentage and lists every module below 100%
- /run-security - Runs
bandit(static analysis) andpip-audit(CVE scan), pausing to ask before auto-fixing findings - /create-python-project - Scaffolds a new Python project from the ByteCode Solutions blueprint template
# Add the ByteCode Solutions marketplace and install the plugin: claude plugin marketplace add https://gitlab.com/bytecode-solutions/core/core-claude.git claude plugin install core-claude # Update to the latest version: claude plugin update core-claude@bytecode-solutions # Once installed, use the skills directly in Claude Code: > /develop Add a REST endpoint to list all users with pagination > /run-linters my_package > /run-tests > /run-coverage > /run-security my_package
Where Claude Falls Short
No tool does everything well, and honesty about limitations saves you from wasting time trying to force a tool into the wrong job. Here's where Claude is not the best choice:
Image Generation
Claude cannot generate photos, illustrations, or visual art. For image generation, use Gemini (with its image models), DALL-E, or Midjourney.
Video Generation
Claude does not create video content. For AI video generation, look at tools like Seedance, Sora, or Gemini's VEO models.
Real-Time Search
Claude can browse the internet, but it's not the strongest at real-time search and current events. Grok (connected to X) or Perplexity are better for this use case.
Your First 30 Minutes with Claude
Here's a structured plan to go from zero to productive with Claude in a single 30-minute session. Open your calendar, block the time, and follow along:
Minutes 0-5: Install Claude
- Go to claude.ai/download, download the desktop app
- Create an account or sign in, get Pro ($20/month)
- Open the app, click Cowork
Minutes 5-10: Create Your First Text File
- Create a file called
about-me.md - Write: (1) What you do, (2) How you communicate, (3) One example of work you're proud of
- Markdown files are the best format for LLMs
Minutes 10-15: First Cowork Conversation
- In Cowork, select the folder where your file lives
- Type: "Read the about-me file. Based on it, write [task]."
- Respond, iterate, have a conversation
Minutes 15-20: Try Claude in Excel
- Open Excel, go to Insert > Get Add-ins, search "Claude"
- Open any spreadsheet and ask: "Explain the formula in B12"
- Or ask Cowork to create a spreadsheet from scratch
Minutes 20-25: Try an Artifact
- Ask Claude to build something visual or interactive
- Try: "Create a weekly planner as an interactive HTML page"
- Interact with it, ask for changes, download it
Minutes 25-30: Try Claude Code (Developers)
- Install:
npm install -g @anthropic-ai/claude-code - Navigate to a project and run
claude - Ask: "Explain the architecture of this project"
Key Takeaways
- Claude is a platform, not a chatbot - Distinct capabilities (Cowork, Models, Excel, Artifacts, Projects) plus Claude Code for developers
- Cowork is file-first - Drop markdown files in a folder, point Claude to it, and stop writing elaborate prompts. Context files beat prompt engineering
- Model choice matters - Use Opus 4.6 + Extended Thinking for complex tasks, Sonnet for everyday work, Haiku for high-volume operations
- Excel integration is native - Claude lives inside your spreadsheet, understands formulas and cell references, not flattened text
- Artifacts produce usable outputs - Interactive HTML apps, SVG diagrams, calculators, not just text responses
- Projects provide persistent context - Upload files once, reference them across every conversation in the project
- Claude Code is project-level AI - Not line-level autocomplete, but full codebase understanding with git, testing, and multi-file refactoring
- CLAUDE.md is your AI's onboarding doc - Project instructions, coding standards, and architecture notes that Claude Code reads automatically
- Know the limitations - No image generation, no video creation, weaker at real-time search. Use the right tool for each job