One of Japan's largest directories x find the right AI in as little as a minute

  1. AI BEST SEARCH
  2. AI Tool How-Tos & Use Cases
  3. [Claude Code Primer] Core Features and Getting Started with a Terminal-Based AI Coding Agent

[Claude Code Primer] Core Features and Getting Started with a Terminal-Based AI Coding Agent

A beginner-friendly introduction to Claude Code, the terminal-centric AI coding tool. Explains core features, practical use cases, and step-by-step setup instructions.

AI-powered coding tools are multiplying, but Claude Code has carved out a unique position as a CLI (terminal)-first agentic tool. Its defining feature is the ability to handle code generation, editing, debugging, and Git operations end-to-end based on natural language instructions. This article provides a clear explanation of Claude Code's core concepts, features, use cases, and setup steps.


What Is Claude Code?

Claude Code is an agentic AI coding tool from Anthropic that you control through a terminal, IDE, or web browser using natural language — while it understands and works across your entire project. Unlike traditional completion-based tools, its key differentiator is the ability to make project-wide changes and execute end-to-end workflows using natural language.


Claude Code Features and Capabilities

Understanding the Full Project Context

Claude Code reads not just individual files but the entire repository's structure and dependencies, then applies changes based on your natural language instructions. It can handle large-scale tasks like refactoring and spec changes that span multiple files.

Code Generation and Editing via Natural Language

Simply instruct it in natural language and it will handle new code generation, feature additions, bug fixes, and improvement suggestions. Unlike traditional comment-based completion, it generates high-quality change proposals by referencing project context.

Git Workflow Automation

Claude Code supports Git operations as well — you can create branches, commit, and generate pull requests (PRs) in natural language. This streamlines the AI-assisted workflow from code changes through review.

Claude Code's Key Extensions

Claude Code goes beyond code generation; it includes a set of capabilities that enhance extensibility for each project. This section explains the roles and distinctions of three key mechanisms: Skills, Custom Commands (Slash Commands), and Subagents.

Skills

Skills are reusable specialist knowledge packages that extend Claude Code's capabilities. Skills are placed in directories such as .claude/skills/ and add modular, task-specific rules and knowledge to Claude. Claude autonomously decides when to invoke the appropriate skill based on the prompt and context.

Characteristics

  • Specialized knowledge: Define team-specific coding conventions, output formats, and more
  • Reusability: Define once, share across multiple projects
  • Auto-application: Claude automatically invokes skills when the situation calls for them

Examples

  • Rule definitions for automated API test generation
  • Documentation generation templates
  • Coding conventions and auto-formatting

Skills fundamentally extend Claude's internal knowledge level, making domain expertise available more efficiently than standard prompts or CLAUDE.md.

Custom Commands (Slash Commands)

Custom Commands are a way to define frequently used tasks or complex procedures as shortcuts that can be called directly from the CLI. Custom commands are primarily defined in .claude/commands/.

Characteristics

  • User-initiated: Execute defined commands on demand
  • Simplifying repetitive work: Run repeated prompts or combinations of multiple commands as a single command

Examples

  • "/generate-tests": Auto-generate tests command
  • "/clean-logs": Log file cleanup command

Custom commands are best suited for situations where you want to trigger an action explicitly.

Subagents

Subagents are independent AI agents specialized for specific tasks, each with their own context window and settings. When a specific task is detected within a Claude Code workflow, processing is delegated to the appropriate subagent.

Characteristics

  • Independent context: Can process separately from the main conversation history
  • Role specialization: Handles specialized processing such as test generation, code review, and API design
  • Parallelism: Multiple subagents can be launched in parallel

Subagents are autonomous execution agents suited for specialist and complex workflows.


When to Use Custom Commands, Skills, and Subagents

By choosing the right tool for the job, you can get the most out of Claude Code's extensions:

1. When you want to speed up everyday routine tasks

→ Custom Commands

Turn frequently occurring tasks into shortcuts to eliminate the overhead of issuing the same prompt every time.

