ホーム 暮らし Claude Code's new 'ultracode' setting is here—how it works and how to use it to run hundreds of agents in parallel

Claude Code's new 'ultracode' setting is here—how it works and how to use it to run hundreds of agents in parallel

雨宮 千夏 雨宮 千夏 • 更新: • 公開: • 読了約 29 分
目次

Key points of this article

  • On May 28, 2026, Anthropic introduced a new setting, 'ultracode', to Claude Code v2.1.154+
  • This setting simultaneously enables 'xhigh (highest level) reasoning' and 'automatic orchestration of dynamic workflows'.
  • Dynamic workflows are a mechanism where Claude dynamically writes scripts and executes 10 to hundreds of agents in parallel.
  • In the Zig-to-Rust port of Bun (a popular high-speed JS runtime), it achieved approximately 750,000 lines and 99.8% test pass rate in 11 days.
  • Token consumption is high, so it is practical to decide whether to use it based on the scale of the task.
  • It can also be combined with the agent-skills covered in the ZenChAIne series.spec-implement

Another interesting setting has been added to Claude Code. It is named ultracode, and you can enable it simply by typing /effort ultracode.

This is a Claude Code-specific setting that turns on not just a higher reasoning level (xhigh), but also automatic orchestration of dynamic workflows. In this article, I will summarize what this is, what it can do, and when you should use it.

1. What does the ultracode setting do?

nf0fc6fb23af4

/effort Among the reasoning level options in the menu, ultracode has a special status.

  • xhigh reasoning: Processes tasks using the strongest reasoning mode.
  • Automatic workflow judgment: Claude automatically launches a dynamic workflow if it decides 'it would be faster to do this as a workflow'.

In other words, it is a mode that makes it think deeply and parallelizes if necessary. It is better suited for larger tasks than using xhigh alone.

It is only valid during the session and resets when you open a new session. When you want to return to your normal work, you can revert it using /effort high or similar commands.

2. Dynamic workflows: A 'new form of parallelization'

The dynamic workflows launched by ultracode are slightly different from the parallelization mechanisms Claude Code has had until now.

Previously, there were subagents / skills / agent teams, all of which proceeded while Claude itself thought about 'what should I do next' turn by turn.

Dynamic workflows are different. Claude dynamically writes a JavaScript script, and the runtime executes that script.

Dynamic workflowsスクリプト数十〜数百 / runscript 変数

Since intermediate results remain in script variables rather than Claude's context, the advantage is that the runtime can maintain plans and intermediate states even for long workflows. It scales up to 16 parallel agents and 1,000 agents per run.

3. There are 3 ways to launch it

A. Keyword in the prompt ultracode keyword

When you want to make a single task a workflow:

ultracode: src/routes/ 配下の API エンドポイントを全部監査して、auth チェックが
抜けているものを洗い出して

Natural language like "run this as a workflow" also has the same meaning. Since Claude Code will highlight ultracode in the input field, you can cancel it with Option+W (Mac) / Alt+W (Win/Linux) if it was a false positive.

B. /effort ultracode (Entire session)
/effort ultracode

From this point on, Claude will automatically trigger a workflow if it determines it is necessary. A single request may be split into multiple workflows, such as "code understanding → modification → verification."

C. Calling an existing workflow

/deep-research The built-in workflow called is convenient.

/deep-research Node.js の permission model は v20 から v22 で何が変わった?

It fans out web searches from multiple angles, cross-checks sources, and returns a report with citations.

4. The Zig to Rust port of Bun was shocking

Among the examples introduced in the official blog, the biggest impact was the Zig to Rust port by Bun creator Jarred Sumner.

  • Duration: From first commit to merge, 11 days
  • Scale: Approximately 750,000 lines of Rust
  • Tests: 99.8% pass rate on the existing suite

To achieve this, he coordinated workflows.

  1. A workflow to map the correct Rust lifetimes for each Zig struct field
  2. A workflow to write .zig files with behavior equivalent to .rs (hundreds of agents in parallel, with 2 reviewers per file)
  3. A fix loop to clean up all builds and tests
  4. An overnight workflow to reduce unnecessary data copying and create PRs for each fix

"750,000 lines in 11 days" is a somewhat unrealistic number, but it shows the reality of large-scale migrations by AI in the future. At ZenChAIne, I feel this is an important data point regarding the question of how much of a large-scale codebase can be entrusted to AI.

5. Relationship with /goal commands for similar purposes

Claude Code has had a /goal command for a while now (v2.1.139+). This is often confused with ultracode, but they actually have different levels of abstraction, so the correct approach is to use them in combination.

/goal is a self-driving loop with completion conditions. When you pass a natural language condition like "until all tests under test/auth pass and lint is clean," Claude will continue to run across turns until that condition is met. At the end of each turn, a small, fast model (Haiku by default) evaluates whether the condition has been met, and if not, it automatically starts the next turn.

/goal all tests in test/auth pass and the lint step is clean

To summarize, the relationship is as follows.

  • /goal: Self-driving across turns (horizontal axis)
  • ultracode: Parallel execution within a turn (vertical axis)
  • auto mode: Automation of tool approval

