MCP HubMCP Hub
스킬 목록으로 돌아가기

skill-model-updater

bitwize-music-studio
업데이트됨 Yesterday
1 조회
209
37
209
GitHub에서 보기
메타ai

정보

이 스킬은 새로운 모델이 출시될 때 모든 스킬 파일의 Claude 모델 참조를 자동으로 업데이트합니다. 현재 모델 사용 현황을 확인하고, 업데이트를 수행하거나, 드라이런(dry-run) 옵션으로 변경 사항을 미리 볼 수 있습니다. 개발자는 Anthropic이 새로운 Claude 모델을 출시한 후에 이를 사용하여 스킬의 최신 상태를 유지해야 합니다.

빠른 설치

Claude Code

추천
기본
npx skills add bitwize-music-studio/claude-ai-music-skills -a claude-code
플러그인 명령대체
/plugin add https://github.com/bitwize-music-studio/claude-ai-music-skills
Git 클론대체
git clone https://github.com/bitwize-music-studio/claude-ai-music-skills.git ~/.claude/skills/skill-model-updater

Claude Code에서 이 명령을 복사하여 붙여넣어 스킬을 설치하세요

문서

Your Task

Command: $ARGUMENTS

Based on the command:

  1. check - Discover current models, scan all skills, report status
  2. update - Update outdated models to current versions
  3. update --dry-run - Show what would be updated without making changes

Skill Model Updater

You maintain model currency across all skill files, ensuring skills use the latest Claude models.


Step 1: Discover Current Models

Before checking or updating skills, you MUST first discover current model IDs.

Discovery Method

  1. Search for current Anthropic models:

    WebSearch: "Anthropic Claude model IDs 2025" OR "Claude API models list current"
    
  2. Fetch official documentation:

    WebFetch: https://docs.anthropic.com/en/docs/about-claude/models
    
  3. Extract current model IDs for each tier:

    • Opus (most capable) - Look for claude-opus-* or claude-*-opus-*
    • Sonnet (balanced) - Look for claude-sonnet-* or claude-*-sonnet-*
    • Haiku (fast) - Look for claude-haiku-* or claude-*-haiku-*
  4. Identify the latest version of each tier by date suffix (e.g., 20250514 > 20250114)

Expected Output Format

After discovery, report:

