dream-loop README

The project's README from github.com/achimala/dream-loop. As one markdown file: README.md.

dream-loop

By @anshuc.

An agent skill that builds a game, app, or scene with impressive visuals, by creating a closed loop:

  1. AI "dreams" up a high-quality target screenshot using image generation
  2. AI builds with this target in mind
  3. A separate AI critic compares the live screenshot to the target and provides feedback
  4. AI loops back to step 2 until critic is satisfied
  5. Optionally, AI loops back to step 1 and dreams up an even better target based on the current state.

Installation

npx skills add achimala/dream-loop, or clone into your agent's skills directory, or paste the link into your agent and tell it to figure it out.

Prerequisites

You need an AI agent with:

Install Blender if you want custom 3D modeling. The Blender MCP or scripting interface is preferred to computer use; it produces better results.

At the moment this is only tested with GPT-6 Astra in Codex. Other strong models like Claude Fable 5.1 can likely work too.

Example

Prompt:

Build me a graphics demo: isometric camera, voxel-ish art style with realistic shading and reflective wet floors, a character in an interesting scene. Fantasy setting (think Elden Ring, Diablo). Three.js in browser, >60fps. Don't download assets. Time limit of 1 hour. Controls: click to move the character, camera lazy-follows; drag to rotate camera; scroll to zoom in/out. No gameplay for now. World should feel alive: motion, animations, subtle environmental behaviors. Area around player should look expansive, but only allow movement in a limited space. No need to confirm the art with me or ask questions, just go!

GPT-6 Astra on high effort in Codex:

Vesper demo: an isometric fantasy scene

Try the live demo

Contributing

I'd love to hear feedback, see results, and accept edits to the skill.

If you open a PR, please provide example results produced by the skill, to ensure the changes don't regress performance.

dream-loop (achimala/dream-loop)

Searching Database…

这是什么?一个智能体技能,让编码 AI 通过循环来构建视觉效果惊艳的游戏、应用或 3D 场景:先用图像生成构想一张目标截图,朝着它去构建,再由批评者子智能体把实际结果与目标对比,如此重复直到吻合。
这是独立应用,还是接入我的编码智能体的东西?它是你添加到 AI 编码智能体(如 Codex)的技能文件/文件夹,让智能体遵循“构想—构建—批评”的工作流;它不是你自己运行的应用。
怎么安装这个技能?运行 'npx skills add achimala/dream-loop',或把仓库克隆到智能体的技能目录,或者干脆把仓库链接发给你的智能体,让它自己想办法。
我的 AI 智能体需要具备什么才能使用这个技能?智能体需要能使用图像生成(像 Codex/Grok 那样内置,或通过 Gemini 密钥之类的 API),需要能看截图的视觉输入,最好还支持子智能体;Blender 是可选的,但如果你想自定义 3D 建模则推荐使用。
它在任何模型上都能用,还是只限特定模型?到目前为止它只在 Codex 中用 GPT-6 Astra 测试过;作者表示其他强大的模型(如 Claude Fable 5.1)应该也能用,但这一点未经证实。
每轮循环里具体会发生什么?AI 通过图像生成构想一张高质量的目标截图,朝着它构建,然后由另一个批评者 AI 把实时截图与目标对比并给出反馈;如此重复直到批评者满意,期间还可以选择重新构想一个更好的目标。
为什么在这里 Blender 比单纯的屏幕自动化更有用?README 建议在 3D 建模时使用 Blender 的 MCP 或脚本接口,而不是计算机操作自动化,因为前者效果更好。
有没有它能构建出什么的示例?README 中包含一个示例提示词,用于构建带有湿地反光地面和角色控制的 Three.js 等距体素风格奇幻场景,由 Codex 中的 GPT-6 Astra 构建,并附有在线演示链接。
Creator
achimala
Size
6.6 MB
Stars
1.7K
Updated
CommitSep 09
Age
1mo
Commits · 90 Days