Preview of pi-for-eachOpen pi.dev

pi.dev/packages/pi-for-each

pi-for-each

A pi extension that adds a /for prompt-loop with $each insertion over directory children or file lines.

Visit project

Show me a random project

First shared
Jul 20, 2026
HN activity
10

Show HN@jejayJul 20, 2026

Show HN: A pi extension that adds a /for prompt-loop with $each insertion

Like subagents but much simpler, sequential and with more control for the user. Instead of describing the loop to the agent, just make a loop. No need to tell the agent about your control structure if you already know the control structure.

Community

Hacker News discussion

Loading the thread…