From f33d2f42c38244faaef1fca49350a77e986916c3 Mon Sep 17 00:00:00 2001 From: kasparovabi <104397842+kasparovabi@users.noreply.github.com> Date: Sun, 2 Aug 2026 13:43:47 +0300 Subject: [PATCH 1/2] Replace retired Claude model ids in command and converter docs --- .claude/commands/karen/quick-score.md | 2 +- .claude/skills/creating-opencode-agents/SKILL.md | 2 +- .claude/skills/slash-command-builder/EXAMPLES.md | 4 ++-- .claude/skills/slash-command-builder/FRONTMATTER.md | 10 +++++----- .claude/skills/slash-command-builder/SKILL.md | 6 +++--- .cursor/rules/creating-claude-commands.md | 2 +- packages/converters/docs/kiro-agents.md | 2 +- packages/converters/docs/opencode.md | 2 +- .../schemas/opencode-slash-command.schema.json | 2 +- packages/converters/schemas/opencode.schema.json | 2 +- 10 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.claude/commands/karen/quick-score.md b/.claude/commands/karen/quick-score.md index c5aad18c..47e4f966 100644 --- a/.claude/commands/karen/quick-score.md +++ b/.claude/commands/karen/quick-score.md @@ -1,7 +1,7 @@ --- description: Quick Karen score without full review allowed-tools: Glob, Grep, Read -model: claude-3-5-haiku-20241022 +model: claude-haiku-4-5-20251001 --- # Quick Karen Score diff --git a/.claude/skills/creating-opencode-agents/SKILL.md b/.claude/skills/creating-opencode-agents/SKILL.md index e430024f..ef9b8047 100644 --- a/.claude/skills/creating-opencode-agents/SKILL.md +++ b/.claude/skills/creating-opencode-agents/SKILL.md @@ -63,7 +63,7 @@ System prompt content here... --- description: Reviews code for best practices and security mode: subagent -model: anthropic/claude-sonnet-4-20250514 +model: anthropic/claude-sonnet-4-6 temperature: 0.1 tools: write: false diff --git a/.claude/skills/slash-command-builder/EXAMPLES.md b/.claude/skills/slash-command-builder/EXAMPLES.md index d177b94d..e8287150 100644 --- a/.claude/skills/slash-command-builder/EXAMPLES.md +++ b/.claude/skills/slash-command-builder/EXAMPLES.md @@ -65,7 +65,7 @@ Provide specific file:line references for all issues found. ```markdown --- description: Analyze code quality in current file -model: claude-3-5-haiku-20241022 +model: claude-haiku-4-5-20251001 --- Analyze current file for: @@ -685,7 +685,7 @@ Format @current-file as JSON with ${1:-2}-space indentation. description: Format JSON argument-hint: allowed-tools: Read, Write -model: claude-3-5-haiku-20241022 +model: claude-haiku-4-5-20251001 --- Format @current-file as JSON with ${1:-2}-space indentation. diff --git a/.claude/skills/slash-command-builder/FRONTMATTER.md b/.claude/skills/slash-command-builder/FRONTMATTER.md index 5e8c8ed9..0fd70a51 100644 --- a/.claude/skills/slash-command-builder/FRONTMATTER.md +++ b/.claude/skills/slash-command-builder/FRONTMATTER.md @@ -171,13 +171,13 @@ allowed-tools: Bash(git *), Bash(npm *), Read, Write **Examples:** ```yaml # Fast formatting -model: claude-3-5-haiku-20241022 +model: claude-haiku-4-5-20251001 # Default (can omit) -model: claude-3-5-sonnet-20241022 +model: claude-sonnet-4-6 # Complex analysis -model: claude-opus-4-20250514 +model: claude-opus-4-8 ``` **Cost Consideration:** Opus is ~15x more expensive than Haiku. Use appropriately. @@ -271,7 +271,7 @@ Show current changes: ```markdown --- description: Fix ESLint errors -model: claude-3-5-haiku-20241022 +model: claude-haiku-4-5-20251001 allowed-tools: Read, Edit --- @@ -299,7 +299,7 @@ allowed-tools: Bash(npm run db:reset:*) description: Deploy to production environment argument-hint: [environment: staging|prod] allowed-tools: Bash(git *), Bash(npm *), Bash(docker *) -model: claude-3-5-sonnet-20241022 +model: claude-sonnet-4-6 disable-model-invocation: true --- diff --git a/.claude/skills/slash-command-builder/SKILL.md b/.claude/skills/slash-command-builder/SKILL.md index ee708585..bebdef2c 100644 --- a/.claude/skills/slash-command-builder/SKILL.md +++ b/.claude/skills/slash-command-builder/SKILL.md @@ -26,7 +26,7 @@ Activate this skill when: description: Brief description shown in autocomplete argument-hint: [arg1] [arg2] allowed-tools: Bash(git *), Read, Write -model: claude-3-5-sonnet-20241022 +model: claude-sonnet-4-6 disable-model-invocation: false --- @@ -145,7 +145,7 @@ description: What this command does description: Complete command with all options argument-hint: [required] allowed-tools: Bash(git *), Read(**/*.ts), Write -model: claude-3-5-sonnet-20241022 +model: claude-sonnet-4-6 disable-model-invocation: false --- ``` @@ -229,7 +229,7 @@ Override default model for specific commands: ```markdown --- description: Quick syntax fix -model: claude-3-5-haiku-20241022 +model: claude-haiku-4-5-20251001 --- Fix syntax errors in the current file quickly. diff --git a/.cursor/rules/creating-claude-commands.md b/.cursor/rules/creating-claude-commands.md index 4b926763..09a221f0 100644 --- a/.cursor/rules/creating-claude-commands.md +++ b/.cursor/rules/creating-claude-commands.md @@ -278,7 +278,7 @@ allowed-tools: Bash, Grep, Read **Wrong:** ```yaml --- -model: claude-3-5-sonnet-20241022 +model: claude-sonnet-4-6 --- ``` diff --git a/packages/converters/docs/kiro-agents.md b/packages/converters/docs/kiro-agents.md index 56cf8bd1..3cdc0132 100644 --- a/packages/converters/docs/kiro-agents.md +++ b/packages/converters/docs/kiro-agents.md @@ -135,7 +135,7 @@ Example: "agentSpawn": ["echo 'Analyst agent ready'"], "userPromptSubmit": ["git status"] }, - "model": "claude-3-5-sonnet-20241022" + "model": "claude-sonnet-4-6" } ``` diff --git a/packages/converters/docs/opencode.md b/packages/converters/docs/opencode.md index 6bf594a6..21223ad5 100644 --- a/packages/converters/docs/opencode.md +++ b/packages/converters/docs/opencode.md @@ -63,7 +63,7 @@ Note: Any additional fields not listed above will be passed to the model provide --- description: Expert code reviewer focused on best practices and security mode: subagent -model: anthropic/claude-sonnet-4-20250514 +model: anthropic/claude-sonnet-4-6 temperature: 0.1 tools: write: false diff --git a/packages/converters/schemas/opencode-slash-command.schema.json b/packages/converters/schemas/opencode-slash-command.schema.json index dae0421e..8558aae0 100644 --- a/packages/converters/schemas/opencode-slash-command.schema.json +++ b/packages/converters/schemas/opencode-slash-command.schema.json @@ -52,7 +52,7 @@ { "frontmatter": { "template": "Review the following code for best practices:\n\n@$1", - "model": "anthropic/claude-sonnet-4-20250514" + "model": "anthropic/claude-sonnet-4-6" }, "content": "" } diff --git a/packages/converters/schemas/opencode.schema.json b/packages/converters/schemas/opencode.schema.json index 4a2ab66b..bd00ac77 100644 --- a/packages/converters/schemas/opencode.schema.json +++ b/packages/converters/schemas/opencode.schema.json @@ -98,7 +98,7 @@ "frontmatter": { "description": "Reviews code for best practices", "mode": "subagent", - "model": "anthropic/claude-sonnet-4-20250514", + "model": "anthropic/claude-sonnet-4-6", "temperature": 0.7, "tools": { "write": false, From a7ac0aea96d117834985b09b080549bac1b6ade2 Mon Sep 17 00:00:00 2001 From: kasparovabi Date: Sun, 2 Aug 2026 23:54:26 +0300 Subject: [PATCH 2/2] Also update model IDs in reference lists and field descriptions The first commit only changed the `model:` example values, which left several files internally inconsistent: the "Available Models" list in FRONTMATTER.md and the "When to use different models" list in SKILL.md still documented the retired IDs directly above/below the updated examples, and the `model` field descriptions in both opencode schemas, opencode.md and kiro-agents.md still cited the retired IDs as examples. Readers of those sections would have copied retired IDs, and any checker scanning for them would still flag these files. Same mapping as the first commit, applied consistently. --- .claude/skills/creating-opencode-agents/SKILL.md | 2 +- .claude/skills/slash-command-builder/FRONTMATTER.md | 6 +++--- .claude/skills/slash-command-builder/SKILL.md | 6 +++--- .cursor/rules/creating-claude-commands.md | 2 +- packages/converters/docs/kiro-agents.md | 2 +- packages/converters/docs/opencode.md | 2 +- .../converters/schemas/opencode-slash-command.schema.json | 2 +- packages/converters/schemas/opencode.schema.json | 2 +- 8 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.claude/skills/creating-opencode-agents/SKILL.md b/.claude/skills/creating-opencode-agents/SKILL.md index ef9b8047..b32dad38 100644 --- a/.claude/skills/creating-opencode-agents/SKILL.md +++ b/.claude/skills/creating-opencode-agents/SKILL.md @@ -43,7 +43,7 @@ System prompt content here... | Field | Type | Description | |-------|------|-------------| | `mode` | `primary` \| `subagent` \| `all` | How agent can be used (default: `all`) | -| `model` | string | Override model (e.g., `anthropic/claude-sonnet-4-20250514`) | +| `model` | string | Override model (e.g., `anthropic/claude-sonnet-4-6`) | | `temperature` | number | Response randomness 0.0-1.0 | | `prompt` | string | Path to prompt file: `{file:./path/to/prompt.txt}` | | `maxSteps` | number | Maximum iterations (unlimited if unset) | diff --git a/.claude/skills/slash-command-builder/FRONTMATTER.md b/.claude/skills/slash-command-builder/FRONTMATTER.md index 0fd70a51..8d277dc3 100644 --- a/.claude/skills/slash-command-builder/FRONTMATTER.md +++ b/.claude/skills/slash-command-builder/FRONTMATTER.md @@ -146,9 +146,9 @@ allowed-tools: Bash(git *), Bash(npm *), Read, Write **Format:** Model identifier string **Available Models:** -- `claude-3-5-haiku-20241022` - Fast, low-cost (simple tasks) -- `claude-3-5-sonnet-20241022` - Balanced (default for most commands) -- `claude-opus-4-20250514` - Powerful, expensive (complex reasoning) +- `claude-haiku-4-5-20251001` - Fast, low-cost (simple tasks) +- `claude-sonnet-4-6` - Balanced (default for most commands) +- `claude-opus-4-8` - Powerful, expensive (complex reasoning) **When to Override:** diff --git a/.claude/skills/slash-command-builder/SKILL.md b/.claude/skills/slash-command-builder/SKILL.md index bebdef2c..be1c0993 100644 --- a/.claude/skills/slash-command-builder/SKILL.md +++ b/.claude/skills/slash-command-builder/SKILL.md @@ -236,9 +236,9 @@ Fix syntax errors in the current file quickly. ``` **When to use different models:** -- `claude-3-5-haiku-20241022` - Fast, simple tasks -- `claude-3-5-sonnet-20241022` - General purpose (default) -- `claude-opus-4-20250514` - Complex reasoning +- `claude-haiku-4-5-20251001` - Fast, simple tasks +- `claude-sonnet-4-6` - General purpose (default) +- `claude-opus-4-8` - Complex reasoning ### Disable Auto-Invocation diff --git a/.cursor/rules/creating-claude-commands.md b/.cursor/rules/creating-claude-commands.md index 09a221f0..4719235a 100644 --- a/.cursor/rules/creating-claude-commands.md +++ b/.cursor/rules/creating-claude-commands.md @@ -315,7 +315,7 @@ Before finalizing a slash command: - [ ] File saved to `.claude/commands/*.md` - [ ] Frontmatter uses correct field names - [ ] `allowed-tools` is comma-separated string (not array) -- [ ] `model` uses short values (`sonnet`, not `claude-3-5-sonnet-20241022`) +- [ ] `model` uses short values (`sonnet`, not `claude-sonnet-4-6`) - [ ] Icon (if used) is in H1 heading, not frontmatter - [ ] Description is specific and actionable - [ ] Tool permissions are minimal diff --git a/packages/converters/docs/kiro-agents.md b/packages/converters/docs/kiro-agents.md index 3cdc0132..465ebc3c 100644 --- a/packages/converters/docs/kiro-agents.md +++ b/packages/converters/docs/kiro-agents.md @@ -105,7 +105,7 @@ Example: ### Additional Fields - **`model`** (string, optional): Preferred model for this agent - - Example: `"claude-3-5-sonnet-20241022"` + - Example: `"claude-sonnet-4-6"` - **`useLegacyMcpJson`** (boolean, optional): Use legacy MCP JSON format - Default: `false` diff --git a/packages/converters/docs/opencode.md b/packages/converters/docs/opencode.md index 21223ad5..54397a59 100644 --- a/packages/converters/docs/opencode.md +++ b/packages/converters/docs/opencode.md @@ -35,7 +35,7 @@ OpenCode is an AI coding assistant that uses specialized agents and slash comman #### Optional Fields -- **`model`** (string): Override default model (e.g., `"anthropic/claude-sonnet-4-20250514"`) +- **`model`** (string): Override default model (e.g., `"anthropic/claude-sonnet-4-6"`) - **`temperature`** (number): Controls response randomness (0.0-1.0) - 0.0-0.2: Focused, analytical tasks - 0.6-1.0: Creative work diff --git a/packages/converters/schemas/opencode-slash-command.schema.json b/packages/converters/schemas/opencode-slash-command.schema.json index 8558aae0..7189a4db 100644 --- a/packages/converters/schemas/opencode-slash-command.schema.json +++ b/packages/converters/schemas/opencode-slash-command.schema.json @@ -25,7 +25,7 @@ }, "model": { "type": "string", - "description": "Overrides default model for this command (e.g., 'anthropic/claude-sonnet-4-20250514')" + "description": "Overrides default model for this command (e.g., 'anthropic/claude-sonnet-4-6')" }, "subtask": { "type": "boolean", diff --git a/packages/converters/schemas/opencode.schema.json b/packages/converters/schemas/opencode.schema.json index bd00ac77..cc431aef 100644 --- a/packages/converters/schemas/opencode.schema.json +++ b/packages/converters/schemas/opencode.schema.json @@ -23,7 +23,7 @@ }, "model": { "type": "string", - "description": "Override default model (e.g., 'anthropic/claude-sonnet-4-20250514')" + "description": "Override default model (e.g., 'anthropic/claude-sonnet-4-6')" }, "temperature": { "type": "number",