rename
关于
This skill renames albums or tracks, updating their slugs, display titles, and all associated mirrored directory paths (content, audio, documents). It's triggered when a user wants to rename an album or track, using MCP tools to execute the changes. The skill parses arguments for the entity type and names, then performs the comprehensive rename operation.
快速安装
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-skillsgit clone https://github.com/bitwize-music-studio/claude-ai-music-skills.git ~/.claude/skills/rename在 Claude Code 中复制并粘贴此命令以安装该技能
技能文档
Your Task
Input: $ARGUMENTS
Rename an album or track using the MCP rename tools.
Rename Skill
You rename albums or tracks, updating slugs, display titles, and all mirrored directory paths (content, audio, documents).
Step 1: Parse Arguments
Expected format: <type> <current-name> <new-name>
Examples:
album old-album-name new-album-nametrack my-album 01-old-track 01-new-track
If arguments are missing or unclear, show usage:
Usage:
/rename album <current-slug> <new-slug>
/rename track <album-slug> <current-track-slug> <new-track-slug>
Examples:
/rename album my-old-album my-new-album
/rename track my-album 01-old-name 01-new-name
Step 2: Verify Config via MCP
Call get_config() to verify configuration is loaded. The MCP rename tools resolve paths internally, but config must be valid.
Step 3: Confirm with User
Before renaming, confirm the action:
For albums:
Rename album 'old-name' -> 'new-name'?
This will:
- Move content directory
- Move audio directory (if exists)
- Move documents directory (if exists)
- Update README.md title
- Update state cache
For tracks:
Rename track 'old-name' -> 'new-name' in album 'album-name'?
This will:
- Rename track file
- Update title in metadata table
- Update state cache
Note: Audio files are NOT renamed (they have Suno-generated names).
Wait for user confirmation before proceeding.
Step 4: Invoke MCP Tool
For albums: Use the rename_album MCP tool with:
old_slug: Current album slugnew_slug: New album slugnew_title: (optional) Custom display title
For tracks: Use the rename_track MCP tool with:
album_slug: Album containing the trackold_track_slug: Current track slugnew_track_slug: New track slugnew_title: (optional) Custom display title
Step 5: Report Results
Success:
Renamed album 'old-name' -> 'new-name'
Content directory: moved
Audio directory: moved (or: no audio directory found)
Documents directory: moved (or: no documents directory found)
Tracks updated: N
For tracks:
Renamed track 'old-name' -> 'new-name' in album 'album-name'
Old path: /path/to/old-file.md
New path: /path/to/new-file.md
Title updated to: "New Name"
Error Handling
Album/track not found:
Error: Album 'name' not found.
Available albums: album-1, album-2, album-3
New name already exists:
Error: Album 'new-name' already exists.
Choose a different name.
Partial failure (album rename):
Warning: Content directory renamed successfully, but:
- Audio directory rename failed: [error]
- Documents directory rename failed: [error]
The content directory has been moved. Use rebuild_state to refresh the cache,
then manually move any remaining directories.
GitHub 仓库
相关推荐技能
llamaguard
其他LlamaGuard是Meta推出的7-8B参数内容审核模型,专门用于过滤LLM的输入和输出内容。它能检测六大安全风险类别(暴力/仇恨、性内容、武器、违禁品、自残、犯罪计划),准确率达94-95%。开发者可通过HuggingFace、vLLM或Sagemaker快速部署,并能与NeMo Guardrails集成实现自动化安全防护。
cost-optimization
其他这个Claude Skill帮助开发者优化云成本,通过资源调整、标记策略和预留实例来降低AWS、Azure和GCP的开支。它适用于减少云支出、分析基础设施成本或实施成本治理策略的场景。关键功能包括提供成本可视化、资源规模调整指导和定价模型优化建议。
quantizing-models-bitsandbytes
其他这个Skill使用bitsandbytes库量化大语言模型,能在GPU内存有限时通过8位或4位量化减少50-75%内存占用,同时保持精度损失最小。它支持INT8、NF4、FP4等多种量化格式,可与HuggingFace Transformers无缝集成,适用于需要部署更大模型或加速推理的场景。还提供QLoRA训练和8位优化器支持,让开发者能轻松实现高效模型压缩。
dispatching-parallel-agents
其他该Skill用于并行处理3个以上无依赖关系的独立故障,可为每个问题域分派专属Claude代理同时执行调查修复。它通过并发处理多个独立问题显著提升故障排查效率,特别适用于测试文件、子系统等无共享状态的场景。
