Skip to content
rename logo

Rename Skill

rename

Renames an album or track, updating slugs, titles, and all mirrored paths. Use when the user wants to rename an album or track.

SKILL.md

Full skill instructions

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-name
  • track 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 slug
  • new_slug: New album slug
  • new_title: (optional) Custom display title

For tracks: Use the rename_track MCP tool with:

  • album_slug: Album containing the track
  • old_track_slug: Current track slug
  • new_track_slug: New track slug
  • new_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.

More Other skills

Delegate independent tasks to specialized agents working concurrently with isolated context.

295.4K 206.3K
View

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

179.7K 100.1K
View

Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.

179.7K 89.5K
View

A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).

179.7K 76.1K
View

Fundamental design principles for writing maintainable, testable Python code.

40.2K 21.9K
View

Modern responsive layouts using container queries, fluid typography, CSS Grid, and mobile-first strategies.

40.2K 20K
View

Generate Playwright tests from scenarios using interactive browser exploration and validation.

39.7K 18.2K
View

Modern React state management with Redux Toolkit, Zustand, Jotai, and React Query for every state category.

40.2K 14.7K
View

GDPR-compliant data handling with consent management, data subject rights, and privacy controls.

40.2K 14.3K
View

Python error handling patterns including input validation, exception hierarchies, and partial failure handling. Use when implementing validation logic, designing exception strategies, handling batch processing failures, or building robust APIs.

40.2K 13.5K
View

Detailed multi-file refactor planning with safety checks and rollback guidance.

39.7K 13K
View