CURRENT CLAUDE MODELS (discovered)
==================================
Source: docs.anthropic.com/en/docs/about-claude/models
Date checked: [today's date]

Opus:   claude-opus-4-5-20251101
Sonnet: claude-sonnet-4-5-20250929
Haiku:  claude-haiku-4-5-20251001

Shorthand aliases (always valid, resolve to current):

  • opus → current opus model
  • sonnet → current sonnet model
  • haiku → current haiku model

Workflow

Check Mode

/skill-model-updater check
  1. Discover current models (Step 1 above) - WebSearch/WebFetch Anthropic docs
  2. Glob for all skills/*/SKILL.md files
  3. Extract model: field from YAML frontmatter
  4. Compare against discovered current models
  5. Check CLAUDE.md - Scan ${CLAUDE_PLUGIN_ROOT}/CLAUDE.md for Co-Authored-By: Claude lines and verify model name is current
  6. Report status for each skill and CLAUDE.md

Output format:

SKILL MODEL AUDIT
=================

Current Models (discovered from docs.anthropic.com):
- Opus: claude-opus-4-5-20251101
- Sonnet: claude-sonnet-4-5-20250929
- Haiku: claude-haiku-4-5-20251001

Skill Status:
✓ lyric-writer: claude-opus-4-5-20251101 (current)
✓ researcher: claude-sonnet-4-5-20250929 (current)
⚠ album-art-director: claude-sonnet-4-20250114 (outdated → claude-sonnet-4-5-20250929)
✓ import-audio: claude-haiku-4-5-20251001 (current)

Summary: 19/20 skills current, 1 needs update

Update Mode

/skill-model-updater update
  1. Discover current models (Step 1 above)
  2. Run check to identify outdated skills
  3. For each outdated skill:
    • Read the SKILL.md file
    • Update the model: field to discovered current version
    • Preserve the skill's tier (don't change opus to sonnet)
  4. Update CLAUDE.md - If Co-Authored-By line in ${CLAUDE_PLUGIN_ROOT}/CLAUDE.md references an outdated model name, update it to current
  5. Report changes made

Output format:

SKILL MODEL UPDATE
==================

Models discovered from docs.anthropic.com:
- Opus: claude-opus-4-5-20251101
- Sonnet: claude-sonnet-4-5-20250929
- Haiku: claude-haiku-4-5-20251001

Updated 1 skill:
- album-art-director: claude-sonnet-4-20250114 → claude-sonnet-4-5-20250929

All skills now current.

Dry Run Mode

/skill-model-updater update --dry-run

Same as update but only reports what would change without editing files.


Model Detection Logic

Identifying Outdated Models

A model is outdated if:

  1. It's an older version of a current model family (e.g., claude-sonnet-4-20250114 vs claude-sonnet-4-5-20250929)
  2. It's a deprecated model (e.g., claude-3-opus-20240229)

Tier Detection (Auto)

Detect tier from the skill's existing model: field - no hardcoded tier list needed:

  • If model contains opus → update to current opus
  • If model contains sonnet → update to current sonnet
  • If model contains haiku → update to current haiku
  • If model is shorthand (opus, sonnet, haiku) → leave as-is (always resolves to current)

This preserves deliberate tier assignments without maintaining a separate mapping.


When New Models Release

This skill discovers models automatically and detects tiers from existing assignments.

When Anthropic releases new models:

  1. Run check - /skill-model-updater check will discover new models automatically
  2. Review changes - Verify discovered models are correct
  3. Run update - /skill-model-updater update to propagate changes

Note: Tier assignments are documented in ${CLAUDE_PLUGIN_ROOT}/reference/model-strategy.md. This skill preserves existing tiers - it only updates version numbers.


Example: Full Update Cycle

User: "New Claude models released, update skills"

1. Run check (discovers models automatically):
   /skill-model-updater check

   Output:
   - Discovered from docs.anthropic.com: Opus 4.5, Sonnet 4, Haiku 3.5
   - 3 skills using outdated sonnet (20250114 → 20250514)
   - 1 skill using deprecated opus (claude-3-opus → claude-opus-4-5)

2. Run dry-run:
   /skill-model-updater update --dry-run

   Output shows proposed changes

3. Run update:
   /skill-model-updater update

   Output confirms 4 skills updated

4. Verify:
   /skill-model-updater check

   Output: All 21 skills current

Error Handling

Missing Model Field

If a SKILL.md has no model: field:

  • Report as "⚠ [skill]: No model specified"
  • Do not add one automatically (requires manual decision)

Unknown Model

If a SKILL.md has an unrecognized model:

  • Report as "? [skill]: Unknown model '[model-id]'"
  • Do not update (requires manual review)

Invalid YAML

If a SKILL.md has malformed frontmatter:

  • Report as "✗ [skill]: Invalid YAML frontmatter"
  • Do not attempt to update

Scope

This skill updates model references in:

  1. All skills/*/SKILL.md files - The model: field in YAML frontmatter
  2. CLAUDE.md - The Co-Authored-By: Claude [Model] <[email protected]> line in the versioning section

Both locations must stay in sync with the latest Claude model names.


Remember

  • Check before update - Always know what will change
  • Tiers are auto-detected - Skill reads existing model field to determine tier (opus/sonnet/haiku)
  • Shorthand is safe - opus, sonnet, haiku always resolve to current versions
  • Tier rationale - See ${CLAUDE_PLUGIN_ROOT}/reference/model-strategy.md for why each skill uses its tier
  • CLAUDE.md co-author line - Must reflect the current top-tier model name used for commits

GitHub 저장소

bitwize-music-studio/claude-ai-music-skills
경로: skills/skill-model-updater
0
ai-musicai-music-toolsaudio-masteringclaudeclaude-codeclaude-code-plugin

연관 스킬

content-collections

메타

이 스킬은 콘텐츠 콜렉션(Content Collections)을 위한 프로덕션 검증된 설정을 제공합니다. 콘텐츠 콜렉션은 Markdown/MDX 파일을 Zod 검증이 포함된 타입 안전한 데이터 콜렉션으로 변환해주는 TypeScript 최우선 도구입니다. 블로그, 문서 사이트 또는 콘텐츠 중심의 Vite + React 애플리케이션을 구축할 때 타입 안전성과 자동 콘텐츠 검증을 보장하기 위해 사용하세요. Vite 플러그인 구성과 MDX 컴파일부터 배포 최적화 및 스키마 검증에 이르기까지 모든 것을 다룹니다.

스킬 보기

polymarket

메타

이 스킬은 개발자들이 Polymarket 예측 시장 플랫폼을 활용한 애플리케이션을 구축할 수 있도록 지원하며, 거래 및 시장 데이터를 위한 API 통합 기능을 포함합니다. 또한 WebSocket을 통한 실시간 데이터 스트리밍을 제공하여 실시간 거래와 시장 활동을 모니터링할 수 있습니다. 이를 통해 거래 전략을 구현하거나 실시간 시장 업데이트를 처리하는 도구를 생성하는 데 활용할 수 있습니다.

스킬 보기

creating-opencode-plugins

메타

이 스킬은 개발자들이 명령어, 파일, LSP 작업 등 25개 이상의 이벤트 유형에 연결되는 OpenCode 플러그인을 만들 수 있도록 돕습니다. JavaScript/TypeScript 모듈을 위한 플러그인 구조, 이벤트 API 명세, 구현 패턴을 제공합니다. OpenCode AI 어시스턴트의 라이프사이클을 사용자 정의 이벤트 기반 로직으로 가로채거나, 모니터링하거나, 확장해야 할 때 사용하세요.

스킬 보기

sglang

메타

SGLang은 RadixAttention 프리픽스 캐싱을 활용하여 JSON, 정규식, 에이전트 워크플로우를 위한 고속 구조화 생성에 특화된 고성능 LLM 서빙 프레임워크입니다. 특히 반복되는 프리픽스가 있는 작업에서 상당히 빠른 추론 속도를 제공하여 복잡한 구조화 출력 및 다중 턴 대화에 이상적입니다. 제약 디코딩이 필요하거나 광범위한 프리픽스 공유가 있는 애플리케이션을 구축할 때는 vLLM과 같은 대안보다 SGLang을 선택하십시오.

스킬 보기