Claude Cli

Claude Cli

Slash Commands

# Setup terminal
/terminal-setup 

# Set theme
/theme 

# Setup configurations
/config

# Set model (Select model and efforts - with left/right arrows)
/model 

# Name the conversation
/rename <name>

# Resume the conversation
/resume <name>

# Create initial instructions
/init

By default thinking mode is enabled, disable by typing Options + T and toggle the thinking mode. This may help reduce the token consumption

Further, you can run the commands via claude cli by append ! . For example, to list the files:

! ls -l

Configure MCP Server

Edit .claude.json file or use command line:

# Add MCP Service
claude mcp add <name> --scope [user|local]
claude mcp add-json github '{"type":"http","url":"https://api.githubcopilot.com/mcp","headers":{"Authorization":"Bearer <PAT>"}}' --scope user

# List MCP Service
claude mcp list

# Remove MCP Service
claude mcp remove <name>

Local scope:  A local-scoped server loads only in the project where you added it and stays private to you. Claude Code stores it in ~/.claude.json

Project-scoped servers enable team collaboration by storing configurations in a .mcp.json file at your project’s root directory. 

User-scoped servers are stored in ~/.claude.json and provide cross-project accessibility, making them available across all projects on your machine while remaining private to your user account. 

Skill

Skill is a feature in agentic system, where in you teach the system to perform tasks. Think of it as writing algorithms for a specific problem, but quite literally in simple plain English. The agentic system reads these skills file and performs the actions accordingly.

Workspaces