[KongchangAI]
· 2 min read· 1,017 words

Claude Code Practical Guide: From Installation and Setup to Building Custom Skill Packs

Claude Code Practical Guide: From Installation and Setup to Building Custom Skill Packs

A hands-on guide to Claude Code covering setup, operating modes, MCP, and building custom Skill packs.

This article provides a comprehensive introduction to Claude Code — its positioning, installation, and core features. Unlike lightweight office assistants, Claude Code is designed as a "tool for creating tools," supporting MCP integrations with services like Feishu and reusable Skill packs for frequent tasks. The guide covers all four operating modes (Manual to Bypass Permission), key commands, low-cost API configuration via DeepSeek, and real-world projects from disk cleanup to personal dashboard development.

What Is an AI Agent, and Why Choose Claude Code

AI Agents represent a new paradigm in AI applications. Traditional AI software is limited to conversational interaction, whereas Agent-based tools give large language models the ability to directly operate a computer — making them a true digital employee.

The core difference between Claude Code and tools like WorkBuddyAd or Doubao Work Partner comes down to positioning: Claude Code is a "tool for creating tools." It boasts a powerful open-source ecosystem and strong coding capabilities, supports installing various Skill packs, and is well-suited for high-value development work. Tools like WorkBuddy, on the other hand, lean toward lightweight office assistance — handling documents, spreadsheets, and presentations out of the box.

Put simply: if you're willing to invest time in configuration, Claude Code can handle everything an office assistant does, plus write complex programs and build custom toolchains.

Terminal interface

Quick Installation and API Configuration

Basic Installation Steps

Run the installation command in your terminal (separate commands are available for macOS/Linux and Windows), then restart the terminal. Next, install the CC Switch tool to manage your API keys.

Configuring the DeepSeek API Key

DeepSeekAd is recommended as the backend model — it offers excellent cost-efficiency and well-rounded capabilities. Here's how to set it up:

  1. Visit the DeepSeek developer platform and register an account
  2. Add funds and create an API Key
  3. Add and enable DeepSeek in CC Switch
  4. Type cloud in your terminal to launch, then select the DeepSeek model

Folder-Based Workflow Management

Claude Code uses a folder-based project management approach. The best practice is to create a separate folder for each task, then cd into that folder before launching. This design prevents context bleed between different tasks and keeps multi-turn conversations focused.

Core Features and Operating Modes

The Four Operating Modes Explained

Claude Code offers four modes, which you can switch between quickly using Shift+Tab:

  • Manual mode: Every edit and execution requires manual confirmation — ideal for beginners
  • Accept Edit Zone mode: Automatically accepts file edits, reducing confirmation prompts
  • Auto mode: Automatically modifies files, but still requires confirmation before running commands
  • Bypass Permission mode: Full autonomy — executes everything automatically

Bypass Permission mode must be enabled manually (just ask for it in conversation). Despite having the highest level of access, real-world usage shows that its internal workflow is sufficiently rigorous, keeping the risk of unintended actions low.

Operating mode interface

Quick Command Reference

CommandDescription
/modelSwitch models
/contextView token usage
/compactCompress context to avoid cross-task contamination
/resumeOpen conversation history
/clearClear current context
/memoryManage global and project-level configurations

Memory configuration operates at two levels — global and project — with project-level settings taking priority. You can use this to define working principles, language preferences, and other habits, helping the AI better understand how you work while also reducing token consumption.

MCP Connectors: Breaking Down Data Silos

MCP (Model Context Protocol) is an official interface protocol opened up by various software companies, allowing Agents to call third-party services and read databases. Installing an MCP connector typically requires providing app credentials (such as an App ID and App Secret), which can be obtained from the developer console of the corresponding platform.

For example, once you install the Feishu MCP connector, you can have Claude Code read Feishu documents and perform collaborative operations directly. MCP is essentially an interface layer — the actual permissions are still tied to your personal account. A large number of industry-relevant MCPs are already available, covering mainstream office, data, and development platforms.

Skill Packs: Reusable Operation Playbooks

What Skills Are and Why They Matter

A Skill is essentially an operation manual combined with supporting tools, enabling an Agent to quickly learn the execution flow for a specific task. For instance, Anthropic's official Front-end Design Skill, once installed, noticeably improves the aesthetics and professionalism of generated interfaces.

Building a Custom Skill: Disk Cleanup Case Study

Creating a custom Skill is much simpler than it sounds. Just describe the task flow in natural language and ask to have it packaged as a Skill when done. For example:

"Help me clean up my disk — I'll confirm before anything gets deleted. Once done, package all of this into a Skill."

In practice, this cleanup Skill uncovered game installers forgotten years ago, freeing up 100 GB in a single run. Once packaged, Skills can be shared with others, who can install and use them with a single click.

Disk cleanup task

Hands-On Project: Personal Dashboard Webpage

Designing Your Requirements

For beginners, building a personal dashboard as an HTML webpage with Claude Code is a great starting point. You can specify concrete feature requirements, such as:

  • To-do list management
  • Personal health tracking
  • Pomodoro timer
  • Simple expense tracking
  • UI polish using a design-enhancing Skill

The Automated Development Workflow

In Bypass Permission mode, Claude Code will keep working until the project is complete. In testing, the generated dashboard included light/dark mode switching, all functional modules worked correctly, and the overall UI had a solid aesthetic quality.

Real production environments will naturally involve more complexity, but this example clearly demonstrates the potential of Claude Code for rapid prototyping.

Best Practices

  1. Project isolation: Use separate folders for different tasks to prevent context contamination
  2. Regular compaction: Run /compact after completing each phase to free up context space
  3. Configure first: Set up your working preferences and language settings in Memory upfront
  4. Progressive authorization: Start in Manual mode and switch to Bypass Permission once you're comfortable with the workflow
  5. Leverage Skills: Package high-frequency tasks into Skills to dramatically improve reusability

The core value of Claude Code lies in its extensibility and automation capabilities. Compared to out-of-the-box office assistants, it does require a learning investment — but the payoff is an AI system that truly fits your personal workflow.

#Claude Code#AI Agent#Skill pack#MCP connector#DeepSeek API#automated development workflow#AI coding tool
Share:

Related articles