Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/Morningstar202604/awesome-skillkitnpx agentmods add skills/morningstar202604/awesome-skillkit/batch-renamerWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/morningstar202604/awesome-skillkit/batch-renamer)<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/batch-renamer"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/batch-renamer/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/batch-renamer"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/batch-renamer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00100 | $0.02070 |
| Opus 5.5 | $0.00040 | $0.00828 |
| Sonnet 5.5 | $0.00020 | $0.00414 |
| Haiku 4.5 | $0.00010 | $0.00207 |
Grade A, and why
batch-renamer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 168 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Batch Renamer (Batch File Renaming)
Solves the problem of "a pile of files needs consistent renaming, doing it manually is maddening."
Core judgment: renaming is destructive, so preview first, act second, and
leave a trail. preview is the default action; apply refuses without
--yes (exit code 2); each real execution appends a JSON record to
rename-log.txt, which undo uses for one-command rollback. Conflicts are
always skipped and reported, never silently overwritten.
Input Checklist
| Input | Required | Notes |
|---|---|---|
| Target directory | yes | Positional argument. Only regular files inside the directory are processed; symlinks and .git/node_modules are skipped |
| Renaming rule | yes | At least one: --pattern / --regex / --prefix / --suffix / --exif-date / --lower / --upper |
| Execution flag | no | apply requires --yes; preview and undo preview modes don't need it |
--start |
no | {n} starting index, default 1 |
When inputs are missing, ask all at once: "Please provide: 1) directory path; 2) target naming rule (an example is enough); 3) whether to use shooting date; 4) whether to preview first. Defaults: sequence starts at 1, conflicts are skipped."
Pre-flight Checks
python3 --version # expected >= 3.8
test -f scripts/rename.py && echo SCRIPT_OK # expected prints SCRIPT_OK
test -d "$TARGET_DIR" && echo DIR_OK # expected prints DIR_OK
python3 -c "import PIL; print('EXIF_OK', PIL.__version__)" 2>/dev/null || echo "Pillow only needed with --exif-date"
find "$TARGET_DIR" -maxdepth 1 -type f | wc -l # check scale first; >10k discuss batching
Missing Pillow doesn't block: --exif-date automatically falls back to file
mtime and notes the source in output.
Workflow
Step 1: Preview Renaming Result
python3 scripts/rename.py preview assets/sample-files --pattern "IMG_{n:03d}.{ext}" # bundled sample directory (preview is read-only)
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago Changed · +25 lines · -17 tokens per session cdbab1840872
- 2mo ago Changed dab4321918a3
- 2mo ago First seen · 143 lines · 117 tokens per session scan A 061fc383954d
batch-renamer is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 100 tokens to every session and 2,070 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-19.
batch-renamer compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| batch-renamerMorningstar202604/awesome-skillkit | Skill | 0 | 2mo ago | Apache-2.0 | A | 100 | Claude Code, Codex |
| apple-notesNousResearch/hermes-agent | Skill | 267k | today | MIT | A | 17 | Claude Code, Codex |
| obsidianNousResearch/hermes-agent | Skill | 267k | today | MIT | A | 19 | Claude Code, Codex |
| channels-setupCopilotKit/CopilotKit | Skill | 39k | today | MIT | A | 141 | Claude Code |
| gadgetomnigent-ai/omnigent | Skill | 12k | today | Apache-2.0 | A | 46 | Claude Code |
| dwsPinvou/pinvou-agent | Skill | 3.0k | today | MIT | A | 193 | Claude Code, Codex |
| agent-initializationPrism-Shadow/penguin-harness | Skill | 3.4k | today | Apache-2.0 | A | 79 | Claude Code, Codex |