YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
docs: restructure OpenClaw page around same-machine vs remote setups
Louis Beaumont082b57f27037
diff --git a/docs/mintlify/docs-mintlify-mig-tmp/openclaw.mdx b/docs/mintlify/docs-mintlify-mig-tmp/openclaw.mdxindex 0e575f7a9..9ece7f436 100644--- a/docs/mintlify/docs-mintlify-mig-tmp/openclaw.mdx+++ b/docs/mintlify/docs-mintlify-mig-tmp/openclaw.mdx@@ -9,13 +9,13 @@ icon: "robot"With screenpipe, OpenClaw can recall what you've seen on screen, reference past conversations, and answer questions about your digital history.-## setup (MCP)+## same machine-The recommended way to connect screenpipe to OpenClaw is via MCP (Model Context Protocol). OpenClaw has native MCP support, and screenpipe ships an MCP server.+If OpenClaw and screenpipe run on the same machine, setup is straightforward.-1. Make sure screenpipe is running on your machine+### MCP (recommended)-2. Add screenpipe to your OpenClaw MCP config:+Add screenpipe to your OpenClaw MCP config:```json{@@ -28,7 +28,7 @@ The recommended way to connect screenpipe to OpenClaw is via MCP (Model Context}```-3. Restart OpenClaw — it will now have access to your screen history, audio transcriptions, and more+Restart OpenClaw — it will now have access to your screen history, audio transcriptions, and more.You can test the MCP server independently:@@ -36,26 +36,55 @@ You can test the MCP server independently:npx @modelcontextprotocol/inspector npx screenpipe-mcp```-## alternative: REST API+### custom skill (alternative)-If OpenClaw runs on the same machine as screenpipe, you can create a skill that queries the REST API:+Create `~/openclaw/skills/screenpipe/skill.md`:++````markdown+---+name: screenpipe+description: Search screen recordings and audio transcriptions from the user's computer+tools:+ - Bash+---++# screenpipe skill++Query the user's screen history via the local API at http://localhost:3030.++## search content```bash-# search contentcurl -s "http://localhost:3030/search?q=QUERY&limit=20"+```-# filter by type: ocr, audio-curl -s "http://localhost:3030/search?q=QUERY&content_type=ocr"+## get recent activity-# filter by app-curl -s "http://localhost:3030/search?q=QUERY&app_name=Chrome"+```bash+curl -s "http://localhost:3030/search?limit=10&content_type=ocr"```+````++Restart OpenClaw to load the skill.++## different machines++If OpenClaw runs on a remote server (e.g., a VPS) and screenpipe runs on your laptop/desktop, you need to expose screenpipe's API to the remote machine securely.++### option A: Tailscale (easiest)-For remote setups, use a secure tunnel (Tailscale, Cloudflare Tunnel, etc.).+[Tailscale](https://tailscale.com) creates a private network between your devices — no port forwarding, no config files.-## alternative: custom skill+1. Install Tailscale on both machines (your computer + OpenClaw server)+2. Run `tailscale up` on both+3. Find your computer's Tailscale IP: `tailscale ip`+4. On your OpenClaw server, verify connectivity:++```bash+curl http://<your-tailscale-ip>:3030/health+```-Create a skill that queries screenpipe's SQLite database directly.+5. Create an OpenClaw skill that queries your screenpipe over Tailscale:Create `~/openclaw/skills/screenpipe/skill.md`:@@ -69,22 +98,60 @@ tools:# screenpipe skill-Query the user's screen history via the local API at http://localhost:3030.+Query the user's screen history via their screenpipe API.## search content```bash-curl -s "http://localhost:3030/search?q=QUERY&limit=20"+curl -s "http://TAILSCALE_IP:3030/search?q=QUERY&limit=20"```-## get recent activity+## filter by type```bash-curl -s "http://localhost:3030/search?limit=10&content_type=ocr"+# screen content+curl -s "http://TAILSCALE_IP:3030/search?q=QUERY&content_type=ocr"++# audio transcriptions+curl -s "http://TAILSCALE_IP:3030/search?q=QUERY&content_type=audio"+```++## filter by app++```bash+curl -s "http://TAILSCALE_IP:3030/search?q=QUERY&app_name=Chrome"```````-Restart OpenClaw to load the skill.+Replace `TAILSCALE_IP` with your actual Tailscale IP (e.g., `100.64.x.x`).++### option B: SSH tunnel++If you don't want to install Tailscale, forward screenpipe's port over SSH:++```bash+# run on your computer (where screenpipe runs)+ssh -R 3030:localhost:3030 user@openclaw-server+```++This makes screenpipe available at `localhost:3030` on your OpenClaw server. Then use the same skill as the "same machine" setup.++To keep the tunnel running permanently, use autossh:++```bash+autossh -M 0 -f -N -R 3030:localhost:3030 user@openclaw-server+```++### option C: Cloudflare Tunnel++[Cloudflare Tunnel](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/) exposes screenpipe behind a domain with Cloudflare's network.++```bash+# on your computer+cloudflared tunnel --url http://localhost:3030+```++Then point your OpenClaw skill at the tunnel URL.## example prompts@@ -103,6 +170,11 @@ Once configured, message OpenClaw from any chat app:- Test the server: `npx @modelcontextprotocol/inspector npx screenpipe-mcp`- Check screenpipe is running: `curl http://localhost:3030/health`+**remote machine can't reach screenpipe?**+- Check Tailscale is connected: `tailscale status`+- Check SSH tunnel is up: `curl http://localhost:3030/health` on the remote+- Make sure screenpipe is running on your computer+**no results from queries?**- Verify screenpipe is running: `curl http://localhost:3030/health`- Ensure screenpipe has screen recording permissions