Statespace: Build Interactive Web Apps for OpenClaw Agents with Markdown

Statespace is a free and open-source framework for building and sharing interactive web applications specifically for OpenClaw agents. It addresses the challenge of building, spinning up, and sharing applications for agents to use.
How It Works
You build apps by writing Markdown web pages that contain three key elements:
- tools: Constrained CLI commands that agents can call. These are defined with regex constraints on inputs and run server-side to avoid shell interpretation and prompt injection.
- components: Live data that renders on page load.
- instructions: Context that guides the agent on how to interact with the page.
Once served or deployed, OpenClaw agents interact with these apps over HTTP, similar to an API.
Example Implementation
The source provides this example Markdown structure:
---
tools:
- [grep, -r, { }, ./docs]
- [psql, -c, { regex: "^SELECT\\b.*" }]
---
```component
psql -c "SELECT count(*) FROM users"
```
# Instructions
- Search the documentation with grep
- Query the database for user metrics (read-only)
- See [reports](src/reports.md) for more workflowsKey Features
- Markdown-based: No SDKs, dependencies, or complex setup required.
- Scalable by adding pages: Each new topic or task can be a new Markdown page.
- Shareable via URL: Every app gets a URL that can be pasted into prompts or instructions.
- Agent-agnostic: Works with any agent configuration that has HTTP access.
- Safety features: Includes regex constraints on tool inputs and server-side tool execution.
For deployment, there's also a hosted version available that makes the process easier.
📖 Read the full source: r/openclaw
👀 See Also
Mergetrain: A Local Merge Queue for Parallel Claude Code Sessions That Prevents Trampled Pushes
Mergetrain is a local merge queue that prevents parallel Claude Code sessions from trampling each other's pushes. It uses worktrees, a pre-push hook, and a single runner that assembles branches into a train, runs tests, then atomically pushes.

Claude Code Hook Monitors WIP Accumulation in AI Coding Workflows
A developer built a UserPromptSubmit hook for Claude Code that surfaces work-in-progress accumulation across four queues: uncommitted changes over 200 lines, three or more unpushed commits, pushed commits without changeset files, and release PRs open longer than 24 hours.

OpenClaw Skill Usage Tracker: Monitor Which Skills You Actually Use
A developer built a tool to track OpenClaw skill usage analytics, including invocation counts, breakdowns by agent and channel, and top skill rankings over different time periods.

Google Surf MCP: Free Google Search MCP with PDF Handling and Tiered Extraction
Google Surf MCP is a free MCP server for Google search and URL extraction that handles PDFs and offers a tiered extraction mode (abstract/full) to save tokens.