Skip to content

What Is Claude Code? We Counted 11,068 of Its Actions

Claude Code is Anthropic's agentic coding tool. We counted every action it took on one machine in 13 days: 11,068 tool calls, half of them shell commands, one in eight changing a file, and 15% errors, most of them blocked on purpose.

By the RanThis team, written with AI7 min read

Why trust this: every result, number and screenshot comes from a real run on our own accounts, not from the AI. How we test

Claude Code is Anthropic's agentic coding tool: you describe a task in plain language, and it reads your files, edits them and runs commands on your computer until the task is done. That is the official one-line answer. To show what it means in practice, we counted every action Claude Code took on one of our machines over 13 days: 11,068 tool calls across 486 sessions. Half of them were shell commands, and only one in eight changed a file.

Measured on 30 Oct 2026 from the session files Claude Code wrote between 17 and 29 Oct 2026 on one Windows 11 PC (WSL, Ubuntu 24.04), signed in with a $200-a-month Claude plan. Definitions and prices come from Anthropic's Claude Code docs and pricing page, read again on 3 Nov 2026.

At a glance

Key results

  • Half of what Claude Code does is run shell commands. 51% of its 11,068 tool calls were Bash. Reading files was 21%, searching (Grep, Glob) 9%, editing or creating files 12%, and the web 3%.
  • It reads far more than it writes. For every file it edited or created, it read almost two and ran four shell commands.
  • One action in seven fails, mostly by design. 1,622 of 11,067 tool results came back as errors (15%). 59% of those were commands our permission rules blocked; Claude Code read the refusal and tried another way.
  • A typical session is 13 actions; a long one is 66 or more. That was the median and the 90th percentile across 407 sessions that used tools.
  • 41% of the actions were not coding at all. Our agents that write articles, plan marketing, cut videos and check finances made 4,573 of the calls, mostly by running scripts.

Hands-on test

Setup

  • Machine: one Windows 11 PC with WSL (Ubuntu 24.04) that runs Claude Code most of the day: a set of agents that pick up tasks from a shared board (writing, marketing, social, finance, video, code), scheduled jobs and our own test runs.
  • Plan: the $200-a-month Claude plan, called Max 20x when we measured and Ultra on today's pricing page. On a subscription nothing is billed per action.
  • Data: every .jsonl session file under ~/.claude/projects/ on that PC, including subagents. Claude Code writes each message and tool use to these files. A script counted the name of each tool call once, the first word of each shell command (not its arguments), and whether each tool result was an error. It did not read or keep the conversations.
  • Left out: our laptop, and anything done on claude.ai.

What is Claude Code?

Anthropic describes Claude Code as "an agentic coding tool that reads your codebase, edits files, runs commands, and integrates with your development tools." The important word is agentic. A chatbot answers with text and you copy the result. Claude Code takes the actions itself, in a loop that Anthropic splits into three phases: gather context, take action, verify results. Each tool result feeds the next decision, and the loop repeats until the task is done or you stop it.

It runs in several places: a terminal app, extensions for VS Code and JetBrains, a desktop app and the web at claude.ai/code. In the terminal you install it with one command, open a project folder and type claude. Most of these need a paid Claude plan or an Anthropic Console account with API billing.

What it can touch is your project folder and your terminal. Anthropic's docs put it plainly: any command you could run from the command line, Claude can run too. That is what makes it useful, and it is why Claude Code asks for permission before risky actions unless you have allowed them.

What it actually did: 11,068 actions

Anthropic groups the built-in tools into file operations, search, execution, web and code intelligence. Here is how our 13 days split across them.

Tool groupToolsCallsShare
ExecutionBash5,65851.1%
Reading filesRead2,33121.1%
SearchGrep, Glob1,0069.1%
Changing filesEdit, Write1,38012.5%
WebWebFetch, WebSearch2852.6%
Everything elseMCP servers, subagents, structured output, tool search4083.7%
Bar chart of 11,068 Claude Code tool calls: Bash 51.1%, Read 21.1%, Edit and Write 12.5%, Grep and Glob 9.1%
Our count from the session files, 17 to 29 Oct 2026: shell commands outnumber file edits four to one

The shell commands are where the work happens. The most common first words were cd (882, usually the start of a longer command), uv run (711) and python3 (558) for our own scripts, then grep, ls, sed and cat for looking at files, and git (about 500 across add, log, show, commit and status). A further ~485 were calls to the command-line tool our agents use to take and close tasks.

