ClaudeCode
Timeline
2026-05-24
init
ClaudeCode
To download Claude Code, you need Node.js:
1 | # It's recommended to switch the registry first |
DeepSeek
DeepSeek is chosen here because its tokens are relatively cheap and it doesn’t require an external network connection. Click the link below to apply for an API key:
Editor Integration
VSCode
Install the extension: Claude Code for VS Code by Anthropic. Then in settings, find @ext:Anthropic.claude-code → ClaudeCode: Environment Variables → click Edit in settings.json.
Refer to the official documentation to set environment variables:
As follows:
1 | "claudeCode.environmentVariables": [ |
Then you can open the Claude Code extension in VSCode and start using it.
You can also set environment variables in Windows PowerShell. First open PowerShell as administrator, then:
1 | code $PROFILE |
Then write the environment variables from the official documentation into it, so they’re loaded every time you open PowerShell:
1 | $env:ANTHROPIC_BASE_URL="https://api.deepseek.com/anthropic" |
Emacs
Emacs is generally used in Linux environments. Windows Emacs has too many bugs, so the configuration below is all for Linux environments. First, install Claude Code, then set environment variables in $HOME/.bashrc or $HOME/.zshrc:
1 | export ANTHROPIC_BASE_URL=https://api.deepseek.com/anthropic |
Then enable the environment variables:
1 | # bash |
The main package used is claude-code.el:
Configuration:
1 | ;; claude code |
Press C-c c c to launch the Claude Code window. Other commands can be viewed via claude-code-transient (C-c c m).
Skills
Skills are an extension mechanism for Claude Code launched by Anthropic in October 2025. Think of them as skill packages for Claude Code — essentially a Markdown file SKILL.md containing the skill’s purpose, prompts, rules, and workflow. They are stored in:
- Project-level directory, i.e.
${workspaceFolder}/.claude/skills/in your project root. Skills placed here only take effect in the current project, suitable for project-specific skills like code conventions, deployment processes, etc. - User-level directory, i.e.
$HOME/.claude/skills/in your home directory. Skills placed here work across all projects, suitable for general skills like making presentations, writing documents, formatting articles, etc.
There’s also the concept of MCP (Model Context Protocol). MCP is a standard protocol that allows AI assistants to safely interact with the external world — things like reading local files, operating GitHub repositories, querying databases, sending Slack messages, controlling browsers, etc.
Installing Skills:
- Manually copy
SKILL.mdto the project-level or user-level directory. - Install plugins.
Reference:
The official Anthropic Marketplace (claude-plugins-official) is automatically available when starting Claude Code. Run /plugin and go to the Discover tab to browse available content, or view the catalog at claude.com/plugins.
1 | /plugin install github@claude-plugins-official |
A recommended Skill to install: