Skip to main content

crafting-self-prompting-loops

Design and build sound self-prompting loops — loops where a model iterates toward a goal across turns (draft→critique→revise, autonomous task loops, multi-agent orchestration, human-checkpointed loops). Use whenever the user wants to make a model "keep improving X until Y", build a self-refinement or reflexion loop, an autonomous agent that works toward a goal with little supervision, a loop that orchestrates or fans out to other agents, a recurring self-driven/scheduled task, or any agentic loop — even if they don't say the word "loop"; also use it to audit or fix an existing loop that runs away, never stops, oscillates, drifts off-goal, or is vulnerable to prompt injection. It produces a filled loop spec, a runnable scaffold, and bakes in the mandatory safety properties (a hard stop backstop and the trusted/untrusted two-channel boundary) that loops fail without.

Jump to install

Source facts

Repository
dhanesh/agent-skills
Last source activity
July 27, 2026 at 21:01
Detected SKILL.md language
English
Stars
1
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.