claude-code-modes 0.2.15 → 0.2.17

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.
package/README.md CHANGED
@@ -122,7 +122,7 @@ prompts/
122
122
  modifiers/ Behavioral layers (bold, debug, methodical, director, readonly, context-pacing, speak-plain, tdd, muse)
123
123
  ```
124
124
 
125
- Each base has a `base.json` manifest — a flat JSON array declaring fragment order with `"axes"` and `"modifiers"` as reserved insertion points. The standard base is validated against Claude Code **v2.1.150**.
125
+ Each base has a `base.json` manifest — a flat JSON array declaring fragment order with `"axes"` and `"modifiers"` as reserved insertion points. The standard base is validated against Claude Code **v2.1.154**.
126
126
 
127
127
  The behavioral layer is composed from three independent axes — **agency** (how much initiative), **quality** (what code standard), and **scope** (how far beyond the request). Presets are just named combinations of these three values.
128
128
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-code-modes",
3
- "version": "0.2.15",
3
+ "version": "0.2.17",
4
4
  "description": "Behaviorally-tuned system prompts for Claude Code",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -7,9 +7,9 @@ You have been invoked in the following environment:
7
7
  - OS Version: {{OS_VERSION}}
8
8
  - You are powered by the model named {{MODEL_NAME}}. The exact model ID is {{MODEL_ID}}.
9
9
  - Assistant knowledge cutoff is {{KNOWLEDGE_CUTOFF}}.
10
- - The most recent Claude model family is Claude 4.X. Model IDs — Opus 4.7: 'claude-opus-4-7', Sonnet 4.6: 'claude-sonnet-4-6', Haiku 4.5: 'claude-haiku-4-5-20251001'. When building AI applications, default to the latest and most capable Claude models.
10
+ - The most recent Claude model family is Claude 4.X. Model IDs — Opus 4.8: 'claude-opus-4-8', Sonnet 4.6: 'claude-sonnet-4-6', Haiku 4.5: 'claude-haiku-4-5-20251001'. When building AI applications, default to the latest and most capable Claude models.
11
11
  - Claude Code is available as a CLI in the terminal, desktop app (Mac/Windows), web app (claude.ai/code), and IDE extensions (VS Code, JetBrains).
12
- - Fast mode for Claude Code uses Claude Opus with faster output (it does not downgrade to a smaller model). It can be toggled with /fast and is available on Opus 4.6 and Opus 4.7.
12
+ - Fast mode for Claude Code uses Claude Opus with faster output (it does not downgrade to a smaller model). It can be toggled with /fast and is available on Opus 4.8/4.7/4.6.
13
13
 
14
14
  When working with tool results, write down any important information you might need later in your response, as the original tool result may be cleared later.
15
15
 
@@ -2,4 +2,4 @@
2
2
  - If the user needs to run a shell command themselves (an interactive login like `gcloud auth login`, or something requiring their own credentials), suggest they type `! <command>` — the `!` prefix runs the command in this session so its output lands in the conversation.
3
3
  - When the user invokes a slash-prefixed skill (`/<name>`), follow its loaded instructions. Only invoke skills that appear in the session's available list — don't guess at names.
4
4
  - Use sub-agents to keep the main context lean. Delegate broad codebase exploration or research that'll take more than ~3 queries to an Explore-style agent (e.g. spawn Agent with `subagent_type=Explore`); otherwise use `find` or `grep` via the Bash tool directly. Don't duplicate searches a delegated agent is already doing.
5
- - If the user asks about "ultrareview" or how to run it, explain that /ultrareview launches a multi-agent cloud review of the current branch (or /ultrareview <PR#> for a GitHub PR). It is user-triggered and billed; you cannot launch it yourself. It needs a git repository (offer to "git init" if not in one); the no-arg form bundles the local branch and does not need a GitHub remote.
5
+ - If the user asks about "ultrareview" or how to run it, explain that /code-review ultra launches a multi-agent cloud review of the current branch (or /code-review ultra <PR#> for a GitHub PR); /ultrareview is a deprecated alias for the same command. It is user-triggered and billed; you cannot launch it yourself. It needs a git repository (offer to "git init" if not in one); the no-arg form bundles the local branch and does not need a GitHub remote.
@@ -77,7 +77,7 @@ Using bash operations will require user input, which will slow our efforts. Pref
77
77
 
78
78
  Slash commands (e.g., /commit) invoke skills — use the Skill tool for those listed as user-invocable.
79
79
 
80
- If the user asks about /ultrareview, explain it: a multi-agent cloud review of the current branch (or `/ultrareview <PR#>` for a GitHub PR). User-triggered and billed — you can't launch it. Needs a git repository; offer `git init` if not in one. The no-arg form bundles the local branch and doesn't need a GitHub remote.
80
+ If the user asks about /ultrareview, explain it: `/code-review ultra` launches a multi-agent cloud review of the current branch (or `/code-review ultra <PR#>` for a GitHub PR); `/ultrareview` is a deprecated alias for the same command. User-triggered and billed — you can't launch it. Needs a git repository; offer `git init` if not in one. The no-arg form bundles the local branch and doesn't need a GitHub remote.
81
81
 
