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

Claude Code skill combines DeepMind Aletheia and Anthropic harness approaches
A Claude Code skill implements a Planner→Generator→Evaluator→Reviser pipeline that synthesizes DeepMind's Aletheia math research agent with Anthropic's multi-agent coding architecture, adding blind pre-analysis where the evaluator reasons about correct approaches before seeing candidate code.

graphify-ts: Local MCP server cuts Claude Code PR review tokens from 63K to 8.7K
graphify-ts builds a local knowledge graph of your codebase using tree-sitter AST + Louvain communities + BM25 + optional ONNX rerank, exposing it via MCP stdio. In production tests, it reduced input tokens by 2.6x and latency by 2.8x for code queries, and cut PR review prompts from 63K to 8.7K tokens.

Agent Forge: Open Source Tool Scaffolds Multi-Agent Pipelines for Claude Code
Agent Forge is a Claude Code skill that generates complete multi-agent pipelines from use case descriptions. It creates prompt files, orchestrator scripts, data flow directories, and GitHub Actions configs based on patterns observed in existing multi-agent systems.

Spectr: An MCP That Writes App Specs from Screen Recordings for Pixel-Perfect Claude Clones
Spectr is an MCP server, CLI, and Claude Code skill that takes an .mp4/.mov screen recording of an iOS app and generates a 7-section spec.md with hex codes, font weights, spacing, transitions, and nav graph — eliminating the 30-minute manual spec writing per screen.