Agent skill

Windows Path Rename

by 981377660LMT in 981377660LMT/algorithm-study

Sanitize Git paths that are invalid on Windows (for example :, ", |, ?, and trailing dot/space) and commit safe renames.

No licenceAuto-check passedDevelopment

Install Windows Path Rename

skills CLI
$ npx skills add 981377660LMT/algorithm-study --skill windows-path-rename -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install 981377660LMT/algorithm-study windows-path-rename --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/981377660LMT/algorithm-study.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/windows-path-rename .claude/skills/windows-path-rename && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
windows-path-rename
GitHub stars
277
Token cost
~540 tokens
SKILL.md length
219 words
Files
2 (incl. scripts)
Skills in repo
3
Repo updated
First seen
Licence
None found

At a glance

Sanitize Git paths that are invalid on Windows (for example :, ", |, ?, and trailing dot/space) and commit safe renames.

  • Works in 5 steps: Ensure a clean branch for rename work. → Run the bundled script in preview mode… → Review mapping and conflict suffixes. → …
  • Checkout on Windows fails with error: invalid path
  • SKILL.md covers When To Use, Workflow, Recommended Execution Modes and Commands, plus 2 more sections
  • Runs Python scripts from its folder; calls python and git

What it does

Windows Path Rename is an agent skill from 981377660LMT/algorithm-study. Sanitize Git paths that are invalid on Windows (for example :, ", |, ?, and trailing dot/space) and commit safe renames. Use when clone or checkout on Windows fails with "error: invalid path".

Its SKILL.md is about 540 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/sanitize_windows_paths.py`).

It sits in Development. It works with Git, Go and Python. The repository describes itself as: Algorithm Notes and Templates (written in python,golang and typescript).

When your agent uses it

  • Checkout on Windows fails with error: invalid path

Example prompts

  • “error: invalid path”
  • “/windows-path-rename”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Ensure a clean branch for rename work.
  2. Run the bundled script in preview mode to generate a mapping.
  3. Review mapping and conflict suffixes.
  4. Apply renames (prefer Linux/WSL working tree mode).
  5. Commit with a clear message and push.

What it can do on your machine

Read from SKILL.md and the folder at commit 0f1a5dc. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python
    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Windows Path Rename loads about 540 tokens when it runs. Until then it costs about 54 tokens; SKILL.md has 219 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~54
When it runs · the whole SKILL.md, loaded when a task matches
~540

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 219 words (~540 tokens).

“Use this skill when a repository contains file or directory names that cannot be created on Windows and Git reports error: invalid path.”

— opening of SKILL.md by 981377660LMT
name
windows-path-rename

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file (scripts) in .github/skills/windows-path-rename of 981377660LMT/algorithm-study.

  • SKILL.md
  • scripts/sanitize_windows_paths.py

Open the folder on GitHubat commit 0f1a5dc

Compare with similar skills

Windows Path Rename next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Windows Path Rename compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Windows Path Rename this skill981377660LMT/algorithm-study277—~540Automated safety check: PassNone
Validate Agent Workkryptamine/herdr-auto-title246—~605Automated safety check: PassMIT
Code Review ChecklistshareAI-lab/learn-claude-code78k4 repos~1.1kAutomated safety check: PassMIT
Go-Redis Release Preparationredis/go-redis22k—~1.1kAutomated safety check: PassBSD-2-Clause
Skyvern Version BumpSkyvern-AI/skyvern23k—~1kAutomated safety check: NotesAGPL-3.0
Saleor Commit Workflowsaleor/saleor23k—~575Automated safety check: PassBSD-3-Clause

Similar skills

  • Validate Agent Work

    kryptamine/herdr-auto-title

    Final checklist before handing work back in the herdr-auto-title repo: review the diff, run make check, apply the comment and AGENTS.md rules, then report.

    246 GitHub stars~605 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 4 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Official

    Prepares a go-redis release locally: picks the next semver, gathers merged PRs, writes the RELEASE-NOTES entry and bumps versions, without publishing.

    22k GitHub stars~1.1k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Skyvern Version Bump

    Skyvern-AI/skyvern

    Walks through a Skyvern open-source release bump: update the version, rebuild the Python and TypeScript SDKs with Fern, commit, and open a pull request.

    23k GitHub stars~1k tokensUpdated yesterday
    DevelopmentAuto-check: notes
  • Commits changes in the Saleor codebase and works through pre-commit hook failures from ruff, mypy, the GraphQL schema check and the migrations check.

    23k GitHub stars~575 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Commitizen

    commitizen-tools/commitizen

    A skill your agent uses for tasks involving Conventional Commits, commit message validation, Commitizen configuration, semantic version bumps, changelog generation, or CI/release automation with the…

    3.5k GitHub stars~839 tokensUpdated 2 days ago
    DevelopmentAuto-check passed

More from 981377660LMT/algorithm-study

  • Browser Tools

    981377660LMT/algorithm-study

    Interactive browser automation via Chrome DevTools Protocol.

    277 GitHub starsUsed in 1 repo~1.3k tokens
    Auto-check passed
  • Vscode

    981377660LMT/algorithm-study

    VS Code integration for viewing diffs and comparing files. An agent skill from 981377660LMT/algorithm-study.

    277 GitHub starsUsed in 1 repo~290 tokens
    Auto-check passed

Works with

Categories

Questions about Windows Path Rename

What does Windows Path Rename do?

Sanitize Git paths that are invalid on Windows (for example :, ", |, ?, and trailing dot/space) and commit safe renames. Windows Path Rename is an agent skill from 981377660LMT/algorithm-study., and trailing dot/space) and commit safe renames.

When should I use Windows Path Rename?

Windows Path Rename fits situations like: checkout on Windows fails with error: invalid path.

How do I install Windows Path Rename in Claude Code?

Run `npx skills add 981377660LMT/algorithm-study --skill windows-path-rename -a claude-code`. Or copy the skill folder (.github/skills/windows-path-rename in 981377660LMT/algorithm-study) into .claude/skills/windows-path-rename in your project. Claude Code loads it when a task matches its description.

How do I install Windows Path Rename in Codex?

Run `npx skills add 981377660LMT/algorithm-study --skill windows-path-rename -a codex`. Or copy the skill folder (.github/skills/windows-path-rename in 981377660LMT/algorithm-study) into .agents/skills/windows-path-rename in your project. Codex loads it when a task matches its description.

Can I use Windows Path Rename in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add 981377660LMT/algorithm-study --skill windows-path-rename -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/windows-path-rename, .gemini/skills/windows-path-rename, .github/skills/windows-path-rename and .opencode/skills/windows-path-rename in your project.

What does Windows Path Rename need to run?

Going by SKILL.md and its folder, Windows Path Rename needs Python for the scripts in its folder and the command-line tools its instructions call (python and git). Our summary lists: Python 3.

Does Windows Path Rename access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Windows Path Rename safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Windows Path Rename use?

No licence was found for Windows Path Rename or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Windows Path Rename use?

About 540 tokens (SKILL.md is roughly 2.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Windows Path Rename?

Skills that share tags, products or a category with Windows Path Rename: Validate Agent Work (kryptamine/herdr-auto-title, 246 stars), Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars), Go-Redis Release Preparation (redis/go-redis, 22k stars) and Skyvern Version Bump (Skyvern-AI/skyvern, 23k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Windows Path Rename?

981377660LMT (a GitHub user) maintains it in 981377660LMT/algorithm-study, which has 277 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on June 21, 2026.

Source: 981377660LMT/algorithm-study on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.