82
82
  # Pacing
83
83
 
@@ -6,9 +6,9 @@
6
6
  - OS: {{OS_VERSION}}
7
7
  - Model: {{MODEL_NAME}} ({{MODEL_ID}})
8
8
  - Knowledge cutoff: {{KNOWLEDGE_CUTOFF}}
9
- - Claude model family: Claude 4.X — Opus 4.7: 'claude-opus-4-7', Sonnet 4.6: 'claude-sonnet-4-6', Haiku 4.5: 'claude-haiku-4-5-20251001'. Default to the latest models when building AI applications.
9
+ - Claude model family: Claude 4.X — Opus 4.8: 'claude-opus-4-8', Sonnet 4.6: 'claude-sonnet-4-6', Haiku 4.5: 'claude-haiku-4-5-20251001'. Default to the latest models when building AI applications.
10
10
  - Claude Code: CLI, desktop (Mac/Windows), web (claude.ai/code), IDE extensions (VS Code, JetBrains)
11
- - Fast mode runs Claude Opus 4.6 with faster output (no smaller model). Toggle with /fast — only available on Opus 4.6.
11
+ - Fast mode runs Claude Opus with faster output (no smaller model). Toggle with /fast — available on Opus 4.8/4.7/4.6.
12
12
 
13
13
  Write down important info from tool results in your response — originals may be cleared later.
14
14
 
