dream-loop
A loop skill: the agent generates a target screenshot, builds toward it, and uses a critic subagent to close the gap until they match
Medium risk
We rate an entry medium when the tool runs code, makes network calls or reads project files. Check what exactly it does before installing.
Why this level
- The agent autonomously writes and runs code and starts a local preview server
- It uses external image generation and can spend many tokens
Install
In your terminal, with SkillFoxx CLI
npx skillfoxx add skills/dream-loopDetects the agents on your machine, checks the risk and pins the version.
Other ways to install
Run in a terminal in the project folder
npx skills add achimala/dream-loop --skill dream-loop -a claude-code -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Run in a terminal in the project folder
npx skills add achimala/dream-loop --skill dream-loop -a cursor -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Run in a terminal in the project folder
npx skills add achimala/dream-loop --skill dream-loop -a github-copilot -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Run in a terminal in the project folder
npx skills add achimala/dream-loop --skill dream-loop -a codex -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Run in a terminal in the project folder
npx skills add achimala/dream-loop --skill dream-loop -a gemini-cli -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Run in a terminal in the project folder
npx skills add achimala/dream-loop --skill dream-loop -a cline -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Run in a terminal in the project folder
npx skills add achimala/dream-loop --skill dream-loop -a roo -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
A fork of Roo Code, same .roo folders.
Run in a terminal in the project folder
npx skills add achimala/dream-loop --skill dream-loop -a opencode -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Install with npx skills add achimala/dream-loop, or clone the repo into the agent's skills directory. Make sure the agent has image generation, image input and subagents, then ask it to build a scene via dream-loop.
Other ways from the author
npx skills add achimala/dream-loopInstalls via the open-source skills CLI. You can also clone the repo into the agent's skills directory.
This is third-party code. Review the repository files before installing.
What it does
The skill gives the agent a closed loop for building games, apps and especially 3D scenes to a high visual bar. First the agent generates a target frame via image generation, then builds the project aiming at that frame. A separate critic subagent compares the live screenshot to the target and returns feedback; the agent rebuilds until the critic is satisfied, and can raise the bar by regenerating the target. It has Plus and Pro modes for different subscription tiers, Blender work via MCP or scripting, and batch generation through the fal service. It ships batch-generation scripts and a local preview server.
Who it is for. For developers and designers who want a high visual bar in games, demos and apps.
Good fit when
- You need a demo or scene built to a high visual bar
- You want the agent to iterate the visuals toward a target on its own
- You have a target image and need the live result to match it
Not a fit when
- The agent has no image generation, vision or subagents
- You need logic or backend rather than the visual side
Example request
Build a Three.js graphics demo: isometric camera, voxel style with realistic lighting, a living scene, one hour time limitLimitations
It needs an agent with image generation, built-in or via API such as a Gemini key, with image input and preferably subagents. It was mainly verified with GPT-6 Astra in Codex; other strong models are said to likely work but are not guaranteed. Custom 3D modeling needs Blender. The loop can run long and spend many tokens, and quality depends on the connected generation model.
How to disable. Remove the dream-loop folder from the agent's skills directory. The loop's working files live in the project's .dream-loop folder, which you can delete separately.
Security check
- The agent autonomously writes and runs code and starts a local preview server
- It uses external image generation and can spend many tokens
README in short
The README describes dream-loop as a closed loop: the agent dreams up a target screenshot via image generation, builds the project toward it, a separate critic compares the live frame to the target and gives feedback, and this repeats until they match. Install via npx skills add or by copying into the skills directory. It needs image generation, image input and preferably subagents, plus Blender for 3D modeling. It notes the main testing was with GPT-6 Astra in Codex and gives a live demo example. MIT license.
SKILL.md
--- name: dream-loop description: Build a game or app from a description so that a live screenshot matches a generated rendering. Use when the user says "dream loop" or asks for something built to a very high level of graphical fidelity. license: MIT --- # dream-loop This is a process for you to autonomously build extremely impressive visuals, especially for 3D scenes (e.g. in a game or app). Your first step is to determine which workflow to use: - If the user told you to use the Plus or Pro workflow explicitly, that's your answer - If not, check if the user is on a low or high tier coding subscription. "Low tier" means ChatGPT Plus or equivalent. "High tier" means ChatGPT Pro. For low-tier subscriptions, use the Plus workflow. For high-tier, use the Pro workflow. Plus workflow: read [references/plus-mode/workflow.md](references/plus-mode/workflow.md) Pro workflow: read [references/pro-mode/workflow.md](references/pro-mode/workflow.md) Do not read both documents. They are not inter-compatible.
FAQ
What does it need to work?
An agent with image generation, image input and preferably subagents. Blender helps for custom 3D modeling.
Why does the loop spend many tokens?
The agent rebuilds until the critic is happy and may regenerate the target. Without a time limit the README warns of heavy token use.
Related
Skills and CLI from HeyGen: the agent writes HTML compositions and renders them into MP4 videos, captions, motion graphics and decks
Blender MCP
MCP for Blender
An MCP server and Blender addon: the agent creates and edits objects, materials and scenes, pulls assets and runs Python in Blender
Official Remotion skills for making videos in React: compositions, animation, captions, maps and rendering
Agentic video studio for Claude Code, Cursor and Codex: script, voiceover, images, stock footage, music, subtitles and render