OpenClaw, a third-party companion tool for Claude Code, got blocked by Anthropic. Someone's response: just rebuild it with a prompt.
A developer published a copy-paste prompt that recreates OpenClaw's core behavior directly inside Claude Code, with no external installation required. The approach takes advantage of Claude Code's built-in Telegram support and the fact that Claude Code's own capabilities are flexible enough to replicate what OpenClaw was doing - keeping a persistent, always-on session running rather than the default behavior of starting fresh each time.
The practical upside is zero setup friction. You paste the prompt into Claude Code once, and you get the persistent-session behavior OpenClaw offered, without touching your system configuration or installing anything outside Anthropic's official tooling. Because it runs entirely inside Claude Code rather than as a third-party layer on top, it also sidesteps whatever policy enforcement caused OpenClaw to get blocked in the first place.
This is a community-developed workaround, not an official Anthropic feature. There's no guarantee it stays functional as Claude Code updates. But for developers who relied on OpenClaw's workflow and lost it when it got restricted, it's a practical bridge until Anthropic either ships native support for persistent sessions or officially revisits the OpenClaw decision.