cc-viewer 1.9.18 → 1.9.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/cli.js +34 -0
  2. package/concepts/ar/CustomUltraplanExpert.md +1 -1
  3. package/concepts/ar/Teammate.md +1 -1
  4. package/concepts/ar/UltraPlan.md +4 -4
  5. package/concepts/da/CustomUltraplanExpert.md +1 -1
  6. package/concepts/da/Teammate.md +1 -1
  7. package/concepts/da/UltraPlan.md +4 -4
  8. package/concepts/de/CustomUltraplanExpert.md +1 -1
  9. package/concepts/de/Teammate.md +1 -1
  10. package/concepts/de/UltraPlan.md +4 -4
  11. package/concepts/en/CustomUltraplanExpert.md +1 -1
  12. package/concepts/en/Teammate.md +1 -1
  13. package/concepts/en/UltraPlan.md +4 -4
  14. package/concepts/es/CustomUltraplanExpert.md +1 -1
  15. package/concepts/es/Teammate.md +1 -1
  16. package/concepts/es/UltraPlan.md +4 -4
  17. package/concepts/fr/CustomUltraplanExpert.md +1 -1
  18. package/concepts/fr/Teammate.md +1 -1
  19. package/concepts/fr/UltraPlan.md +4 -4
  20. package/concepts/it/CustomUltraplanExpert.md +1 -1
  21. package/concepts/it/Teammate.md +1 -1
  22. package/concepts/it/UltraPlan.md +4 -4
  23. package/concepts/ja/CustomUltraplanExpert.md +1 -1
  24. package/concepts/ja/Teammate.md +1 -1
  25. package/concepts/ja/UltraPlan.md +4 -4
  26. package/concepts/ko/CustomUltraplanExpert.md +1 -1
  27. package/concepts/ko/Teammate.md +1 -1
  28. package/concepts/ko/UltraPlan.md +4 -4
  29. package/concepts/no/CustomUltraplanExpert.md +1 -1
  30. package/concepts/no/Teammate.md +1 -1
  31. package/concepts/no/UltraPlan.md +4 -4
  32. package/concepts/pl/CustomUltraplanExpert.md +1 -1
  33. package/concepts/pl/Teammate.md +1 -1
  34. package/concepts/pl/UltraPlan.md +4 -4
  35. package/concepts/pt-BR/CustomUltraplanExpert.md +1 -1
  36. package/concepts/pt-BR/Teammate.md +1 -1
  37. package/concepts/pt-BR/UltraPlan.md +4 -4
  38. package/concepts/ru/CustomUltraplanExpert.md +1 -1
  39. package/concepts/ru/Teammate.md +1 -1
  40. package/concepts/ru/UltraPlan.md +4 -4
  41. package/concepts/th/CustomUltraplanExpert.md +1 -1
  42. package/concepts/th/Teammate.md +1 -1
  43. package/concepts/th/UltraPlan.md +4 -4
  44. package/concepts/tr/CustomUltraplanExpert.md +1 -1
  45. package/concepts/tr/Teammate.md +1 -1
  46. package/concepts/tr/UltraPlan.md +4 -4
  47. package/concepts/uk/CustomUltraplanExpert.md +1 -1
  48. package/concepts/uk/Teammate.md +1 -1
  49. package/concepts/uk/UltraPlan.md +4 -4
  50. package/concepts/zh/CustomUltraplanExpert.md +1 -1
  51. package/concepts/zh/Teammate.md +1 -1
  52. package/concepts/zh/UltraPlan.md +4 -4
  53. package/concepts/zh/ultraplan-origin.md +24 -22
  54. package/concepts/zh-TW/CustomUltraplanExpert.md +1 -1
  55. package/concepts/zh-TW/Teammate.md +1 -1
  56. package/concepts/zh-TW/UltraPlan.md +4 -4
  57. package/dist/assets/{App-COyZwmVt.js → App-Cf04lonP.js} +2 -2
  58. package/dist/assets/{MdxEditorPanel-BsHDgZCY.js → MdxEditorPanel-DKU2r-KQ.js} +1 -1
  59. package/dist/assets/{Mobile-B1H_PrNl.js → Mobile-DK6O4hoa.js} +1 -1
  60. package/dist/assets/{ProxyStatsModal-CSQNNwpU.js → ProxyStatsModal-B2njUNcC.js} +1 -1
  61. package/dist/assets/index-C8223pn2.js +2 -0
  62. package/dist/assets/seqResourceLoaders-0JGRMKPS.js +2 -0
  63. package/dist/assets/seqResourceLoaders-DbccWwKz.css +41 -0
  64. package/dist/index.html +1 -1
  65. package/dist/voice-packs/default/agentLoopStart.wav +0 -0
  66. package/dist/voice-packs/default/pack.json +11 -0
  67. package/dist/voice-packs/sanguo/agentLoopStart.wav +0 -0
  68. package/dist/voice-packs/sanguo/pack.json +11 -0
  69. package/node_modules/@ccv/core/src/voice-pack-events.js +12 -3
  70. package/package.json +2 -2
  71. package/server/lib/attach-buffer.js +164 -0
  72. package/server/lib/plugin-loader.js +2 -0
  73. package/server/lib/plugin-runtime.js +12 -2
  74. package/server/lib/proxy/proxy-stats.js +26 -0
  75. package/server/lib/sdk-manager.js +301 -58
  76. package/server/lib/v2/live-feed.js +108 -7
  77. package/server/lib/v2/meta-rows.js +47 -6
  78. package/server/proxy.js +104 -16
  79. package/server/routes/events.js +64 -1
  80. package/server/server.js +120 -4
  81. package/ultraAgents/code-expert.json +1 -1
  82. package/dist/assets/index-CPn0gvr6.js +0 -2
  83. package/dist/assets/seqResourceLoaders-Cm1JnNsu.js +0 -2
  84. package/dist/assets/seqResourceLoaders-DZA-JHK0.css +0 -41
