What is Claude Code?
Claude Code is a command-line tool that connects you to Claude, Anthropic's AI assistant, directly inside your terminal. It can read and understand your entire codebase, write and edit files, run shell commands, search the web, and help you build features from start to finish.
Terminal Native
Works where you already work — no browser tabs, no context switching. Just open your terminal and start coding with AI.
Codebase Aware
Reads your project files, understands architecture, follows your conventions, and writes code that fits your existing patterns.
Plugin Ecosystem
Extend capabilities with plugins for documentation lookup, browser testing, code review, web research, and more.
Getting Started
Plugins & Skills
Plugins extend Claude Code with specialized capabilities. Install them once and they're available in every session. Skills are built-in workflows within plugins that guide Claude through complex multi-step tasks.
claude plugin add <plugin-name>/install-plugin marketplace add anthropics/claude-codeFeature Dev
feature-devGuided feature development with deep codebase analysis. Explores architecture, designs components, and implements with review checkpoints.
Frontend Design
frontend-designCreates distinctive, production-grade frontend interfaces with exceptional design quality. Avoids generic AI aesthetics.
Playground
playgroundGenerates interactive HTML playgrounds — self-contained single-file explorers with live previews and controls.
Code Review
code-reviewReviews pull requests for bugs, logic errors, security vulnerabilities, and adherence to project conventions.
PR Review Toolkit
pr-review-toolkitComprehensive PR review pipeline with specialized agents for silent failures, comment analysis, test coverage, and type design.
Code Simplifier
code-simplifierSimplifies and refines code for clarity, consistency, and maintainability while preserving all functionality.
Context7
context7Retrieves up-to-date documentation and code examples for any library directly from official sources. Never work with outdated docs.
Firecrawl
firecrawlHandles all web operations — search, scrape, research, and extract content from any URL. Returns clean markdown optimized for AI context.
CLAUDE.md Management
claude-md-managementAudits, improves, and manages CLAUDE.md project memory files. Keeps your project context fresh and well-structured.
Commit Commands
commit-commandsStreamlined git workflow: create commits, push branches, open pull requests, and clean up merged branches — all from Claude Code.
GitHub
githubGitHub integration for working with issues, pull requests, checks, and releases directly through Claude Code.
Playwright
playwrightBrowser automation and testing. Navigate pages, fill forms, take screenshots, inspect elements, and run end-to-end tests.
Superpowers
superpowersCollection of structured workflows: brainstorming, TDD, systematic debugging, plan writing, code review, and more.
TypeScript LSP
typescript-lspReal-time TypeScript diagnostics and type checking integrated into Claude Code for catching type errors as you code.
Pyright LSP
pyright-lspPython type checking via Pyright, integrated into Claude Code for catching type errors in Python projects.
Best Practice Setups
Recommended plugin combinations for common development workflows. Each setup is a proven combination that works well together.
Full-Stack Feature Dev
Build features from idea to implementation with guided exploration, architecture design, and quality gates.
Superpowers (brainstorming) → Feature Dev → Frontend Design → Superpowers (TDD) → Code Review
PR & Code Quality Pipeline
Ensure every pull request meets quality standards with automated review, simplification, and structured commits.
Commit Commands → PR Review Toolkit → Code Simplifier → Code Review
Research & Prototype
Quickly research APIs and libraries, then prototype interactive demos to validate ideas before building.
Firecrawl + Context7 → Playground → Frontend Design
Bug Investigation
Systematically identify root causes, reproduce issues in the browser, and verify fixes with automated testing.
Superpowers (debugging) → Playwright → Code Review
Project Bootstrap
Start new projects with proper structure, documentation, and context files so Claude understands your project from day one.
CLAUDE.md Management + Context7 + Superpowers (brainstorming) → Superpowers (plans)
Documentation & Learning
Access up-to-date docs, research topics on the web, and maintain living project documentation.
Firecrawl + Context7 + CLAUDE.md Management
Department CLI Tools
Curated command-line tools for each SEI Robotics department. Click any command to copy it.
repo
Initialize and sync Android source tree
repo init -u <manifest-url> && repo sync -j8adb
List connected Android devices
adb devicesfastboot
Flash system partition via fastboot
fastboot flash system system.imgmake/lunch
Set up Android build environment
source build/envsetup.sh && lunch <target>ccache
Enable compiler cache (speeds up rebuilds)
export USE_CCACHE=1 && ccache -M 50Ggit
View recent commit history
git log --oneline -20ninja
Parallel build with Ninja build system
ninja -j$(nproc)JDK
Check Java Development Kit version
java -versionsimg2img
Convert sparse image to raw image
simg2img system.img system.raw.imglogcat
Stream device logs (warnings+)
adb logcat -v time *:WGetting Started Scenarios
Three common workflows for setting up a project with Claude Code and a CLAUDE.md file. Pick the scenario that matches your situation.
Create your project directory
mkdir my-project && cd my-projectInitialize a git repository
git initLaunch Claude Code
claudePaste the prompting framework into Claude Code
Copy the structured brief below, fill in your details, and paste it as your first message to Claude.
Ask Claude to generate a CLAUDE.md file
Claude will create a CLAUDE.md based on your project context.
Review and refine CLAUDE.md
Check the generated file, then ask Claude to adjust anything that's missing or incorrect.
Create a GitLab repo and push
Replace gitlab.company.com with your actual self-hosted GitLab hostname.
git add -A
git commit -m "Initial project setup with CLAUDE.md"
git remote add origin https://gitlab.company.com/your-group/project-name.git
git push -u origin mainPrompting Framework for New Projects
Copy this template, fill in the bracketed fields, and paste it as your first message to Claude Code:
I'm starting a new project. Here's the context:
Project: [name]
Department: [Android Source / APK Tools / Embedded Linux / Smart Devices / Cloud Engineering]
Purpose: [one sentence — what does this project do?]
Platform: [Android TV / Set-top box / Linux SBC / Cloud service / etc.]
Languages: [Java / Kotlin / C / C++ / Python / Go / TypeScript / etc.]
Framework: [AOSP / Buildroot / Spring Boot / FastAPI / React / etc.]
Build system: [Gradle / Make / CMake / Bazel / npm / etc.]
Key dependencies: [list main libraries or services]
Team conventions: [e.g., comments in Chinese, commit messages in English, etc.]
Please:
1. Set up the initial project structure
2. Create a CLAUDE.md file that captures all of the above
3. Include build/run/test commands in CLAUDE.mdSEI CLAUDE.md Template▶
Use this as a starting point when creating your CLAUDE.md file:
# Project Name
## Overview
Brief description of what this project does and which SEI Robotics department owns it.
## Tech Stack
- **Language**:
- **Framework**:
- **Build System**:
- **Target Platform**:
## Getting Started
### Prerequisites
### Build
### Run
### Test
## Project Structure
Key directories and what they contain.
## Code Conventions
- Comment language: [Chinese / English / both]
- Naming: [camelCase / snake_case / etc.]
- Commit messages: [language, format]
- Branch naming: [feature/xxx, bugfix/xxx]
## Key Dependencies
| Package | Version | Purpose |
|---------|---------|---------|
## Deployment
How and where this project is deployed.
## Team
- Department:
- GitLab group:
- Maintainers:
## Claude Code Notes
Special instructions for Claude Code when working on this project.
- Preferred models/tools
- Files to never modify
- Testing requirements before commitsAI Tool Recommendations
Ask our AI assistant for personalized CLI tool recommendations based on your role and workflow.
Hello! I'm your SEI Robotics AI assistant. Tell me your department and what you're working on, and I'll recommend the best CLI tools for your workflow.
Quick Reference
| What | Command / Link | |
|---|---|---|
| Install (macOS / Linux) | curl -fsSL https://claude.ai/install.sh | bash | |
| Install (Windows PS) | irm https://claude.ai/install.ps1 | iex | |
| Install (Homebrew) | brew install --cask claude-code | |
| Install (WinGet) | winget install Anthropic.ClaudeCode | |
| Launch | claude | |
| Check status | /status | |
| Log out | /logout | |
| OpenRouter keys | openrouter.ai/settings/keys | |
| OpenRouter credits | openrouter.ai/credits | |
| Usage dashboard | openrouter.ai/activity |
Tips & Best Practices
Monitor Costs
Stay Updated
Provider Failover
Never Commit Keys
Troubleshooting
"Authentication failed" or "Invalid API key"▶
- Double-check your OPENROUTER_API_KEY starts with sk-or-v1-.
- Make sure you opened a new terminal window after setting variables.
- Run /logout inside Claude Code to clear old Anthropic credentials.
- Ensure ANTHROPIC_API_KEY is set to an empty string (""), not left unset.
"Insufficient credits" or rate limit errors▶
- Add credits at openrouter.ai/credits.
- Check your usage at openrouter.ai/activity.
"claude" command not found▶
- Close and reopen your terminal after installation.
- Check that ~/.claude/local/bin is in your PATH.
- Try running the install command again.
Environment variables not being picked up▶
- Verify with: echo $OPENROUTER_API_KEY (Unix) or echo %OPENROUTER_API_KEY% (Windows).
- Make sure you edited the correct shell profile (.zshrc vs .bashrc).
- On Windows, ensure you reopened your terminal after setting variables.
Behind a corporate proxy▶
- Set HTTPS_PROXY and HTTP_PROXY environment variables.
- Ask IT for the proxy address and port.
- Some proxies may require NO_PROXY exceptions for openrouter.ai.
ESAFENET (亿赛通) encryption blocking Claude Code▶
ESAFENET CDG uses kernel-level transparent encryption that blocks node.exe and git.exe from reading encrypted source files. IT admins need to whitelist Claude Code processes.
View full ESAFENET Compatibility Guide