2. When you want to share knowledge and rules across the entire project

→ Skills

Define team-specific best practices and rules, and have them applied automatically whenever needed.

3. When you want to autonomously handle specialist or multi-step tasks

→ Subagents

Run agents with clearly defined roles (e.g., code review, test design) independently, then return results to the main flow.

Example combination

A practical pattern is having a subagent handle a complex workflow while skills supply the domain expertise.


Where Claude Code Shines

Claude Code is effective in the following use cases:

  • Large-scale refactoring: Automate changes spanning multiple files
  • Spec-to-implementation automation: Natural language spec → code generation → Git operations
  • Specialist processing workflows: Delegate test generation and quality checks to dedicated subagents
  • Auto-applying team rules: Use skills to enforce coding conventions and templates consistently

Getting Started with Claude Code (Setup)

1. Account and Plan

First, you'll need to sign up for an Anthropic Claude plan (Pro/Max, etc.) to use Claude Code.

2. Installation

Install the official CLI in your terminal and navigate to your project root.

Typically:

npm install -g claude-code

Install the CLI like this (follow the official documentation for actual steps).

3. Running Your First Project

Just type a natural language command in your project root, and Claude Code will read the context and begin processing.


Common Pitfalls for Beginners

  • Confirm safe operations: Always review the Preview → Approve flow for large-scale changes and Git operations
  • Organize your project context: Keep your CLAUDE.md, skill files, and subagent definitions in order
  • Understand the pricing model: Know your token consumption and plan limits to avoid overspending

Summary

Claude Code is a development platform that goes beyond simple completion tools, enabling you to drive your entire project in collaboration with AI. It handles code generation, editing, Git operations, and workflow automation via natural language — and the extensibility of Custom Commands, Skills, and Subagents takes the developer experience even further. Understand these features and their distinctions, and leverage Claude Code in the way that best fits your project.


For beginners, the sticking point with Claude Code is usually terminal and Git operations rather than the tool itself. Once you can read a change with git diff and undo it with git reflog, the Preview → Approve flow starts functioning as real review. Free ways to start are compared in "CLI and programming study in the age of AI coding agents".

Share this article

AI tools featured in this article

Related articles

DeepSeek-V4.1-Flash-1017とは【2026年10月17日公開】APIの料金(円換算)・商用利用・安全性・V4-Proとの違い

DeepSeek(ディープシーク)は2026年10月17日、V4.1-Flashの小改良版「DeepSeek-V4.1-Flash-1017」を公開し、Web版・アプリ・API(deepseek-flash)を同日に切り替えました。重みはMITライセンスで商用利用でき、コード修正のベンチマークDeepSWE v1.1では77.0とClaude Opus 5(74.0)を上回りますが、数字は自己申告で、Opus 5が上の項目も多くあります。この記事では、公式のAPIドキュメントとHugging Faceのモデルカードにもとづいて、何が変わったか、APIの料金を円でいくらか(日本時間のピーク時間帯と半額のオフピーク)、11月1日から課金が始まるSearch/Fetch API、V4-Proの現状、中国のサーバーに保存されるデータの扱いと自社の環境で動かす選択肢を整理します。

DeepSeek-V4.1-Flash-1017とは【2026年10月17日公開】APIの料金(円換算)・商用利用・安全性・V4-Proとの違い

Claude MaxのAPIクレジットとは【2026年10月最新】毎月$100〜の受け取り方・使える範囲・Claude Codeは対象か・Haiku 5.5で何回動くか

2026年10月7日(米国時間)、AnthropicはClaudeのMax・Teamプランに毎月のAPIクレジットを付けると発表しました。Max 5x(現在のMax)は月$100、Max 20x(現在のUltra)は月$200、Teamは1席あたりStandard $20・Premium $100をチームで1つの残高にまとめ、上限は$500です。この記事では、Xで食い違って広まったTeamの付き方(オーナー1人が受け取るプール方式)を公式ヘルプにもとづいて正し、使える範囲(Claude API・Managed Agents・Agent SDK・APIキーで動かすclaude -p)と使えない範囲(対話で使うClaude Code・Bedrock等の経由)、claude.aiの請求設定から組織を連携する受け取り方、7日の待機期間と繰り越し不可の条件を整理します。あわせて、同時公開のClaude Haiku 5.5の料金(入力$0.10・出力$0.50/100万トークン)で$100がどれだけの処理になるかを試算し、Pro・Max・Teamの選び方の目安を示します。

