A new technique allows developers to transform Anthropic's Claude Code into a self-improving, autonomous coding agent called OpenClaw using just a single prompt, with no installation required.
The method, shared by a developer on Reddit and documented on GitHub, leverages Claude Code's existing capabilities to spawn an agent that can autonomously manage tasks, integrate with Telegram for notifications, and submit dynamic pull requests. The key insight is that a carefully crafted prompt can turn the interactive coding tool into a standalone agent that improves its own performance over time.
The approach was posted on GitHub under the repository openclaw-spawn-prompt, which provides the exact prompt needed. The developer behind the project, Iuliu Visovan, demonstrated how the prompt can be used to bootstrap OpenClaw without any additional software or complex setup.
Anthropic's Claude Code is a command-line tool that helps developers write and edit code via natural language. By extending it with this prompt, users gain an agent that can operate independently—checking code, making changes, and even interacting with external services like Telegram to report progress.
The announcement has sparked interest in the AI coding community, as it showcases a novel way to repurpose existing AI tools for more autonomous workflows without waiting for official updates.