package/cli.js CHANGED
@@ -873,6 +873,24 @@ async function runSdkMode(extraClaudeArgs = [], cwd, noOpen = false) {
873
873
  // persistent dialogue row plus a toast; meta (cwd/sessionId/instanceKey, filled by
874
874
  // the sdk-manager session closure) routes it to the owning workspace's viewers.
875
875
  onQueryError: (message, meta) => serverMod.broadcastWsMessage({ type: 'sdk-error', message, ...(meta || {}) }),
876
+ // Authoritative per-turn loop boundaries (immediate, turn-correlated) — the voice
877
+ // pack / plugin lifecycle complement to the debounced turn_end above.
878
+ onAgentLoopStart: (p) => {
879
+ if (typeof serverMod.broadcastAgentLoopStart !== 'function') {
880
+ console.warn('[sdk] serverMod.broadcastAgentLoopStart is not a function (export missing?); loop-start signal dropped');
881
+ return;
882
+ }
883
+ try { serverMod.broadcastAgentLoopStart(p); }
884
+ catch (err) { console.warn('[sdk] broadcastAgentLoopStart threw:', err?.message); }
885
+ },
886
+ onAgentLoopEnd: (p) => {
887
+ if (typeof serverMod.broadcastAgentLoopEnd !== 'function') {
888
+ console.warn('[sdk] serverMod.broadcastAgentLoopEnd is not a function (export missing?); loop-end signal dropped');
889
+ return;
890
+ }
891
+ try { serverMod.broadcastAgentLoopEnd(p); }
892
+ catch (err) { console.warn('[sdk] broadcastAgentLoopEnd threw:', err?.message); }
893
+ },
876
894
  });
877
895
 
878
896
  // Per-cwd multi-session (2026-10-12): hand the boot launch config (proxy env, model,
@@ -918,6 +936,22 @@ async function runSdkMode(extraClaudeArgs = [], cwd, noOpen = false) {
918
936
  catch (err) { console.warn('[sdk] broadcastTurnEnd threw:', err?.message); }
919
937
  },
920
938
  onQueryError: (message, meta) => serverMod.broadcastWsMessage({ type: 'sdk-error', message, ...(meta || {}) }),
939
+ onAgentLoopStart: (p) => {
940
+ if (typeof serverMod.broadcastAgentLoopStart !== 'function') {
941
+ console.warn('[sdk] serverMod.broadcastAgentLoopStart is not a function (export missing?); loop-start signal dropped');
942
+ return;
943
+ }
944
+ try { serverMod.broadcastAgentLoopStart(p); }
945
+ catch (err) { console.warn('[sdk] broadcastAgentLoopStart threw:', err?.message); }
946
+ },
947
+ onAgentLoopEnd: (p) => {
948
+ if (typeof serverMod.broadcastAgentLoopEnd !== 'function') {
949
+ console.warn('[sdk] serverMod.broadcastAgentLoopEnd is not a function (export missing?); loop-end signal dropped');
950
+ return;
951
+ }
952
+ try { serverMod.broadcastAgentLoopEnd(p); }
953
+ catch (err) { console.warn('[sdk] broadcastAgentLoopEnd threw:', err?.message); }
954
+ },
921
955
  broadcastWs: (msg) => serverMod.broadcastWsMessage(msg),
922
956
  runWaterfallHook,
923
957
  });
@@ -136,7 +136,7 @@ Your final plan must include the following elements:
136
136
 
