AIFCC
記事一覧へ
claude-workflowagent-opsharness-design

Claude Dynamic Workflows完全ガイド

42858
Claude Dynamic Workflows 完全ガイド Anthropicは最も強力なClaude機能を出荷した——Opus 4.8が話題をさらったせいで99%の人がスクロールして見過ごしたが。 その機能は「Dynamic Workflows(ダイナミックワークフロー)」で、Claude Skillsをステロイドで強化したようなものだ。 複雑なことにClaude Codeを使っているなら、これですべてが変わる。 この記事ではDynamic Workflowsについて知っておくべきすべてを解説する。 読み終えたら、ClaudeのワークフローによるProductivityが劇的に向上することを保証する。 目次: I: Dynamic Workflowsとは何か? II: 使い方 III: 実際の例 IV: プロのヒント 【セクションI】Dynamic Workflowsとは何か? Anthropicの定義:「ダイナミックワークフローは、サブエージェントを大規模にオーケストレートするJavaScriptスクリプトだ。Claudeが説明したタスクのスクリプトを書き、バックグラウンドでランタイムがそれを実行する間、あなたのセッションはレスポンシブなままだ。」 平たく言えば、Claudeが1つの会話の中でステップバイステップで問題に取り組めるようになった。計画をスクリプトとして書き、その計画の異なる部分を同時に実行するために数十〜数百の並列エージェントを起動し、それらのエージェントが互いの仕事をチェックする。 Dynamic Workflowsが実際に行うこと: 1. 並列エージェントにファンアウトする タスクを順次処理する代わりに、Dynamic Workflowはタスクをサブタスクに分割して同時に実行する。 2. エージェントが自分の仕事を検証する ワークフローは、独立したエージェントが互いの発見を対立的にレビューしたり、複数の角度から計画を立案して比較検討することができる。 3. 再開可能だ Dynamic Workflowsは再開可能(長いタスクに最適)。 4. オーケストレーションが保存・再利用できる ワークフローが望んだことをしたら保存する。プロジェクトや個人ライブラリのスラッシュコマンドになる。将来の実行はすべて同じオーケストレーションロジックを使用するため、また説明する必要がない。 「Skills、Pluginsなどとの違いは何か?」と思うかもしれない。 違いを最もシンプルに考える方法: Skillsは、Claudeがすでに知っていることのやり方を教える Pluginsは、Claudeになかったツールへのアクセスを与える Dynamic Workflowsは、1つの会話では大きすぎる何かに取り組むために、Claudeに全体の労働力を調整する能力を与える 例えば:skillはリサーチブリーフを書けて、pluginはそのブリーフにライブデータを取り込めて、Dynamic Workflowは数百のソースにわたってファンアウトし、エージェントが互いの発見をクロスチェックし、耐えられないものを除外し、検証済みレポートを渡せる。 【セクションII】Dynamic Workflowsの使い方 幸い、ダイナミックワークフローの作成と使用は実際に非常に簡単だ。 ダイナミックワークフローを始める3つの主要な方法がある: 1. 自分のワークフローを作成する 自分のワークフローを作るには、Claudeプロンプトに直接「workflow」と入力するだけでいい。 Claudeがプロンプトに「workflow」という単語を見た瞬間、オーケストレーションモードに切り替わる。スクリプトを書き、計画されたフェーズを表示し、承認を求め、それを実行するために並列エージェントにファンアウトする。 プロのヒント:Claudeが意図しないのにそのワードを強調表示した場合は、Alt + Wを押してそのプロンプトでは無視できる。ワードがトリガーしないようにするには、/configで「Workflowキーワードトリガー」をオフにする。 2. バンドルワークフロー ワークフローを実際に見る最も手っ取り早い方法は、Claude Codeが多くのソースにわたって質問を調査するために含む組み込みワークフロー「/deep-research」を実行することだ。 3. UltraCode これは強力だ。 Ultracodeは、xhigh推論努力と自動ワークフローオーケストレーションを組み合わせたClaude Codeの設定だ。これをオンにすると、Claudeは各実質的なタスクに対してワークフローを計画する——あなたが頼まなくても。 予想通り、トークンを多く消費する。 有効にするには、Claude Code CLIで「/effort ultracode」を実行する。 実行中の監視 ワークフローが始まったら、リアルタイムで監視できる。 "/workflows" これによりフェーズごとにエージェント数・トークン合計・経過時間を表示する進行状況ビューが開く。 進行状況ビュー内の主要な操作: p - 一時停止または再開 x - 選択したエージェントまたはワークフロー全体を停止 r - 選択した実行中エージェントを再起動 s - 実行のスクリプトを再利用可能なコマンドとして保存 Enter - フェーズまたはエージェントに深く入り込み、プロンプト・ツールコール・結果を見る 再利用のためにワークフローを保存する: /workflowsを実行し、保持したい実行を選択して、sを押す。保存ダイアログで、Tabが2つの保存場所を切り替える。 【セクションIII】実際の例 ダイナミックワークフローについてよく理解したところで、実際の例を見てみよう。 最近Claudeで作成したワークフローの1つは、AI Edgeコンテンツパイプラインワークフローだ。 すべてのAI Edgeスキルを活用し、このブランドのコンテンツエコシステム全体をマッピングする。 ステップ1:コンテンツアングル ステップ2:チャンネル配信 ステップ3:ポリッシュ ステップ4:ビジュアル ステップ5:エクスポート このダイナミックワークフローで、ツイートをニュースレター記事に変換するよう指示したり、ラフなアイデアを与えてパイプライン全体を完了させることができる。 ディープリサーチワークフロー: 前述のように、/deep-researchは今すぐ使える組み込みワークフローだ。起きること:Claudeが数十のウェブソースに同時にファンアウトし、ソースをまたいでクレームをクロスチェックし、耐えられないものを除外し、数分で引用付きリサーチレポートを提供する。手動でやれば数時間かかる同じリサーチが圧縮される。 このワークフローを保存して毎日実行し、自動更新のパーソナライズされた市場情報ブリーフィングにしよう。 コンテンツリサーチ&プロダクションパイプライン: 起きること:エージェントがニュースソース・ソーシャルプラットフォーム・研究出版物を同時にスキャンし、ソースをまたいでカバレッジを相互参照し、ノイズを除外し、ランク付けされた編集ブリーフィングを提供する。コンテンツチームが数時間かけて行うリサーチが1回のワークフロー実行に圧縮される。 【セクションIV】プロのヒント ダイナミックワークフローを最大化するためのプロのヒントを高速に。 大きな実行を始める前は必ず/modelを確認する ワークフロー内のすべてのエージェントはセッションでアクティブなモデルを使用する(Opus 4.8で100エージェントを動かすのはSonnetで動かすよりも大幅にコストがかかる)。 リサーチワークフローをトリガーする前にMCPを接続する 例えば、CoinGecko・DeFiLlama・Nansenとの/deep-researchは、ウェブ検索だけから引くものより劇的にリッチなクリプトリサーチを生み出す。 既存のClaude Skillsと組み合わせる 上に示したように、スキルを使ってワークフローを構築する。例えば複数のコンテンツスキル(フックライター、記事ライターなど)があれば、それらを1つのワークフローにパッケージ化できる。 ワークフローはCLIとデスクトップアプリ両方で動く! Claudeへのプロンプト ワークフローをどう活用するか迷ったら、Claudeに聞こう: 「私について知っていることすべてに基づいて、どんなワークフローを構築すべきですか?」 まとめ この完全ガイドが役に立てば嬉しい。 過去1週間Dynamic Workflowsをテストしてきたが、Claudeの使い方が本当に変わった——試して感想を聞かせてほしい! このようなAI記事を増やすには、@aiedge_ をフォロー——週2〜3本、AIの最もホットなトピックだけを投稿している。 書かれたAIコンテンツが好きなら、無料ニュースレターを購読ぞうぞ。 https://www.aiedgehq.co/ 100%無料、スパムなし、いつでも退会可能!
原文を表示 / Show original
Claude: Dynamic Workflows ULTIMATE GUIDE Anthropic just shipped the most powerful Claude feature, and 99% of people scrolled straight past it because Opus 4.8 was louder. The feature is Dynamic Workflows, and they're like Claude Skills on steroids. If you use Claude Code for anything complex, this changes everything. In this article, I'm covering everything you need to know about the Dynamic Workflows. I guarantee your Claude workflow productivity will skyrocket after this read. Table of Contents I: What Are Dynamic Workflows? II: How to Use Them III: Real World Examples IV: Pro Tips Section I: What Are Dynamic Workflows? Anthropic's definition: "A dynamic workflow is a JavaScript script that orchestrates subagents at scale. Claude writes the script for the task you describe, and a runtime executes it in the background while your session stays responsive." In plain English, this now means that Claude works through a problem step by step inside a single conversation. It writes a plan as a script, spins up tens to hundreds of parallel agents to execute different parts of that plan simultaneously, and has those agents check each other's work. What Dynamic Workflows Do (in practice) Dynamic Workflows do three things that nothing else in Claude Code can do at the same scale. 1. They Fan Out Across Parallel Agents Instead of working through a task sequentially, a Dynamic Workflow splits it into subtasks and runs them simultaneously. 2. Agents Verify Their Own Work A workflow can have independent agents adversarially review each other's findings before, or draft a plan from several angles and weigh them against each other. 3. They Are Resumable Dynamic Workflows are resumable (good for long tasks). 4. The Orchestration Is Saved and Reusable Once a workflow does what you wanted, you save it. It becomes a slash command in your project or personal library. Every future run uses the same orchestration logic, so you don't have to describe it again. You might be thinking: "What's the difference between Skills, Plugins, etc. ?" The simplest way to think about the difference: Skills tell Claude how to do something it already knows Plugins give Claude access to tools it didn't have Dynamic Workflows give Claude the ability to coordinate an entire workforce to tackle something too big for one conversation For example, a skill can write a research brief, while a plugin can pull live data into that brief, and a Dynamic Workflow can fan out across hundreds of sources simultaneously, have agents cross-check each other's findings, filter out anything that doesn't hold up, and hand you a verified report. Section II: How to Use Dynamic Workflows Luckily, creating and using dynamic workflows is actually extremely easy. There are three main methods for getting started with dynamic workflows: Creating your own workflows To create your own workflow, just type "workflow" directly inside your Claude prompts. Examples: The moment Claude sees the word "workflow" in your prompt, it switches to orchestration mode. It writes the script, shows you the planned phases, asks for approval, and then fans out across parallel agents to execute it. Pro tip: If Claude Code highlights the word when you didn't mean to trigger one, press Alt + W to ignore it for that prompt. To stop the word from triggering at all, turn off the Workflow keyword trigger in /config. 2. Bundled Workflows The quickest way to see a workflow in action is to run /deep-research, the built-in workflow Claude Code includes for investigating a question across many sources. Example: 3. UltraCode Ok, now this is powerful. Ultracode is a Claude Code setting that combines xhigh reasoning effort with automatic workflow orchestration. With it on, Claude plans a workflow for each substantive task instead of waiting for you to ask. As expected, this does burn through tokens, though. To enable it, run "/effort ultracode" in Claude Code CLI. Watching a Run in Progress Once a workflow starts, you can monitor it in real time. "/workflows" This opens a progress view showing each phase with its agent counts, token totals, and elapsed time. The key controls inside the progress view: p - pause or resume the run x - stop a selected agent or stop the entire workflow r - restart a selected running agent s - save the run's script as a reusable command Enter - drill into a phase or agent to see its prompt, tool calls, and result Saving a Workflow for Reuse Run /workflows, select the run you want to keep, and press s. In the save dialog, Tab toggles between two save locations. Section III: Real Examples Ok, now that you have a good understanding of dynamic workflows, let's run through some real examples. One workflow I recently created with Claude is an AI Edge content pipeline workflow. It draws on all my AI Edge skills and maps the entire content ecosystem for this brand. Step one: Content angle Step two: Channel distribution Step three: Polish Step four: Visuals Step five: Export With this dynamic workflow, I can tell Claude to turn a tweet into a newsletter post, or simply give it a rough idea and have it run the entire workflow to complete the pipeline. Deep Research Workflow As mentioned above, /deep-research is a built-in workflow you can use now. What happens: Claude fans out across dozens of web sources simultaneously, cross-checks claims across sources, filters out anything that doesn't hold up, and delivers a cited research report in minutes. The same research done manually would take hours. Save this workflow and run it daily for a personalized market intelligence briefing that updates automatically. Content Research & Production Pipeline What happens: agents scan news sources, social platforms, and research publications simultaneously, cross-reference coverage across sources, filter noise, and deliver a ranked editorial briefing. The kind of research that takes a content team hours gets compressed into a single workflow run. Hopefully, these sample prompts/workflows give you an idea of what's possible with this new feature. Essentially, you can automate any repetitive task end-to-end with several agents. Section IV: Pro Tips A rapid-fire section of pro tips for maximizing your dynamic workflows. Always check /model before starting a large run Every agent in the workflow uses whatever model is active in your session (running 100 agents on Opus 4.8 costs significantly more than running them on Sonnet). Connect your MCPs before triggering research workflows For example, a /deep-research run with CoinGecko, DeFiLlama, and Nansen produces dramatically richer crypto research than one that pulls from web search alone. Combine with existing Claude Skills As shown above, use your skills to build workflows. For example, if you have multiple content skills (hook writer, article writer, etc.), package them into a single workflow. Workflows work in both CLI AND desktop app! Prompt for Claude If you're ever unsure how to take advantage of workflows, just ask Claude: "Based on everything you know about me, what workflows should we build?" Closing I hope you found this ultimate guide helpful. I've been testing Dynamic Workflows for the past week, and they've genuinely changed how I use Claude - give them a go and let me know how you like them! For more AI articles like this, be sure to follow me @aiedge_ - I post articles like this 2-3x/week only on the hottest topics in AI. If you enjoy written AI content, feel free to subscribe to my free newsletter. https://www.aiedgehq.co/ 100% free, no spam ever & unsub anytime!

AIFCC — AI Fluent CxO Club

読み書きそろばん、AI。経営者が AI を自分で動かせるようになるコミュニティ。

Claude Dynamic Workflows完全ガイド | AIFCC