← ClaudeAtlas

loopoverlisted

Run one slash command or instruction once per matching file. Use when the same review, validation, or edit has to be applied across a set of files (e.g. every *.md, every feature.json) instead of one at a time.
NomadicDaddy/aidd · ★ 1 · Code & Development · score 60
Install: claude install-skill NomadicDaddy/aidd
# Loop Over Files Expand a file pattern into a concrete list, then run the same payload once per file, substituting the file path into the payload. Each item runs in isolation so a large sweep does not consume the main context. ## Usage ``` loopover --files <glob> [--files <glob>...] --execute "<payload>" [options] loopover --changed --execute "<payload>" [options] ``` ## Arguments | Flag | Meaning | | ----------------------- | ---------------------------------------------------------------------------------------------------------------- | | `--files <glob>` | Pattern to match. Repeatable, or comma-separated. Quote patterns containing `**` or spaces. | | `--path <dir>` | Root the search here instead of the working directory. | | `--recursive` | Search subdirectories. `*.md --recursive` is equivalent to `**/*.md`. Without it, only the root level matches. | | `--exclude <glob>` | Drop matches. Repeatable. | | `--changed` | Use files changed vs. the merge-base with the main branch instead of a glob. Combinable with `--exclude`. | | `--execute "<payload>"` | Required. A slash command (starts with `/`) or a plain-English instruction. `{}`