loop
Run the self-improving DeepSeek/Luna/Sol loop. Use when the user says "/loop", "$loop start", or asks to start a self-improving loop with a task, including a…
by codejunkie99★ 49 GitHub stars
Install loop in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
/loop skill
Run the self-improving loop: DeepSeek runs the task, Luna grades each run, Sol rewrites the prompt. The user says "$loop start " or "/loop ".
Start
If the project has no
prompt.md, copy the template fromloop/prompt.mdinto the project root.Replace the task text in
prompt.mdwith the user's task. Keep the DONE: convention from the template.Run from the project directory:
bash ./loop.shAdd
--every 600when the user asks for a 10-minute cadence.
Utility menu
When the user mentions a utility, map it to a model:
| Utility | Model |
|---|---|
| fast / flash | opencode-go/deepseek-v4-flash |
| deep / deepseek | opencode-go/deepseek-v4-pro |
| luna / grade / watch | gpt-5.6-luna |
| sol / review / rewrite | gpt-5.6-sol |
| build / implement | opencode-go/deepseek-v4-pro |
The same mapping is available as slash commands: /loop, /flash,
/deepseek, /luna, /sol, and /utility for the menu.
Stop conditions
The driver stops when the runner reports DONE:, when 6 cycles run, or when two
consecutive cycles leave prompt.md unchanged. The user can also say stop,
which means interrupt the run and keep the current prompt.md and log.md.
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the loop skill do?
Run the self-improving DeepSeek/Luna/Sol loop. Use when the user says "/loop", "$loop start", or asks to start a self-improving loop with a task, including a repeating 10-minute cadence.
How do I install the loop skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the loop skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…