137
137
  ```
138
138
  <system-reminder>
139
- [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion`, `EnterPlanMode`, and `TeamCreate`, rather than relying solely on plain text processing.
139
+ [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion` and `EnterPlanMode`, rather than relying solely on plain text processing.
140
140
 
141
141
  You are a senior competitive intelligence analyst for {industry}. Your goal is to
142
142
  produce a decision-grade competitive landscape report for the product "{our product}".
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## التعريف
4
4
 
5
- Teammate هو agent تعاوني في وضع الفريق (Team Mode) الخاص بـ Claude Code Agent. عندما يقوم الـ agent الرئيسي بإنشاء فريق عبر `TeamCreate` واستخدام أداة `Agent` لإنشاء teammate، يعمل كل teammate كعملية agent مستقلة بسياقها الخاص ومجموعة أدواتها، ويتواصل مع أعضاء الفريق عبر `SendMessage`.
5
+ Teammate هو agent تعاوني في وضع الفريق (Team Mode) الخاص بـ Claude Code Agent. عندما يقوم الـ agent الرئيسي بإنشاء فريق واستخدام أداة `Agent` لإنشاء teammate، يعمل كل teammate كعملية agent مستقلة بسياقها الخاص ومجموعة أدواتها، ويتواصل مع أعضاء الفريق عبر `SendMessage`.
6
6
 
7
7
  ## الفرق بينه وبين SubAgent
8
8
 
@@ -63,7 +63,7 @@ Below are the two raw prompt templates UltraPlan actually sends to Claude Code (
63
63
  ### Code Expert (codeExpert)
64
64
 
65
65
  <textarea readonly><system-reminder>
66
- [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion`, `EnterPlanMode`, and `TeamCreate`, rather than relying solely on plain text processing. Before execution, you must ensure that the `EnterPlanMode`, `ExitPlanMode`, `SendMessage`, `TaskCreate`, `TaskUpdate`, `TaskStop`, `TaskGet`, `TaskOutput` and `TaskList` tools are loaded.
66
+ [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion` and `EnterPlanMode`, rather than relying solely on plain text processing. Before execution, you must ensure that the `EnterPlanMode`, `ExitPlanMode`, `SendMessage`, `TaskCreate`, `TaskUpdate`, `TaskStop`, `TaskGet`, `TaskOutput` and `TaskList` tools are loaded.
67
67
 
68
68
  Pre-requisite: Use `AskUserQuestion` to clarify user intent whenever the request is ambiguous (target element, interaction style, scope of platforms, etc.). Skip only if the intent is unambiguous.
69
69
 
@@ -98,11 +98,11 @@ Your final plan must include the following elements:
98
98
  6. After the final plan has been successfully executed:
99
99
  First run `git diff --quiet && git diff --cached --quiet` (or equivalent) to detect whether the working tree actually has non-trivial changes; if there are no real changes (or only whitespace/comment-only edits), skip the UltraReview step.
100
100
  Otherwise, if the project is managed with Git:
101
- Use the `Agent` tool to build a team, dynamically allocating the number of teammates based on task complexity (5+ is recommended);
102
- Note: teammates are named (pass `name`), not plain subagents (which have no name);
101
+ Use the `Agent` tool to build a team, dynamically allocating the number of teammates based on task complexity (5+ recommended);
102
+ Note: spawn teammates (which have a `name`), not plain subagents (which have no name);
103
103
  Task: Conduct a Code Review of the current git changes from multiple roles and perspectives;
104
104
  Pre-requisites:
105
- - The git repository may be located in a subdirectory of the current directory; recursively locate the .git directory first (prefer `git rev-parse --show-toplevel`) before proceeding;
105
+ - The git repository may be located in a subdirectory of the current directory; recursively locate the `.git` directory first before proceeding;
106
106
  - In the case of multiple repositories, review tasks may be executed separately per repository;
107
107
  Review dimensions (a reference framework — each role covers them as its perspective requires, aiming to be as comprehensive as possible):
108
108
  - Whether requirements/objectives have been met and functionality is complete;
@@ -136,7 +136,7 @@ Den oprindelige skabelon lister 6 elementer i en "implementeringsplan". Din leve
136
136
 
137
137
  ```
138
138
  <system-reminder>
139
- [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion`, `EnterPlanMode`, and `TeamCreate`, rather than relying solely on plain text processing.
139
+ [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion` and `EnterPlanMode`, rather than relying solely on plain text processing.
140
140
 
141
141
  You are a senior competitive intelligence analyst for {industry}. Your goal is to
142
142
  produce a decision-grade competitive landscape report for the product "{our product}".
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Definition
4
4
 
5
- Teammate er en samarbejdende agent i Claude Code Agent Team-tilstand. Når hoved-agenten opretter et team via `TeamCreate` og genererer teammates ved hjælp af `Agent`-værktøjet, kører hver teammate som en uafhængig agent-proces med sit eget kontekstvindue og værktøjssæt og kommunikerer med teammedlemmer via `SendMessage`.
5
+ Teammate er en samarbejdende agent i Claude Code Agent Team-tilstand. Når hoved-agenten opretter et team og genererer teammates ved hjælp af `Agent`-værktøjet, kører hver teammate som en uafhængig agent-proces med sit eget kontekstvindue og værktøjssæt og kommunikerer med teammedlemmer via `SendMessage`.
6
6
 
7
7
  ## Forskelle fra SubAgent
8
8
 
@@ -63,7 +63,7 @@ Below are the two raw prompt templates UltraPlan actually sends to Claude Code (
63
63
  ### Code Expert (codeExpert)
64
64
 
65
65
  <textarea readonly><system-reminder>
66
- [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion`, `EnterPlanMode`, and `TeamCreate`, rather than relying solely on plain text processing. Before execution, you must ensure that the `EnterPlanMode`, `ExitPlanMode`, `SendMessage`, `TaskCreate`, `TaskUpdate`, `TaskStop`, `TaskGet`, `TaskOutput` and `TaskList` tools are loaded.
66
+ [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion` and `EnterPlanMode`, rather than relying solely on plain text processing. Before execution, you must ensure that the `EnterPlanMode`, `ExitPlanMode`, `SendMessage`, `TaskCreate`, `TaskUpdate`, `TaskStop`, `TaskGet`, `TaskOutput` and `TaskList` tools are loaded.
67
67
 
68
68
  Pre-requisite: Use `AskUserQuestion` to clarify user intent whenever the request is ambiguous (target element, interaction style, scope of platforms, etc.). Skip only if the intent is unambiguous.
69
69
 
@@ -98,11 +98,11 @@ Your final plan must include the following elements:
98
98
  6. After the final plan has been successfully executed:
99
99
  First run `git diff --quiet && git diff --cached --quiet` (or equivalent) to detect whether the working tree actually has non-trivial changes; if there are no real changes (or only whitespace/comment-only edits), skip the UltraReview step.
100
100
  Otherwise, if the project is managed with Git:
101
- Use the `Agent` tool to build a team, dynamically allocating the number of teammates based on task complexity (5+ is recommended);
102
- Note: teammates are named (pass `name`), not plain subagents (which have no name);
101
+ Use the `Agent` tool to build a team, dynamically allocating the number of teammates based on task complexity (5+ recommended);
102
+ Note: spawn teammates (which have a `name`), not plain subagents (which have no name);
103
103
  Task: Conduct a Code Review of the current git changes from multiple roles and perspectives;
104
104
  Pre-requisites:
105
- - The git repository may be located in a subdirectory of the current directory; recursively locate the .git directory first (prefer `git rev-parse --show-toplevel`) before proceeding;
105
+ - The git repository may be located in a subdirectory of the current directory; recursively locate the `.git` directory first before proceeding;
106
106
  - In the case of multiple repositories, review tasks may be executed separately per repository;
107
107
  Review dimensions (a reference framework — each role covers them as its perspective requires, aiming to be as comprehensive as possible):
108
108
  - Whether requirements/objectives have been met and functionality is complete;
@@ -136,7 +136,7 @@ Die ursprüngliche Vorlage listet 6 Elemente eines „Implementierungsplans" auf
136
136
 
137
137
  ```
138
138
  <system-reminder>
139
- [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion`, `EnterPlanMode`, and `TeamCreate`, rather than relying solely on plain text processing.
139
+ [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion` and `EnterPlanMode`, rather than relying solely on plain text processing.
140
140
 
141
141
  You are a senior competitive intelligence analyst for {industry}. Your goal is to
142
142
  produce a decision-grade competitive landscape report for the product "{our product}".
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Definition
4
4
 
5
- Ein Teammate ist ein kollaborativer Agent im Team-Modus von Claude Code Agent. Wenn der Haupt-Agent ein Team mit `TeamCreate` erstellt und Teammates mit dem `Agent`-Tool erzeugt, lauft jeder Teammate als unabhangiger Agent-Prozess mit eigenem Kontextfenster und Toolset und kommuniziert uber `SendMessage` mit den Teammitgliedern.
5
+ Ein Teammate ist ein kollaborativer Agent im Team-Modus von Claude Code Agent. Wenn der Haupt-Agent ein Team erstellt und Teammates mit dem `Agent`-Tool erzeugt, lauft jeder Teammate als unabhangiger Agent-Prozess mit eigenem Kontextfenster und Toolset und kommuniziert uber `SendMessage` mit den Teammitgliedern.
6
6
 
7
7
  ## Unterschied zu SubAgent
8
8
 
@@ -63,7 +63,7 @@ Below are the two raw prompt templates UltraPlan actually sends to Claude Code (
63
63
  ### Code Expert (codeExpert)
64
64
 
65
65
  <textarea readonly><system-reminder>
66
- [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion`, `EnterPlanMode`, and `TeamCreate`, rather than relying solely on plain text processing. Before execution, you must ensure that the `EnterPlanMode`, `ExitPlanMode`, `SendMessage`, `TaskCreate`, `TaskUpdate`, `TaskStop`, `TaskGet`, `TaskOutput` and `TaskList` tools are loaded.
66
+ [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion` and `EnterPlanMode`, rather than relying solely on plain text processing. Before execution, you must ensure that the `EnterPlanMode`, `ExitPlanMode`, `SendMessage`, `TaskCreate`, `TaskUpdate`, `TaskStop`, `TaskGet`, `TaskOutput` and `TaskList` tools are loaded.
67
67
 
68
68
  Pre-requisite: Use `AskUserQuestion` to clarify user intent whenever the request is ambiguous (target element, interaction style, scope of platforms, etc.). Skip only if the intent is unambiguous.
69
69
 
@@ -98,11 +98,11 @@ Your final plan must include the following elements:
98
98
  6. After the final plan has been successfully executed:
99
99
  First run `git diff --quiet && git diff --cached --quiet` (or equivalent) to detect whether the working tree actually has non-trivial changes; if there are no real changes (or only whitespace/comment-only edits), skip the UltraReview step.
100
100
  Otherwise, if the project is managed with Git:
101
- Use the `Agent` tool to build a team, dynamically allocating the number of teammates based on task complexity (5+ is recommended);
102
- Note: teammates are named (pass `name`), not plain subagents (which have no name);
101
+ Use the `Agent` tool to build a team, dynamically allocating the number of teammates based on task complexity (5+ recommended);
102
+ Note: spawn teammates (which have a `name`), not plain subagents (which have no name);
103
103
  Task: Conduct a Code Review of the current git changes from multiple roles and perspectives;
104
104
  Pre-requisites:
105
- - The git repository may be located in a subdirectory of the current directory; recursively locate the .git directory first (prefer `git rev-parse --show-toplevel`) before proceeding;
105
+ - The git repository may be located in a subdirectory of the current directory; recursively locate the `.git` directory first before proceeding;
106
106
  - In the case of multiple repositories, review tasks may be executed separately per repository;
107
107
  Review dimensions (a reference framework — each role covers them as its perspective requires, aiming to be as comprehensive as possible):
108
108
  - Whether requirements/objectives have been met and functionality is complete;
@@ -136,7 +136,7 @@ The original template lists 6 elements of an "implementation plan". Your deliver
136
136
 
137
137
  ```
138
138
  <system-reminder>
139
- [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion`, `EnterPlanMode`, and `TeamCreate`, rather than relying solely on plain text processing.
139
+ [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion` and `EnterPlanMode`, rather than relying solely on plain text processing.
140
140
 
141
141
  You are a senior competitive intelligence analyst for {industry}. Your goal is to
142
142
  produce a decision-grade competitive landscape report for the product "{our product}".
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Definition
4
4
 
5
- A Teammate is a collaborative agent in Claude Code Agent Team mode. When the main agent creates a team via `TeamCreate` and spawns teammates using the `Agent` tool, each teammate runs as an independent agent process with its own context window and toolset, communicating with team members through `SendMessage`.
5
+ A Teammate is a collaborative agent in Claude Code Agent Team mode. When the main agent creates a team and spawns teammates using the `Agent` tool, each teammate runs as an independent agent process with its own context window and toolset, communicating with team members through `SendMessage`.
6
6
 
7
7
  ## Differences from SubAgent
8
8
 
@@ -63,7 +63,7 @@ Below are the two raw prompt templates UltraPlan actually sends to Claude Code (
63
63
  ### Code Expert (codeExpert)
64
64
 
65
65
  <textarea readonly><system-reminder>
66
- [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion`, `EnterPlanMode`, and `TeamCreate`, rather than relying solely on plain text processing. Before execution, you must ensure that the `EnterPlanMode`, `ExitPlanMode`, `SendMessage`, `TaskCreate`, `TaskUpdate`, `TaskStop`, `TaskGet`, `TaskOutput` and `TaskList` tools are loaded.
66
+ [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion` and `EnterPlanMode`, rather than relying solely on plain text processing. Before execution, you must ensure that the `EnterPlanMode`, `ExitPlanMode`, `SendMessage`, `TaskCreate`, `TaskUpdate`, `TaskStop`, `TaskGet`, `TaskOutput` and `TaskList` tools are loaded.
67
67
 
68
68
  Pre-requisite: Use `AskUserQuestion` to clarify user intent whenever the request is ambiguous (target element, interaction style, scope of platforms, etc.). Skip only if the intent is unambiguous.
69
69
 
@@ -98,11 +98,11 @@ Your final plan must include the following elements:
98
98
  6. After the final plan has been successfully executed:
99
99
  First run `git diff --quiet && git diff --cached --quiet` (or equivalent) to detect whether the working tree actually has non-trivial changes; if there are no real changes (or only whitespace/comment-only edits), skip the UltraReview step.
100
100
  Otherwise, if the project is managed with Git:
101
- Use the `Agent` tool to build a team, dynamically allocating the number of teammates based on task complexity (5+ is recommended);
102
- Note: teammates are named (pass `name`), not plain subagents (which have no name);
101
+ Use the `Agent` tool to build a team, dynamically allocating the number of teammates based on task complexity (5+ recommended);
102
+ Note: spawn teammates (which have a `name`), not plain subagents (which have no name);
103
103
  Task: Conduct a Code Review of the current git changes from multiple roles and perspectives;
104
104
  Pre-requisites:
105
- - The git repository may be located in a subdirectory of the current directory; recursively locate the .git directory first (prefer `git rev-parse --show-toplevel`) before proceeding;
105
+ - The git repository may be located in a subdirectory of the current directory; recursively locate the `.git` directory first before proceeding;
106
106
  - In the case of multiple repositories, review tasks may be executed separately per repository;
107
107
  Review dimensions (a reference framework — each role covers them as its perspective requires, aiming to be as comprehensive as possible):
108
108
  - Whether requirements/objectives have been met and functionality is complete;
@@ -136,7 +136,7 @@ La plantilla original enumera 6 elementos de un «plan de implementación». Tu
136
136
 
137
137
  ```
138
138
  <system-reminder>
139
- [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion`, `EnterPlanMode`, and `TeamCreate`, rather than relying solely on plain text processing.
139
+ [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion` and `EnterPlanMode`, rather than relying solely on plain text processing.
140
140
 
141
141
  You are a senior competitive intelligence analyst for {industry}. Your goal is to
142
142
  produce a decision-grade competitive landscape report for the product "{our product}".
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Definicion
4
4
 
5
- Un Teammate es un agente colaborativo en el modo de equipo de Claude Code Agent. Cuando el agente principal crea un equipo mediante `TeamCreate` y genera teammates usando la herramienta `Agent`, cada teammate se ejecuta como un proceso de agente independiente con su propia ventana de contexto y conjunto de herramientas, comunicandose con los miembros del equipo a traves de `SendMessage`.
5
+ Un Teammate es un agente colaborativo en el modo de equipo de Claude Code Agent. Cuando el agente principal crea un equipo y genera teammates usando la herramienta `Agent`, cada teammate se ejecuta como un proceso de agente independiente con su propia ventana de contexto y conjunto de herramientas, comunicandose con los miembros del equipo a traves de `SendMessage`.
6
6
 
7
7
  ## Diferencias con SubAgent
8
8
 
@@ -63,7 +63,7 @@ Below are the two raw prompt templates UltraPlan actually sends to Claude Code (
63
63
  ### Code Expert (codeExpert)
64
64
 
65
65
  <textarea readonly><system-reminder>
66
- [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion`, `EnterPlanMode`, and `TeamCreate`, rather than relying solely on plain text processing. Before execution, you must ensure that the `EnterPlanMode`, `ExitPlanMode`, `SendMessage`, `TaskCreate`, `TaskUpdate`, `TaskStop`, `TaskGet`, `TaskOutput` and `TaskList` tools are loaded.
66
+ [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion` and `EnterPlanMode`, rather than relying solely on plain text processing. Before execution, you must ensure that the `EnterPlanMode`, `ExitPlanMode`, `SendMessage`, `TaskCreate`, `TaskUpdate`, `TaskStop`, `TaskGet`, `TaskOutput` and `TaskList` tools are loaded.
67
67
 
68
68
  Pre-requisite: Use `AskUserQuestion` to clarify user intent whenever the request is ambiguous (target element, interaction style, scope of platforms, etc.). Skip only if the intent is unambiguous.
69
69
 
@@ -98,11 +98,11 @@ Your final plan must include the following elements:
98
98
  6. After the final plan has been successfully executed:
99
99
  First run `git diff --quiet && git diff --cached --quiet` (or equivalent) to detect whether the working tree actually has non-trivial changes; if there are no real changes (or only whitespace/comment-only edits), skip the UltraReview step.
100
100
  Otherwise, if the project is managed with Git:
101
- Use the `Agent` tool to build a team, dynamically allocating the number of teammates based on task complexity (5+ is recommended);
102
- Note: teammates are named (pass `name`), not plain subagents (which have no name);
101
+ Use the `Agent` tool to build a team, dynamically allocating the number of teammates based on task complexity (5+ recommended);
102
+ Note: spawn teammates (which have a `name`), not plain subagents (which have no name);
103
103
  Task: Conduct a Code Review of the current git changes from multiple roles and perspectives;
104
104
  Pre-requisites:
105
- - The git repository may be located in a subdirectory of the current directory; recursively locate the .git directory first (prefer `git rev-parse --show-toplevel`) before proceeding;
105
+ - The git repository may be located in a subdirectory of the current directory; recursively locate the `.git` directory first before proceeding;
106
106
  - In the case of multiple repositories, review tasks may be executed separately per repository;
107
107
  Review dimensions (a reference framework — each role covers them as its perspective requires, aiming to be as comprehensive as possible):
108
108
  - Whether requirements/objectives have been met and functionality is complete;
@@ -136,7 +136,7 @@ Le modèle d'origine répertorie 6 éléments d'un « plan d'implémentation ».
136
136
 
137
137
  ```
138
138
  <system-reminder>
139
- [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion`, `EnterPlanMode`, and `TeamCreate`, rather than relying solely on plain text processing.
139
+ [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion` and `EnterPlanMode`, rather than relying solely on plain text processing.
140
140
 
141
141
  You are a senior competitive intelligence analyst for {industry}. Your goal is to
142
142
  produce a decision-grade competitive landscape report for the product "{our product}".
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Definition
4
4
 
5
- Un Teammate est un agent collaboratif dans le mode equipe de Claude Code Agent. Lorsque l'agent principal cree une equipe via `TeamCreate` et genere des teammates a l'aide de l'outil `Agent`, chaque teammate s'execute en tant que processus d'agent independant avec sa propre fenetre de contexte et son propre ensemble d'outils, communiquant avec les membres de l'equipe via `SendMessage`.
5
+ Un Teammate est un agent collaboratif dans le mode equipe de Claude Code Agent. Lorsque l'agent principal cree une equipe et genere des teammates a l'aide de l'outil `Agent`, chaque teammate s'execute en tant que processus d'agent independant avec sa propre fenetre de contexte et son propre ensemble d'outils, communiquant avec les membres de l'equipe via `SendMessage`.
6
6
 
7
7
  ## Differences avec SubAgent
8
8
 
@@ -63,7 +63,7 @@ Below are the two raw prompt templates UltraPlan actually sends to Claude Code (
63
63
  ### Code Expert (codeExpert)
64
64
 
65
65
  <textarea readonly><system-reminder>
66
- [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion`, `EnterPlanMode`, and `TeamCreate`, rather than relying solely on plain text processing. Before execution, you must ensure that the `EnterPlanMode`, `ExitPlanMode`, `SendMessage`, `TaskCreate`, `TaskUpdate`, `TaskStop`, `TaskGet`, `TaskOutput` and `TaskList` tools are loaded.
66
+ [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion` and `EnterPlanMode`, rather than relying solely on plain text processing. Before execution, you must ensure that the `EnterPlanMode`, `ExitPlanMode`, `SendMessage`, `TaskCreate`, `TaskUpdate`, `TaskStop`, `TaskGet`, `TaskOutput` and `TaskList` tools are loaded.
67
67
 
68
68
  Pre-requisite: Use `AskUserQuestion` to clarify user intent whenever the request is ambiguous (target element, interaction style, scope of platforms, etc.). Skip only if the intent is unambiguous.
69
69
 
@@ -98,11 +98,11 @@ Your final plan must include the following elements:
98
98
  6. After the final plan has been successfully executed:
99
99
  First run `git diff --quiet && git diff --cached --quiet` (or equivalent) to detect whether the working tree actually has non-trivial changes; if there are no real changes (or only whitespace/comment-only edits), skip the UltraReview step.
100
100
  Otherwise, if the project is managed with Git:
101
- Use the `Agent` tool to build a team, dynamically allocating the number of teammates based on task complexity (5+ is recommended);
102
- Note: teammates are named (pass `name`), not plain subagents (which have no name);
101
+ Use the `Agent` tool to build a team, dynamically allocating the number of teammates based on task complexity (5+ recommended);
102
+ Note: spawn teammates (which have a `name`), not plain subagents (which have no name);
103
103
  Task: Conduct a Code Review of the current git changes from multiple roles and perspectives;
104
104
  Pre-requisites:
105
- - The git repository may be located in a subdirectory of the current directory; recursively locate the .git directory first (prefer `git rev-parse --show-toplevel`) before proceeding;
105
+ - The git repository may be located in a subdirectory of the current directory; recursively locate the `.git` directory first before proceeding;
106
106
  - In the case of multiple repositories, review tasks may be executed separately per repository;
107
107
  Review dimensions (a reference framework — each role covers them as its perspective requires, aiming to be as comprehensive as possible):
108
108
  - Whether requirements/objectives have been met and functionality is complete;
@@ -136,7 +136,7 @@ Il modello originale elenca 6 elementi di un "piano di implementazione". Il tuo
136
136
 
137
137
  ```
138
138
  <system-reminder>
139
- [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion`, `EnterPlanMode`, and `TeamCreate`, rather than relying solely on plain text processing.
139
+ [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion` and `EnterPlanMode`, rather than relying solely on plain text processing.
140
140
 
141
141
  You are a senior competitive intelligence analyst for {industry}. Your goal is to
142
142
  produce a decision-grade competitive landscape report for the product "{our product}".
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Definizione
4
4
 
5
- Un Teammate e un agent collaborativo nella modalita Team di Claude Code Agent. Quando l'agent principale crea un team con `TeamCreate` e genera i teammate utilizzando lo strumento `Agent`, ogni teammate viene eseguito come processo agent indipendente, con la propria finestra di contesto e il proprio set di strumenti, comunicando con i membri del team tramite `SendMessage`.
5
+ Un Teammate e un agent collaborativo nella modalita Team di Claude Code Agent. Quando l'agent principale crea un team e genera i teammate utilizzando lo strumento `Agent`, ogni teammate viene eseguito come processo agent indipendente, con la propria finestra di contesto e il proprio set di strumenti, comunicando con i membri del team tramite `SendMessage`.
6
6
 
7
7
  ## Differenze rispetto a SubAgent
8
8
 
@@ -63,7 +63,7 @@ Below are the two raw prompt templates UltraPlan actually sends to Claude Code (
63
63
  ### Code Expert (codeExpert)
64
64
 
65
65
  <textarea readonly><system-reminder>
66
- [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion`, `EnterPlanMode`, and `TeamCreate`, rather than relying solely on plain text processing. Before execution, you must ensure that the `EnterPlanMode`, `ExitPlanMode`, `SendMessage`, `TaskCreate`, `TaskUpdate`, `TaskStop`, `TaskGet`, `TaskOutput` and `TaskList` tools are loaded.
66
+ [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion` and `EnterPlanMode`, rather than relying solely on plain text processing. Before execution, you must ensure that the `EnterPlanMode`, `ExitPlanMode`, `SendMessage`, `TaskCreate`, `TaskUpdate`, `TaskStop`, `TaskGet`, `TaskOutput` and `TaskList` tools are loaded.
67
67
 
68
68
  Pre-requisite: Use `AskUserQuestion` to clarify user intent whenever the request is ambiguous (target element, interaction style, scope of platforms, etc.). Skip only if the intent is unambiguous.
69
69
 
@@ -98,11 +98,11 @@ Your final plan must include the following elements:
98
98
  6. After the final plan has been successfully executed:
99
99
  First run `git diff --quiet && git diff --cached --quiet` (or equivalent) to detect whether the working tree actually has non-trivial changes; if there are no real changes (or only whitespace/comment-only edits), skip the UltraReview step.
100
100
  Otherwise, if the project is managed with Git:
101
- Use the `Agent` tool to build a team, dynamically allocating the number of teammates based on task complexity (5+ is recommended);
102
- Note: teammates are named (pass `name`), not plain subagents (which have no name);
101
+ Use the `Agent` tool to build a team, dynamically allocating the number of teammates based on task complexity (5+ recommended);
102
+ Note: spawn teammates (which have a `name`), not plain subagents (which have no name);
103
103
  Task: Conduct a Code Review of the current git changes from multiple roles and perspectives;
104
104
  Pre-requisites:
105
- - The git repository may be located in a subdirectory of the current directory; recursively locate the .git directory first (prefer `git rev-parse --show-toplevel`) before proceeding;
105
+ - The git repository may be located in a subdirectory of the current directory; recursively locate the `.git` directory first before proceeding;
106
106
  - In the case of multiple repositories, review tasks may be executed separately per repository;
107
107
  Review dimensions (a reference framework — each role covers them as its perspective requires, aiming to be as comprehensive as possible):
108
108
  - Whether requirements/objectives have been met and functionality is complete;
@@ -136,7 +136,7 @@ Research Expert は 6 つの潜在的なロール(業界スカウト、学術
136
136
 
137
137
  ```
138
138
  <system-reminder>
139
- [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion`, `EnterPlanMode`, and `TeamCreate`, rather than relying solely on plain text processing.
139
+ [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion` and `EnterPlanMode`, rather than relying solely on plain text processing.
140
140
 
141
141
  You are a senior competitive intelligence analyst for {industry}. Your goal is to
142
142
  produce a decision-grade competitive landscape report for the product "{our product}".
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## 定義
4
4
 
5
- Teammate は Claude Code Agent Team モードにおける協調 agent です。メイン agent が `TeamCreate` でチームを作成し、`Agent` ツールで teammate を生成すると、各 teammate は独立した agent プロセスとして実行され、独自のコンテキストウィンドウとツールセットを持ち、`SendMessage` を通じてチームメンバーと通信します。
5
+ Teammate は Claude Code Agent Team モードにおける協調 agent です。メイン agent が `Agent` ツールでチームを作成し teammate を生成すると、各 teammate は独立した agent プロセスとして実行され、独自のコンテキストウィンドウとツールセットを持ち、`SendMessage` を通じてチームメンバーと通信します。
6
6
 
7
7
  ## SubAgent との違い
8
8
 
@@ -63,7 +63,7 @@ Below are the two raw prompt templates UltraPlan actually sends to Claude Code (
63
63
  ### Code Expert (codeExpert)
64
64
 
65
65
  <textarea readonly><system-reminder>
66
- [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion`, `EnterPlanMode`, and `TeamCreate`, rather than relying solely on plain text processing. Before execution, you must ensure that the `EnterPlanMode`, `ExitPlanMode`, `SendMessage`, `TaskCreate`, `TaskUpdate`, `TaskStop`, `TaskGet`, `TaskOutput` and `TaskList` tools are loaded.
66
+ [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion` and `EnterPlanMode`, rather than relying solely on plain text processing. Before execution, you must ensure that the `EnterPlanMode`, `ExitPlanMode`, `SendMessage`, `TaskCreate`, `TaskUpdate`, `TaskStop`, `TaskGet`, `TaskOutput` and `TaskList` tools are loaded.
67
67
 
68
68
  Pre-requisite: Use `AskUserQuestion` to clarify user intent whenever the request is ambiguous (target element, interaction style, scope of platforms, etc.). Skip only if the intent is unambiguous.
69
69
 
@@ -98,11 +98,11 @@ Your final plan must include the following elements:
98
98
  6. After the final plan has been successfully executed:
99
99
  First run `git diff --quiet && git diff --cached --quiet` (or equivalent) to detect whether the working tree actually has non-trivial changes; if there are no real changes (or only whitespace/comment-only edits), skip the UltraReview step.
100
100
  Otherwise, if the project is managed with Git:
101
- Use the `Agent` tool to build a team, dynamically allocating the number of teammates based on task complexity (5+ is recommended);
102
- Note: teammates are named (pass `name`), not plain subagents (which have no name);
101
+ Use the `Agent` tool to build a team, dynamically allocating the number of teammates based on task complexity (5+ recommended);
102
+ Note: spawn teammates (which have a `name`), not plain subagents (which have no name);
103
103
  Task: Conduct a Code Review of the current git changes from multiple roles and perspectives;
104
104
  Pre-requisites:
105
- - The git repository may be located in a subdirectory of the current directory; recursively locate the .git directory first (prefer `git rev-parse --show-toplevel`) before proceeding;
105
+ - The git repository may be located in a subdirectory of the current directory; recursively locate the `.git` directory first before proceeding;
106
106
  - In the case of multiple repositories, review tasks may be executed separately per repository;
107
107
  Review dimensions (a reference framework — each role covers them as its perspective requires, aiming to be as comprehensive as possible):
108
108
  - Whether requirements/objectives have been met and functionality is complete;
@@ -136,7 +136,7 @@ Research Expert는 6개의 잠재적 역할을 나열합니다 (산업 스카우
136
136
 
137
137
  ```
138
138
  <system-reminder>
139
- [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion`, `EnterPlanMode`, and `TeamCreate`, rather than relying solely on plain text processing.
139
+ [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion` and `EnterPlanMode`, rather than relying solely on plain text processing.
140
140
 
141
141
  You are a senior competitive intelligence analyst for {industry}. Your goal is to
142
142
  produce a decision-grade competitive landscape report for the product "{our product}".
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## 정의
4
4
 
5
- Teammate는 Claude Code Agent Team 모드에서의 협업 agent입니다. 메인 agent가 `TeamCreate`로 팀을 생성하고 `Agent` 도구로 teammate를 생성하면, 각 teammate는 독립적인 agent 프로세스로 실행되며, 자체 컨텍스트 윈도우와 도구 세트를 가지고 `SendMessage`를 통해 팀 멤버와 통신합니다.
5
+ Teammate는 Claude Code Agent Team 모드에서의 협업 agent입니다. 메인 agent가 `Agent` 도구로 팀을 생성하고 teammate를 생성하면, 각 teammate는 독립적인 agent 프로세스로 실행되며, 자체 컨텍스트 윈도우와 도구 세트를 가지고 `SendMessage`를 통해 팀 멤버와 통신합니다.
6
6
 
7
7
  ## SubAgent와의 차이점
8
8
 
@@ -63,7 +63,7 @@ Below are the two raw prompt templates UltraPlan actually sends to Claude Code (
63
63
  ### Code Expert (codeExpert)
64
64
 
65
65
  <textarea readonly><system-reminder>
66
- [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion`, `EnterPlanMode`, and `TeamCreate`, rather than relying solely on plain text processing. Before execution, you must ensure that the `EnterPlanMode`, `ExitPlanMode`, `SendMessage`, `TaskCreate`, `TaskUpdate`, `TaskStop`, `TaskGet`, `TaskOutput` and `TaskList` tools are loaded.
66
+ [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion` and `EnterPlanMode`, rather than relying solely on plain text processing. Before execution, you must ensure that the `EnterPlanMode`, `ExitPlanMode`, `SendMessage`, `TaskCreate`, `TaskUpdate`, `TaskStop`, `TaskGet`, `TaskOutput` and `TaskList` tools are loaded.
67
67
 
68
68
  Pre-requisite: Use `AskUserQuestion` to clarify user intent whenever the request is ambiguous (target element, interaction style, scope of platforms, etc.). Skip only if the intent is unambiguous.
69
69
 
@@ -98,11 +98,11 @@ Your final plan must include the following elements:
98
98
  6. After the final plan has been successfully executed:
99
99
  First run `git diff --quiet && git diff --cached --quiet` (or equivalent) to detect whether the working tree actually has non-trivial changes; if there are no real changes (or only whitespace/comment-only edits), skip the UltraReview step.
100
100
  Otherwise, if the project is managed with Git:
101
- Use the `Agent` tool to build a team, dynamically allocating the number of teammates based on task complexity (5+ is recommended);
102
- Note: teammates are named (pass `name`), not plain subagents (which have no name);
101
+ Use the `Agent` tool to build a team, dynamically allocating the number of teammates based on task complexity (5+ recommended);
102
+ Note: spawn teammates (which have a `name`), not plain subagents (which have no name);
103
103
  Task: Conduct a Code Review of the current git changes from multiple roles and perspectives;
104
104
  Pre-requisites:
105
- - The git repository may be located in a subdirectory of the current directory; recursively locate the .git directory first (prefer `git rev-parse --show-toplevel`) before proceeding;
105
+ - The git repository may be located in a subdirectory of the current directory; recursively locate the `.git` directory first before proceeding;
106
106
  - In the case of multiple repositories, review tasks may be executed separately per repository;
107
107
  Review dimensions (a reference framework — each role covers them as its perspective requires, aiming to be as comprehensive as possible):
108
108
  - Whether requirements/objectives have been met and functionality is complete;
@@ -136,7 +136,7 @@ Den opprinnelige malen lister 6 elementer i en "implementeringsplan". Din levera
136
136
 
137
137
  ```
138
138
  <system-reminder>
139
- [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion`, `EnterPlanMode`, and `TeamCreate`, rather than relying solely on plain text processing.
139
+ [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion` and `EnterPlanMode`, rather than relying solely on plain text processing.
140
140
 
141
141
  You are a senior competitive intelligence analyst for {industry}. Your goal is to
142
142
  produce a decision-grade competitive landscape report for the product "{our product}".
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Definisjon
4
4
 
5
- Teammate er en samarbeidende agent i Claude Code Agent Team-modus. Når hovedagenten oppretter et team via `TeamCreate` og genererer teammates ved hjelp av `Agent`-verktøyet, kjører hver teammate som en uavhengig agentprosess med sitt eget kontekstvindu og verktøysett, og kommuniserer med teammedlemmer via `SendMessage`.
5
+ Teammate er en samarbeidende agent i Claude Code Agent Team-modus. Når hovedagenten oppretter et team og genererer teammates ved hjelp av `Agent`-verktøyet, kjører hver teammate som en uavhengig agentprosess med sitt eget kontekstvindu og verktøysett, og kommuniserer med teammedlemmer via `SendMessage`.
6
6
 
7
7
  ## Forskjeller fra SubAgent
8
8
 
@@ -63,7 +63,7 @@ Below are the two raw prompt templates UltraPlan actually sends to Claude Code (
63
63
  ### Code Expert (codeExpert)
64
64
 
65
65
  <textarea readonly><system-reminder>
66
- [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion`, `EnterPlanMode`, and `TeamCreate`, rather than relying solely on plain text processing. Before execution, you must ensure that the `EnterPlanMode`, `ExitPlanMode`, `SendMessage`, `TaskCreate`, `TaskUpdate`, `TaskStop`, `TaskGet`, `TaskOutput` and `TaskList` tools are loaded.
66
+ [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion` and `EnterPlanMode`, rather than relying solely on plain text processing. Before execution, you must ensure that the `EnterPlanMode`, `ExitPlanMode`, `SendMessage`, `TaskCreate`, `TaskUpdate`, `TaskStop`, `TaskGet`, `TaskOutput` and `TaskList` tools are loaded.
67
67
 
68
68
  Pre-requisite: Use `AskUserQuestion` to clarify user intent whenever the request is ambiguous (target element, interaction style, scope of platforms, etc.). Skip only if the intent is unambiguous.
69
69
 
@@ -98,11 +98,11 @@ Your final plan must include the following elements:
98
98
  6. After the final plan has been successfully executed:
99
99
  First run `git diff --quiet && git diff --cached --quiet` (or equivalent) to detect whether the working tree actually has non-trivial changes; if there are no real changes (or only whitespace/comment-only edits), skip the UltraReview step.
100
100
  Otherwise, if the project is managed with Git:
101
- Use the `Agent` tool to build a team, dynamically allocating the number of teammates based on task complexity (5+ is recommended);
102
- Note: teammates are named (pass `name`), not plain subagents (which have no name);
101
+ Use the `Agent` tool to build a team, dynamically allocating the number of teammates based on task complexity (5+ recommended);
102
+ Note: spawn teammates (which have a `name`), not plain subagents (which have no name);
103
103
  Task: Conduct a Code Review of the current git changes from multiple roles and perspectives;
104
104
  Pre-requisites:
105
- - The git repository may be located in a subdirectory of the current directory; recursively locate the .git directory first (prefer `git rev-parse --show-toplevel`) before proceeding;
105
+ - The git repository may be located in a subdirectory of the current directory; recursively locate the `.git` directory first before proceeding;
106
106
  - In the case of multiple repositories, review tasks may be executed separately per repository;
107
107
  Review dimensions (a reference framework — each role covers them as its perspective requires, aiming to be as comprehensive as possible):
108
108
  - Whether requirements/objectives have been met and functionality is complete;
@@ -136,7 +136,7 @@ Oryginalny szablon wymienia 6 elementów "planu wdrożenia". Twój deliverable m
136
136
 
137
137
  ```
138
138
  <system-reminder>
139
- [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion`, `EnterPlanMode`, and `TeamCreate`, rather than relying solely on plain text processing.
139
+ [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion` and `EnterPlanMode`, rather than relying solely on plain text processing.
140
140
 
141
141
  You are a senior competitive intelligence analyst for {industry}. Your goal is to
142
142
  produce a decision-grade competitive landscape report for the product "{our product}".
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Definicja
4
4
 
5
- Teammate to agent współpracujący w trybie Claude Code Agent Team. Gdy główny agent tworzy zespół za pomocą `TeamCreate` i generuje teammate'ów przy użyciu narzędzia `Agent`, każdy teammate działa jako niezależny proces agenta z własnym oknem kontekstu i zestawem narzędzi, komunikując się z członkami zespołu za pośrednictwem `SendMessage`.
5
+ Teammate to agent współpracujący w trybie Claude Code Agent Team. Gdy główny agent tworzy zespół i generuje teammate'ów przy użyciu narzędzia `Agent`, każdy teammate działa jako niezależny proces agenta z własnym oknem kontekstu i zestawem narzędzi, komunikując się z członkami zespołu za pośrednictwem `SendMessage`.
6
6
 
7
7
  ## Różnice w porównaniu z SubAgent
8
8
 
@@ -63,7 +63,7 @@ Below are the two raw prompt templates UltraPlan actually sends to Claude Code (
63
63
  ### Code Expert (codeExpert)
64
64
 
65
65
  <textarea readonly><system-reminder>
66
- [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion`, `EnterPlanMode`, and `TeamCreate`, rather than relying solely on plain text processing. Before execution, you must ensure that the `EnterPlanMode`, `ExitPlanMode`, `SendMessage`, `TaskCreate`, `TaskUpdate`, `TaskStop`, `TaskGet`, `TaskOutput` and `TaskList` tools are loaded.
66
+ [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion` and `EnterPlanMode`, rather than relying solely on plain text processing. Before execution, you must ensure that the `EnterPlanMode`, `ExitPlanMode`, `SendMessage`, `TaskCreate`, `TaskUpdate`, `TaskStop`, `TaskGet`, `TaskOutput` and `TaskList` tools are loaded.
67
67
 
68
68
  Pre-requisite: Use `AskUserQuestion` to clarify user intent whenever the request is ambiguous (target element, interaction style, scope of platforms, etc.). Skip only if the intent is unambiguous.
69
69
 
@@ -98,11 +98,11 @@ Your final plan must include the following elements:
98
98
  6. After the final plan has been successfully executed:
99
99
  First run `git diff --quiet && git diff --cached --quiet` (or equivalent) to detect whether the working tree actually has non-trivial changes; if there are no real changes (or only whitespace/comment-only edits), skip the UltraReview step.
100
100
  Otherwise, if the project is managed with Git:
101
- Use the `Agent` tool to build a team, dynamically allocating the number of teammates based on task complexity (5+ is recommended);
102
- Note: teammates are named (pass `name`), not plain subagents (which have no name);
101
+ Use the `Agent` tool to build a team, dynamically allocating the number of teammates based on task complexity (5+ recommended);
102
+ Note: spawn teammates (which have a `name`), not plain subagents (which have no name);
103
103
  Task: Conduct a Code Review of the current git changes from multiple roles and perspectives;
104
104
  Pre-requisites:
105
- - The git repository may be located in a subdirectory of the current directory; recursively locate the .git directory first (prefer `git rev-parse --show-toplevel`) before proceeding;
105
+ - The git repository may be located in a subdirectory of the current directory; recursively locate the `.git` directory first before proceeding;
106
106
  - In the case of multiple repositories, review tasks may be executed separately per repository;
107
107
  Review dimensions (a reference framework — each role covers them as its perspective requires, aiming to be as comprehensive as possible):
108
108
  - Whether requirements/objectives have been met and functionality is complete;