Claude Code

env

1
2
export ANTHROPIC_BASE_URL="xxx"
export ANTHROPIC_AUTH_TOKEN="xxx"

CLAUDE.md

use /init init CLAUDE.md

command

session

1
2
3
4
5
6
7
8
# Rename current session
/rename [name]

# Resume session, --resume, -r
claude -r [session]

# Resume by ID/name
/resume [session]

model

1
2
3
4
5
6
7
8
9
10
11
12
13
# Launch with a specific model:
claude --model sonnet
claude --model opus
claude --model haiku

# Type /model inside session. It shows the available models and lets you switch:
/model sonnet # Sonnet 5 (default daily driver)
/model haiku # Haiku 4.5 (fast, cheap)
/model opus # Opus 4.8 (deepest reasoning)
/model fable # Fable 5 (newest)

# thrid-part
/model qwen/qwen3.7-max

plugin

disable specify plugin

  • method1: use command

    1
    2
    # disable specify plugin
    /plugin disable gateguard@ecc
  • method2: Persistent config in ~/.claude/settings.json

    1
    2
    3
    4
    5
    {
    "enabledPlugins": {
    "gateguard@ecc": false
    }
    }

Plan Mode

Shift+Tab ,Claude 只看文件、理清思路,不动任何代码。

subagents

TBD

best practices

continue

1
2
# prompt words
continue  or  please continue with the remaining tasks

skill

superpowers

An agentic skills framework & software development methodology that works.

everything-claude-code

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

1
2
3
4
5
6
7
8
9
10
11
# Add marketplace
/plugin marketplace add https://github.com/affaan-m/ECC

# Install plugin
/plugin install ecc@ecc

# disable GateGuard
ECC_GATEGUARD=off claude xxx

# disable plugin
/plugin disable gateguard@ecc

claude-mem

A Claude Code plugin that automatically captures everything Claude does during your coding sessions, compresses it with AI (using Claude’s agent-sdk), and injects relevant context back into future sessions.

1
2
3
4
# install
/plugin marketplace add thedotmack/claude-mem

/plugin install claude-mem

caveman

save tokens

use /caveman to make Claude type less, and use /caveman:compress to give Claude less to read.

ui-ux-pro-max-skill

An AI SKILL that provide design intelligence for building professional UI/UX multiple platforms

troubleshooting

API Error: 400 工具名称过长,请检查: mcp__plugin_everything-claude-code_github__create_pull_request_review