By combining all three, you can write commands like this.

/effort ultracode
/goal すべての test/api/ 配下のテストがパスし、npm run typecheck が exit 0 を返すまで

With this, three layers of automation will work simultaneously: "auto mode automatically approves tools," "ultracode launches hundreds of agents in parallel within a single turn if necessary," and "/goal self-drives across turns until the condition is met."

However, turning all three on will likely increase token consumption significantly, so it is safer to try it on a small scale first. The idea is to confirm the behavior in a narrow scope, such as "only a specific directory under dist/," before applying it to a large-scale production migration.

/goal The trick to writing conditions for is to phrase them as execute until Claude produces the result in the conversationnpm test. Since the evaluator Haiku does not call tools and only looks at the content of the conversation, you can determine success by phrasing it as "until Claude executes or stop after 20 turns and pastes the result into the conversation." The official documentation also recommends adding clauses like to prevent runaway execution (maximum 4,000 characters).

6. Relationship with the ZenChAIne series

The Practical Specification-Driven Development series that ran on this site until recently also used spec-implement to parallelize using 4 types of dispatch modes (Codex sub-agents / Claude Code agent team / cmux dispatch / standalone execution).

ultracode and spec-implement are not in competition, but are layers with different levels of abstraction.

  • spec-implement dispatch: Maps division of roles such as "implementation lead," "review lead," and "test lead" to the agent runtime. The degree of parallelism is at the level of a few roles.
  • dynamic workflows: Scales dozens to hundreds of agents via scripts.

Practically speaking, if you keep spec-implement turned on while running ultracode, Claude will automatically create a workflow when it judges that "it is faster to parallelize this" during the implementation of each task. The image is super-parallel scaling layered on top of role division.

However, dynamic workflows consume a lot of tokens, so it is not always best to turn everything into a workflow. If the scale is small enough to be handled by spec-implement with its highly traceable division of roles, that is often the better choice.

7. Costs and safety mechanisms

A workflow 1 run uses significantly more tokens than a normal Claude Code session. The reason is simple: the number of agents increases by an order of magnitude.

The cost management recommended by the official team is as follows.

  • Try it out in a small scope (one directory, narrow questions) first.
  • /workflows Check progress and token usage per agent, and x you can stop it at any time (completed tasks are cached even if stopped).
  • The agent limit of 16 parallel / 1,000 agents per run prevents runaway processes.

There are also safety mechanisms via approval modes.

  • Default / accept edits: Requires approval every time.
  • Auto: Approval only for the first time, ultracode completely skipped when enabled.
  • Bypass permissions, claude -p, Agent SDK: No approval.

ultracode When combined with Auto mode, workflow launch confirmation is skipped. However, since shell / web / MCP tools outside the allowlist may prompt for confirmation during execution, be careful if you are concerned about token consumption.

Disabling can be done via /config Dynamic workflows, ~/.claude/settings.json the "disableWorkflows": true setting, CLAUDE_CODE_DISABLE_WORKFLOWS=1 environment variables, or organization-managed settings.

8. Ultimately, when should you use it?

I will write down my impressions after operating it as ZenChAIne.

Cases where using ultracode is suitable:

  • Audits across large codebases (dead code detection, security audit, profiler-guided optimization).
  • Migrations, language ports, and framework transitions spanning hundreds of files.
  • Critical changes where you want to double-check the results (independent verification + adversarial review).

Cases where you should refrain from using ultracode:

  • Normal tasks that only require changes to one or a few files.
  • Situations where the token budget is tight.
  • spec-implement Tasks that can be sufficiently tracked with existing role-based orchestration like

The fact that we now have the option to choose between 'strong reasoning mode + parallelization' is a major development in itself, and I believe it is part of a shift where Claude Code is evolving from a single-agent responder into a command center for parallel agents.

FAQ

Q. Is ultracode the same as xhigh reasoning? A. No, it is not. xhigh is a reasoning level, while ultracode is a Claude Code-specific setting that combines 'xhigh + dynamic workflow automated decision-making'.

Q. Do I need to write the workflows myself? A. No. Claude dynamically generates scripts based on your prompt. You can save a run you like by pressing the /workflows key in s, and reuse it later with /<name>.

Q. Is it available on all plans? A. It is available on all paid plans, but Max / Team / API are ON by default, Pro requires manual activation via /config, and Enterprise requires admin activation.

Q. What if a workflow stops midway? A. You can resume it within the same session. Select it in /workflows and press p to restart. Completed agents will return cached results.

At ZenChAIne, we are continuously tracking how to structure operations while applying Claude Code's new features to real projects. Please also see the ZenChAIne article for details on approval modes, Bun case studies, and how to distinguish between agent-skills.

'ultracode' setting arrives for Claude Code—automatic command of hundreds of parallel agents via xhigh reasoning + dynamic workflows, also demonstrating a Zig to Rust port of Bun

同じカテゴリの記事

雨宮 千夏
デジタルマーケター 雨宮 千夏
プロフィールを見る →

アイドルと音楽シーンの取材を担当。公式サイトの公演情報、リリース告知、公開チャートを照合してから構成しています。

おすすめの関連記事