# How to use loops in Claude Code

DevFeed: [How to use loops in Claude Code](<https://devfeed.tech/articles/how-to-use-loops-in-claude-code-30015.md>)

Original publisher: [Read original article](<https://www.augmentedswe.com/p/claude-code-loops>)

Author: Jeff Morhous

Published: 2026-07-13T11:10:13Z

Content type: tutorial

Language: en

Sources: [The AI-Augmented Engineer](<https://devfeed.tech/sources/the-ai-augmented-engineer.md>)

Topics: [Claude Code](<https://devfeed.tech/topics/claude-code.md>)

Tags: [claude-code](<https://devfeed.tech/tags/claude-code.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [loops](<https://devfeed.tech/tags/loops.md>)

## AI overview

A tutorial about using loops in Claude Code, with the description indicating that it explains why the /loop feature has attracted attention.

## Source excerpt

The internet won't shut up about /loop in Claude Code. I'll show you why