Claude MaxのAPIクレジットとは【2026年10月最新】毎月$100〜の受け取り方・使える範囲・Claude Codeは対象か・Haiku 5.5で何回動くか

What Jev Is [October 2026]: The AI That Generates No Text — How to Use It, Pricing, and How It Differs from Microsoft-Decision-1

On 9 October 2026, Microsoft released Microsoft-Decision-1, a decision model at the same price as Jev ($0.042 per million input tokens, free output) and with the same question types. This article explains what Jev — released by TypeSafe AI on 15 September 2026 — is: a System One model that generates no text and returns Choice (classification), Score (rating) and Noul (a 0–1 truth value) with probabilities; speculative fan-out, where stacking questions barely changes latency; how to get started from the waitlist to the Python SDK, HTTP API and Claude Code skill; routing low-confidence answers to people; and use cases. It then compares Jev with Microsoft-Decision-1 (access, context length, availability, Japanese support), explains which to choose and whether you can use them from Japan, and covers Jev's latest status in October (Series A, rate limits, OpenRouter listing). It also covers the official note that CJK accuracy is lower than English and the weak spots TypeSafe publishes itself.

What Jev Is [October 2026]: The AI That Generates No Text — How to Use It, Pricing, and How It Differs from Microsoft-Decision-1

CLI and Programming Study in the Age of AI Coding Agents [August 2026]: 11 Services, Starting from the Terminal and Git

With Claude Code, Codex and Cursor in everyday use by 2026, what you need is no longer the ability to write from scratch but the ability to read the diffs an agent produces, interpret its errors and recover a broken state — and all of that happens in the terminal. This article compares 11 learning services — WebTerm, WebTerm Learn, Progate, dotinstall, paiza Learning, ZEN Study, Techpit, Recursion, Boot.dev, KodeKloud and DeepLearning.AI — by entry point (language or environment), format, language support, free tier and price. It also covers the courses rebuilt around agents, including Progate's Claude Code Introduction (beta), KodeKloud's Claude Code For Beginners (8h32m) and DeepLearning.AI's course co-produced with Anthropic, and lays out an order to learn in: environment, syntax, agent, evaluation.

CLI and Programming Study in the Age of AI Coding Agents [August 2026]: 11 Services, Starting from the Terminal and Git

Claude Fable 5 vs. GPT-5.5 vs. Gemini 3.1 Pro: Which Should You Choose? A Deep Dive into Performance, Pricing, and Use Cases [July 2026]

A thorough comparison of the latest flagship models from the industry's three leading AI labs, all released in the first half of 2026: Claude Fable 5, GPT-5.5, and Gemini 3.1 Pro. Covers benchmark performance, API pricing, context windows, multimodal support, and how to use them on consumer plans like ChatGPT Plus, Claude Pro, and Google AI Pro — with recommendations by use case, based primarily on official data.

Claude Fable 5 vs. GPT-5.5 vs. Gemini 3.1 Pro: Which Should You Choose? A Deep Dive into Performance, Pricing, and Use Cases [July 2026]

What Is Claude Fable 5 | A Deep Dive into Anthropic's Latest Frontier Model: Performance, Pricing, and How to Use It

A comprehensive look at Claude Fable 5, Anthropic's latest model released in June 2026. Covers benchmark performance in coding, knowledge work, and science, how it compares to Mythos 5, API pricing, and usage guidance — all backed by official data.

What Is Claude Fable 5 | A Deep Dive into Anthropic's Latest Frontier Model: Performance, Pricing, and How to Use It