IA Dev Learn

claude

Use with care

Start Claude Code

Anthropic's coding agent, in your terminal. It reads CLAUDE.md and .claude/skills/, edits files and runs commands after asking.

It edits your files. Commit first, and review its diff.

Live example

Context≈ 3.2k tokens
System prompt

Read, plan, act, verify, report: the loop lights up once the agent gets a prompt.

$ claude -p "Fix the total bug in @src/cart.ts: multiply by quantity. Add a test and run it."

Syntax

  • claude
  • claude "first request"
  • claude -p "request"
  • claude --permission-mode plan

Useful options

-p, --print
Answer once and exit (headless, for scripts)
--permission-mode plan
Start in plan mode: propose before acting
mcp add <name> -- <cmd>
Connect an MCP server (new tools)