crafting-self-prompting-loops

Installation
SKILL.md

Crafting Self-Prompting Loops

The key words MUST, MUST NOT, SHOULD, SHOULD NOT and MAY in this skill are to be interpreted as described in BCP 14 (RFC 2119, RFC 8174) when, and only when, they appear in all capitals.

A self-prompting loop is a trusted harness that re-invokes a model with updated context each round — it is not the model executing its own output as commands. The harness calls the model, reads the answer as data, decides whether to call again, and if so folds new information into the next prompt. Internalize that framing before building: it is both the correct mental model and the security model. Everything below follows from it.

Your job with this skill: turn a fuzzy "make it keep going until it's good" request into a sound loop — one that always terminates, never drifts unnoticed, never executes its own output as instructions, and stays within budget. Skipping these is how loops burn money, never stop, or get hijacked.

The workflow

Installs
53
GitHub Stars
3
First Seen
Jun 9, 2026