Claude Code

Connect Claude Code to Passion8. Install the CLI, desktop app, and official IDE extensions on macOS or Windows, then configure Passion8 manually or with CC-Switch.

Claude Code is Anthropic's agentic coding tool for terminals, IDEs, desktop, and web. Connecting it to Passion8 routes its Anthropic-compatible requests to https://passion8.cc.

Claude Code uses https://passion8.cc as its Base URL, without /v1. Codex and OpenAI-compatible clients use https://passion8.cc/v1.

#Connection steps

Install first, then configure. Choose either manual configuration or CC-Switch with explicit Passion8 settings.

#Learning and workflows

After connecting successfully, learn how Claude Code works, its command system, and team workflows.

#Context and sessions

#Security and governance

#Extensions and automation

Tool referenceRead/Edit/Bash/Grep/Agent/Monitor tools, permission rules, and hook matchers.SubagentsBuilt-in Explore/Plan/general-purpose, custom agents, permissions, models, and context isolation.Parallel agents, background work, and workflowsAgent View, /background, /batch, /fork, /goal, /loop, and dynamic workflows.Advanced workflows and cloud collaborationChoosing Advisor, Agent View, /goal, dynamic workflows, Routines, Ultraplan, and Ultrareview.Agent Teams and channelsCollaboration across Claude sessions, external events, permission relay, and channel MCP boundaries.Routines and /loop schedulingLocal loops, Cron, cloud routines, /schedule, API/GitHub triggers, and TTL strategies.Parallel workspaces with worktrees--worktree, PR worktrees, .worktreeinclude, cleanup strategies, and subagent isolation.Connecting MCP toolsHTTP, SSE, stdio, WebSocket, OAuth, scopes, tool search, and gateway considerations.Gateways and protocolsPassion8 Base URL, header/body forwarding, model discovery, cache fields, and common 400/401 errors.Gateway protocol launch checklistProtocol formats, headers/body, attribution, model discovery, spend limits, error semantics, and cache acceptance checks.Gateway operationsClaude apps gateway, common protocols, OIDC, Postgres, spend limits, model discovery, and cache forwarding.Deploying Claude apps gatewayPrivate ingress, OIDC, Kubernetes, Cloud Run, GCP, Postgres, health checks, and upgrades.Hook automationLifecycle automation with PreToolUse, PostToolUse, ConfigChange, FileChanged, and more.Plugins and skillsPlugin manifests, skills, agents, hooks, MCP, LSP, and marketplace distribution.Plugin marketplaces and distributionOfficial, community, and internal marketplaces, version constraints, recommendation rules, and security plugins.Status line/statusline, context usage, cost, Git, PRs, rate limits, and local script performance.Headless automationclaude -p, --bare, JSON/stream-json, CI scripts, structured output, and background waiting.Agent SDKEmbed the Claude Code agent loop into TypeScript/Python products.Agent SDK API referenceTypeScript/Python installation, query, ClaudeSDKClient, tool helpers, session APIs, settings resolution, and migration.Agent SDK agent featuresAgent loop, settingSources, sessions, skills, subagents, TODO tracking, checkpointing, and hosting limits.Agent SDK capability matrixPermission evaluation, hooks, MCP, SessionStore, cost tracking, OTEL, secure deployment, and caching.Agent SDK runtime patternsCustom tools, system prompts, streaming, structured output, tool search, user approval, and slash commands.Agent SDK streaming and pluginsStreaming input, single messages, plugin loading, skill namespaces, permission pauses, and cache effects.Agent SDK production deploymentSession storage, tenant isolation, OTEL, cost tracking, structured output, tool search, and 5m/1h caching.Interactive pages with artifactsPublish Claude Code output as interactive pages and use local alternatives with Passion8.

#Costs and troubleshooting

#Product entry points and boundaries

Need an account or balance? Start with Quickstart and Top-ups and billing.

#Accounts, costs, and troubleshooting

If you do not have an API key, follow Quickstart to create an account and token. See Top-ups and billing for balance and charging details; the client's official subscription and your Passion8 API balance are separate. For authentication, Base URL, or unavailable-model issues, see FAQ. The console is authoritative for currently available models and prices.

Support

Need help?

For setup, billing, or model issues, email us. Check the status page for uptime.

WeChat / QQ support is available at the bottom right.