Crossplay Integration Kit
Agents

Claude Code

Using Claude Code CLI as your AI agent

Claude Code is Anthropic's official CLI for Claude. It provides full Claude capabilities including extended thinking and local file access.

Installation

Via npm

npm install -g @anthropic-ai/claude-code

Via Homebrew (macOS)

brew install anthropic/tap/claude-code

Verify Installation

claude --version

Configuration

Anthropic API Key

Claude Code requires an Anthropic API key:

  1. Get a key from console.anthropic.com
  2. Set the environment variable:
    export ANTHROPIC_API_KEY=sk-ant-...
    Or configure in Project Settings under Environment Variables.

Plugin Settings

In Project Settings > Plugins > Agent Integration Kit:

SettingDescription
Claude Code PathPath to claude executable (leave blank if in PATH)
Environment VariablesSet ANTHROPIC_API_KEY here

Features

Extended Thinking

Claude Code supports Claude's extended thinking feature. When enabled:

  • Claude shows its reasoning process
  • Displayed in collapsible "Thought" blocks in the chat UI
  • Useful for understanding complex decisions

Tool Calling

Claude Code has full tool calling support:

  • All 9 plugin tools available
  • Permission requests for sensitive operations
  • Streaming tool call results

Session Management

  • Conversations persist within a session
  • Start new sessions to clear context
  • Save/load sessions for later

Modes

Claude Code supports different operational modes:

ModeDescription
NormalStandard operation with all tools
ArchitectPlanning-focused, reduced tool access
CodeCode-generation focused

Switch modes from the dropdown in the chat window.

Troubleshooting

"Claude Code not found"

  • Ensure Claude Code is installed: claude --version
  • Set the full path in Project Settings
  • Check PATH environment variable

"Invalid API key"

  • Verify ANTHROPIC_API_KEY is set
  • Check the key is valid at console.anthropic.com
  • Ensure key has sufficient credits

Connection Issues

  • Claude Code communicates via stdio
  • Check no other process is blocking stdin/stdout
  • Try restarting the editor

On this page