Claude Code

Account Types:

  • claude.ai/Claude Account/chat account/iOS app/subscription/Pro/Max/Team/Enterprise
  • Claude Developer Platform/Claude Console/Anthropic Console/platform.claude.com/API usage billing

Type / to get an autocomplete list of commands

  • User
    • /usage the go to Status: what account you're signed into
    • /logout
  • Models
    • Selecting: /model [sonnet|opus] - leave model out to check current one
    • Which to use
      • Sonnet: daily driver
      • Opus: expensive but powerful
  • Write mode (shift-tab to toggle)
    • Normal: have to approve everything
    • Auto-accept edits
    • Plan mode (don't write to files)
  • Referencing files: @ prefix
  • Thinking mode
    • Use phrasing like "think/think hard/think harder" (works in either Sonnet or Opus)
  • Context windows
    • Will warn that auto-compact is coming soon
    • /compact - Manually compact in advance so you don't lose context in the middle of something you need it for
    • /clear to fully clear context if done tasks
  • Rules - CLAUDE.md
    • Put individual rules in here; not separate rules like Cursor
    • Can be at user level, project level, and in project subdirs
    • # command: create a memory and add it to the file
  • Commands: a shortcut for a repeated prompt
    • Within it, ! interpolates a bash command
  • Subagents
    • They have their own context window
    • So when you have parts of the work that require different kinds of context, have different subagents, one per role
  • Misc
    • /init
    • /resume - pick up a conversation you left off in a previous run, can choose from a list

Config

# VERCEL
$ npx skills add vercel-labs/agent-skills

# RUBY
$ gem install ruby-lsp
$ claude plugin install ruby-lsp@claude-plugins-official

# PLAYWRIGHT
$ claude mcp add playwright npx @playwright/mcp@latest -s user

# FIGMA
$ claude plugin install figma@claude-plugins-official

$ claude

# SUPERPOWERS
/plugin install superpowers@claude-plugins-official

# SUBAGENTS
> /plugin marketplace add VoltAgent/awesome-claude-code-subagents
> /plugin install voltagent-core-dev
> /plugin install voltagent-lang
> /plugin install voltagent-infra
> /plugin install voltagent-qa-sec
> /plugin install voltagent-data-ai
> /plugin install voltagent-dev-exp
> /plugin install voltagent-biz

# EXPO
> /plugin marketplace add expo/skills
> /plugin install expo-app-design
> /plugin install upgrading-expo
> /plugin install expo-deployment

# CALLSTACK
> /plugin marketplace add callstackincubator/agent-skills
> /plugin install react-native-best-practices@callstack-agent-skills

Add the following to ~/.claude.json:

{
  "mcpServers": {
    "maestro": {
      "command": "maestro",
      "args": [
        "mcp"
      ]
    },
    "playwright": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "@playwright/mcp@latest"
      ],
      "env": {}
    }
  }
}

Add the following to ~/.claude/settings.json:

{
  "env": {
    "ENABLE_LSP_TOOL": "1"
  }
}

Reference

MCP

Verify in a given Claude session with /mcp

Extensions