rename

Batch rename files by pattern and update internal wiki-links.

49|12|Updated Jan 8, 2026
One-click install
npx skills add https://github.com/DavidROliverBA/ArchitectKB --skill rename-davidroliverba
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rename
Source: https://github.com/DavidROliverBA/ArchitectKB/tree/main/.claude/skills/rename
Command: npx skills add https://github.com/DavidROliverBA/ArchitectKB --skill rename-davidroliverba

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the batch renaming of files based on patterns, ensuring that all internal wiki-links are automatically updated to reflect the changes, preventing broken references.

Core Features & Use Cases

  • Pattern-based Renaming: Rename files using glob patterns or by type.
  • Prefix/Suffix Operations: Add or remove prefixes and perform text replacements in filenames.
  • Wiki-link Integrity: Automatically updates all internal [[wikilinks]] to point to the new filenames.
  • Dry-run Mode: Preview all changes before they are applied.
  • Use Case: Clean up a vault by removing a common prefix like "Person - " from all files of type Person, ensuring all links to these files remain valid.

Quick Start

Use the rename skill to remove the prefix "Person - " from all files of type Person.

Frequently Asked Questions about rename

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I batch rename files and update wiki-links to prevent broken references?

To batch rename files and update wiki-links, this Skill matches specified patterns or types to rename files and automatically updates all internal `[[wikilinks]]` to maintain document integrity and prevent broken references.

Can I preview file renaming changes before they are applied?

Yes, you can preview file renaming changes using the dry-run mode, which generates a preview of all renaming and wiki-link updates before any modifications are actually applied to your files.

How do I remove a specific prefix from multiple filenames at once?

To remove a prefix from multiple filenames at once, use this Skill's batch pattern-matching capabilities to add or remove prefixes and perform text replacements across all matching files.

Does batch renaming files with this method preserve git history?

Yes, batch renaming files with this method preserves git history by using the `git mv` command for all file operations, ensuring version control tracking remains intact throughout the renaming process.

What is the best way to clean up a vault by renaming files based on type?

The best way to clean up a vault by renaming files based on type is using glob patterns or file types to target specific documents, applying prefix or text replacements while automatically fixing internal wiki-links.