# Foo Baz

> Renames image assets to content-hashed filenames and updates each reference to them. Use when cache-busting static assets.

- Skill: `brokenrobot-xyz/foo-baz` (Agent Skill)
- Install (CLI): `npx skillmds@latest add brokenrobot-xyz/foo-baz`
- Raw SKILL.md: https://api.skillmd.com/api/skills/brokenrobot-xyz/foo-baz/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: brokenrobot-xyz (https://skillmd.com/u/brokenrobot-xyz)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/brokenrobot-xyz/foo-baz

---


# Rename assets

Rename each image to a content-hashed filename and update every reference to it.

## Steps

1. Hash each image file and compute its new name.
2. Rename the file and update each reference a `Glob` sweep of the content files finds.
3. Report each rename pair and any reference you could not update.