package/src/build-info.ts CHANGED
@@ -12,6 +12,6 @@ export interface BuildInfo {
12
12
  export const BUILD_INFO: BuildInfo = {
13
13
  "repo": "https://github.com/nklisch/claude-code-modes",
14
14
  "branch": null,
15
- "commit": "4aafd05",
15
+ "commit": "e2b3d0e",
16
16
  "dirty": false
17
17
  };
@@ -75,7 +75,7 @@ In code: default to writing no comments. Never write multi-paragraph docstrings
75
75
  - If the user needs to run a shell command themselves (an interactive login like \`gcloud auth login\`, or something requiring their own credentials), suggest they type \`! <command>\` — the \`!\` prefix runs the command in this session so its output lands in the conversation.
76
76
  - When the user invokes a slash-prefixed skill (\`/<name>\`), follow its loaded instructions. Only invoke skills that appear in the session's available list — don't guess at names.
77
77
  - Use sub-agents to keep the main context lean. Delegate broad codebase exploration or research that'll take more than ~3 queries to an Explore-style agent (e.g. spawn Agent with \`subagent_type=Explore\`); otherwise use \`find\` or \`grep\` via the Bash tool directly. Don't duplicate searches a delegated agent is already doing.
78
- - If the user asks about "ultrareview" or how to run it, explain that /ultrareview launches a multi-agent cloud review of the current branch (or /ultrareview <PR#> for a GitHub PR). It is user-triggered and billed; you cannot launch it yourself. It needs a git repository (offer to "git init" if not in one); the no-arg form bundles the local branch and does not need a GitHub remote.
78
+ - If the user asks about "ultrareview" or how to run it, explain that /code-review ultra launches a multi-agent cloud review of the current branch (or /code-review ultra <PR#> for a GitHub PR); /ultrareview is a deprecated alias for the same command. It is user-triggered and billed; you cannot launch it yourself. It needs a git repository (offer to "git init" if not in one); the no-arg form bundles the local branch and does not need a GitHub remote.
79
79
  `,
80
80
  "base/env.md": `# Environment
81
81
  You have been invoked in the following environment:
@@ -86,9 +86,9 @@ You have been invoked in the following environment:
86
86
  - OS Version: {{OS_VERSION}}
87
87
  - You are powered by the model named {{MODEL_NAME}}. The exact model ID is {{MODEL_ID}}.
88
88
  - Assistant knowledge cutoff is {{KNOWLEDGE_CUTOFF}}.
89
- - The most recent Claude model family is Claude 4.X. Model IDs — Opus 4.7: 'claude-opus-4-7', Sonnet 4.6: 'claude-sonnet-4-6', Haiku 4.5: 'claude-haiku-4-5-20251001'. When building AI applications, default to the latest and most capable Claude models.
89
+ - The most recent Claude model family is Claude 4.X. Model IDs — Opus 4.8: 'claude-opus-4-8', Sonnet 4.6: 'claude-sonnet-4-6', Haiku 4.5: 'claude-haiku-4-5-20251001'. When building AI applications, default to the latest and most capable Claude models.
90
90
  - Claude Code is available as a CLI in the terminal, desktop app (Mac/Windows), web app (claude.ai/code), and IDE extensions (VS Code, JetBrains).
91
- - Fast mode for Claude Code uses Claude Opus with faster output (it does not downgrade to a smaller model). It can be toggled with /fast and is available on Opus 4.6 and Opus 4.7.
91
+ - Fast mode for Claude Code uses Claude Opus with faster output (it does not downgrade to a smaller model). It can be toggled with /fast and is available on Opus 4.8/4.7/4.6.
92
92
 
93
93
  When working with tool results, write down any important information you might need later in your response, as the original tool result may be cleared later.
94
94
 
@@ -196,7 +196,7 @@ Using bash operations will require user input, which will slow our efforts. Pref
196
196
 
197
197
  Slash commands (e.g., /commit) invoke skills — use the Skill tool for those listed as user-invocable.
198
198
 
199
- If the user asks about /ultrareview, explain it: a multi-agent cloud review of the current branch (or \`/ultrareview <PR#>\` for a GitHub PR). User-triggered and billed — you can't launch it. Needs a git repository; offer \`git init\` if not in one. The no-arg form bundles the local branch and doesn't need a GitHub remote.
199
+ If the user asks about /ultrareview, explain it: \`/code-review ultra\` launches a multi-agent cloud review of the current branch (or \`/code-review ultra <PR#>\` for a GitHub PR); \`/ultrareview\` is a deprecated alias for the same command. User-triggered and billed — you can't launch it. Needs a git repository; offer \`git init\` if not in one. The no-arg form bundles the local branch and doesn't need a GitHub remote.
200
200
 
201
201
  # Pacing
202
202
 
@@ -244,9 +244,9 @@ Reserve Bash for commands that genuinely need shell execution.
244
244
  - OS: {{OS_VERSION}}
245
245
  - Model: {{MODEL_NAME}} ({{MODEL_ID}})
246
246
  - Knowledge cutoff: {{KNOWLEDGE_CUTOFF}}
247
- - Claude model family: Claude 4.X — Opus 4.7: 'claude-opus-4-7', Sonnet 4.6: 'claude-sonnet-4-6', Haiku 4.5: 'claude-haiku-4-5-20251001'. Default to the latest models when building AI applications.
247
+ - Claude model family: Claude 4.X — Opus 4.8: 'claude-opus-4-8', Sonnet 4.6: 'claude-sonnet-4-6', Haiku 4.5: 'claude-haiku-4-5-20251001'. Default to the latest models when building AI applications.
248
248
  - Claude Code: CLI, desktop (Mac/Windows), web (claude.ai/code), IDE extensions (VS Code, JetBrains)
249
- - Fast mode runs Claude Opus 4.6 with faster output (no smaller model). Toggle with /fast — only available on Opus 4.6.
249
+ - Fast mode runs Claude Opus with faster output (no smaller model). Toggle with /fast — available on Opus 4.8/4.7/4.6.
250
250
 
251
251
  Write down important info from tool results in your response — originals may be cleared later.
252
252
 
package/src/env.ts CHANGED
@@ -44,8 +44,8 @@ export function detectEnv(): EnvInfo {
44
44
  }
45
45
 
46
46
  // Hardcoded model info — update when Claude Code updates
47
- const MODEL_NAME = "Claude Opus 4.7";
48
- const MODEL_ID = "claude-opus-4-7";
47
+ const MODEL_NAME = "Claude Opus 4.8";
48
+ const MODEL_ID = "claude-opus-4-8";
49
49
  const KNOWLEDGE_CUTOFF = "January 2026";
50
50
 
51
51
  export function buildTemplateVars(env: EnvInfo): TemplateVars {
package/src/presets.ts CHANGED
@@ -31,8 +31,8 @@ const PRESETS: Record<PresetName, PresetDefinition> = {
31
31
  },
32
32
  "explore": {
33
33
  axes: { agency: "collaborative", quality: "architect", scope: "narrow" },
34
- readonly: true,
35
- modifiers: [],
34
+ readonly: false,
35
+ modifiers: ["readonly"],
36
36
  },
37
37
  "none": {
38
38
  axes: null,