DIY OpenClaw Alternative Using Claude Code in Headless Mode

Core Implementation
A developer created a DIY alternative to OpenClaw using Claude Code in headless mode with a $20 Claude Code subscription. The system runs on existing hardware instead of requiring a Mac Mini.
The core component is a Python server that takes prompts, sends them to Claude Code in headless mode, and returns the responses. This provides the basic AI interaction functionality without the full OpenClaw setup.
Integration and Automation
The system includes several practical integrations:
- Telegram bot for mobile access: Uses long polling so no webhook or public URL is needed
- Hammerspoon automation: Auto-starts everything and restarts components if they crash
- Local data storage: All data is kept in markdown files including schedules, tasks, contacts, and notes
Functionality
Claude reads and writes directly to the markdown files, enabling these specific capabilities:
- Answering questions about availability (e.g., "Am I free Thursday at 3?")
- Adding tasks (e.g., "Add a task to review the code")
- Creating Calendar events and Reminders using AppleScript
- Controlling Chrome via Apple events when JavaScript is allowed
- Sending scheduled reminders through Telegram via cron setup
- Maintaining rolling conversation history to avoid being completely stateless
Limitations and Status
The developer notes this is "still a bit rough and nowhere near something like OpenClaw" but works well enough for daily use. This approach was developed because the developer couldn't afford a Mac Mini and OpenClaw is restricted in their organization.
📖 Read the full source: r/openclaw
👀 See Also

Introducing cltree: A File Tree TUI for Claude Code
cltree is a split-pane TUI that displays your project file tree in real-time alongside Claude Code, showing the current working directory, hiding noise, and allowing all keystrokes to pass through.

TeamHero v2.6.1: Open-Source Platform for Managing Claude AI Agents
TeamHero v2.6.1 is a local-first, open-source platform that creates a managed team of Claude agents with features like autopilot mode, subtask nesting, flow views, and persistent memory. The tool runs on Node.js with a vanilla HTML/CSS/JS dashboard and requires no database.

Exploring AI with Tiny Bots: Understanding AI Agents Through Nanobot Tutor
OpenClaw community member shares insights with the 'Nanobot Tutor', a miniature framework aimed at demystifying AI agent functionality. Discover how diving into this compact learning environment unveils the workings of intelligent agents.

HomeClaw Plugin Connects Apple HomeKit to OpenClaw
HomeClaw is an OpenClaw plugin that connects Apple Home/HomeKit devices to OpenClaw. It requires an Apple Developer Account to build and run due to Apple HomeKit restrictions for notarized distributions.