# Claude Code

Claude Code is Anthropic's AI agent that reads, edits and creates the files in a folder on your computer. What it does, where it runs and how writers use it.

**Definition:** Claude Code is Anthropic's AI agent that works on the files in a folder on your computer, reading them, editing and creating files and running commands when you ask in plain language.

## Where it runs

Claude Code runs in the terminal, as an extension in VS Code and a plugin in JetBrains IDEs, as the Code tab in the Claude desktop app, and on the web. The terminal version is the full command line tool: you start it in a folder and it works on the files there.

```terminal
cd ~/Writing/newsletter
claude
```

## How a writer uses it

Ask for what you want in plain words, the way you'd brief an editor:

```prompt
Tighten the intro of issue-42.md to three sentences.
```

Claude Code reads the file, edits it and tells you what it did. A few parts matter for writing:

- **Standing instructions** live in a [CLAUDE.md](/glossary/claude-md) file in the folder, such as your style rules or which files to leave alone. Claude Code reads it at the start of every session.
- **Permission modes** decide whether it asks first. Current versions start in auto mode, which edits without stopping to ask; Manual mode asks before each file edit.
- **Undo** is built in: it saves a checkpoint before each prompt, and [`/rewind`](/glossary/claude-code-rewind) restores files its edit tools changed.

## In Flywrite

Run Claude Code in the terminal under your draft: press ⌃2 (Flywrite's default launcher, customizable). It sees the open file, line and selection with no setup, so "tighten this paragraph" works on the paragraph you've selected, and the editor updates live as it edits. Flywrite saves a [checkpoint](/glossary/checkpoint) of the whole project when Claude Code starts in its terminal. You use your own Claude plan; Flywrite charges no AI fee. More in [Writing with Claude Code](/docs/writing-with-claude-code).

## Questions

### Is Claude Code only for programmers?

Anthropic built it for code, but it works on any text files in a folder, so writers run it on Markdown drafts, notes and outlines.

### Do I need a paid plan to use Claude Code?

Yes. Claude Code needs a paid Claude plan or an Anthropic Console account; the free Claude plan doesn't include it.

## Sources

1. [Claude Code: Overview](https://code.claude.com/docs/en/overview), checked 2026-11-10
2. [Claude Code: Set up](https://code.claude.com/docs/en/setup), checked 2026-11-17
3. [Claude Code: Choose a permission mode](https://code.claude.com/docs/en/permission-modes), checked 2026-11-04
4. [Claude Code: Checkpointing](https://code.claude.com/docs/en/checkpointing), checked 2026-11-17
5. [Flywrite docs: Writing with Claude Code](/docs/writing-with-claude-code), checked 2026-11-17
6. [Flywrite docs: The terminal](/docs/the-terminal), checked 2026-11-17

---

This is the Markdown copy of https://flywrite.app/glossary/claude-code.