The 15% error rate surprised us at first, so we sorted the 1,622 errors by the first words of each error message. 96% of them came from shell commands. The biggest group, 964 (59%), were commands our own permission rules blocked: our unattended agents may only run an approved list of commands, and Claude Code then tried an allowed route. 188 were commands that ran and failed, such as a script error or a failing check, 64 were files that were missing or had not been read yet, and 1 was stopped by a person. 405 did not match any of our keywords. Behind a typical 13-step session there are usually one or two failed attempts that you never see in the final answer.

Coding tool, office work

The name says coding, but on our machine 41% of the actions came from agents that do not write software:

AgentTool callsShare of all calls
Editing (articles, fact checks)1,61714.6%
Video1,37412.4%
Marketing5795.2%
Social5444.9%
Finance2692.4%
Business planning1901.7%

They still work the same way: run a script, read the output, write a file. That is the reason Claude Code works for office tasks once someone has set up the scripts. We tested three of those directly: merging Excel files with mismatched columns, PDF invoices to Excel, and what it all costs in Claude Code cost and limits.

What it costs to use

Way to payPrice
Pro$20 a month billed monthly, Claude Code included with usage limits
Max$100 a month, 5x Pro usage
Ultra$200 a month, 10x Pro usage every week, no 5-hour limit for verified accounts
API keyPay per token, for example Sonnet 5.5 at $2 input and $10 output per million tokens

On a subscription, Claude Code runs until you hit a session limit or a weekly limit, and switching models does not get around either. Ultra drops the 5-hour limit for verified accounts but keeps the weekly one. We measured how quickly real work uses that up in Claude Code usage limits.

What worked

What worked

  • Counting from the session files was easy and private. Claude Code already logs every tool call locally, so measuring what it did needed one short script and no extra tracking.
  • The tool mix is a good mental model. If you think of Claude Code as a fast colleague with a terminal, the numbers match: look around, try a command, read the result, change a file, check again.

Where it fell short

What didn't work

  • One machine, our own workload. Our agents run lots of scripts, which pushes Bash up. A developer editing one app all day would likely see more Edit calls.
  • An error is not always a mistake. The 15% counts every tool result marked as an error, including commands we blocked on purpose. Our keyword sort left 405 errors (25%) unclassified, and we did not read them one by one.
  • No timing. The session files give counts, not how long each action took.

Our verdict

Claude Code is worth trying if you already have work that happens in files and commands and you can describe it in a sentence: fixing code, reshaping spreadsheets, running a report. Do not pick it if you want a chat window that only answers questions; the Claude app is simpler for that. Expect it to spend most of its effort looking around and running things, not typing code, and expect a few failed attempts inside every task. Start on Pro, watch the usage limits, and give it a project folder where a wrong command cannot hurt anything important.

FAQ

Is Claude Code free?

No. It needs a paid Claude plan (Pro at $20 a month, Max or Ultra) or an Anthropic Console account billed per token.

Do I need to know how to code to use Claude Code?

Not to start: you give it tasks in plain language. You do need to be comfortable opening a terminal or an editor, reading what it proposes, and approving or refusing commands.

What is the difference between Claude Code and Claude?

Claude is the model and the chat app. Claude Code is the tool around the model that lets it read files, edit them and run commands on your computer.

Where does Claude Code store my sessions?

Locally, as plain-text JSONL files under ~/.claude/projects/. That is what we counted for this article.

Claude

Claude Fable 5.1 Agent Test: Sonnet Tied It at 1/8 the Cost

We gave Claude Fable 5.1, Opus 5.5 and Sonnet 5.5 the job Anthropic sells Fable for: a long agentic month-end close with tools, three exports and ten traps. All three found every trap; Fable cost the most and was the slowest.

AI-generated illustration

Claude

Connect Claude to PostgreSQL: Remote MCP Server, Tested

We built a small remote MCP server that lets Claude query a PostgreSQL database read-only, with scoped tokens and an audit log. Claude Code answered three business questions in 5 tool calls and 19.1 s for $0.10; every number matched direct SQL.

AI-generated illustration

Claude

Claude Long Chat vs New Chat: Does It Get Lost? (Tested)

We hid three corrections in a 40-message office chat about a fake sales table and asked Claude Haiku 5.5 and Sonnet 5.5 five questions there, in a short chat and in a new chat built from a summary. All scored 5/5; the new chat carried 5–7 times less history per message.

AI-generated illustration