Self-improving agent skills: refactor ad-hoc patches into general math solutions for image-to-3D
teortaxesTex · x · 2026-11-27
The author shares a first-hand agent workflow: create a skill, run it through sequential batches of agents that supply feedback, let a main skill-building agent upgrade it, then prompt "these are ad hoc tricks, refactor into a general mathematical solution" — and with Gemini Neon's image-to-3D-scene reproductions of Z-Image diffusion outputs, this trick finally clicked.
Screenshots detail the refactor: 25 scene-specific patches for the inverse-rendering problem (illustration → 3D scene) collapsed into 4 orthogonal mathematical modules. Examples: a linear inverse solver that captures AOV buffers in one browser pass (<1s) and solves all light/material constants via convex optimization in NumPy (0.2s, L-BFGS/alternating NNLS), eliminating exposure ping-pong, warm-multiplier compounding, and low-key metal blackout; and replacing 8 hand-rolled gate metrics with two canonical functionals — Wasserstein-1 quantile distance in CIELab plus 2D power-spectrum loss.
Related event: Developer Shares Multi-Agent Workflow for Self-Evolving Skills(2 posts)→
More from coding & agent
- Dev keeps full .claude conversation logs of AI coding sessions as evidence — ryunuck · 2026-11-28
- Alpha debuts: open-source agentic mobile OS with built-in personal agent for Pixel 10 — Signalman23 · 2026-11-28
- With AI, Anyone Can Build Anything — The Real Skill Is Deciding What to Build — therealdanvega · 2026-11-28
- Coding Agent Memory Benchmarked: Devin 84.7% Beats Claude Code 76.2%, Codex 66.3% — mehdidjabri · 2026-11-28
- AWS open-sources Context Ontology Accelerator for more accurate, explainable AI agents — adnan_hashmi · 2026-11-28
- The most underrated LLM eval: did the model do what it said it did — sophiamyang · 2026-11-28