Skip to content

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

docs: update moltbot docs with @screenpipe/sync and @screenpipe/skills

Louis Beaumont08cef6c3becf
diff --git a/content/docs-mintlify-mig-tmp/moltbot.mdx b/content/docs-mintlify-mig-tmp/moltbot.mdx
index 26de6beca..412003dea 100644
--- a/content/docs-mintlify-mig-tmp/moltbot.mdx
+++ b/content/docs-mintlify-mig-tmp/moltbot.mdx
@@ -9,77 +9,129 @@ icon: "robot"
with screenpipe, Moltbot can recall what you've seen on screen, reference past conversations, and answer questions about your digital history.
+## quick start (one-liners)
+
+```bash
+# 1. sync your screen data to moltbot (runs permanently, survives reboot)
+bunx @screenpipe/sync --daemon --remote user@your-server:~/.screenpipe/
+
+# 2. install screenpipe skills
+bunx @screenpipe/skills install --remote user@your-server
+
+# 3. done! ask moltbot: "what was I working on yesterday?"
+```
+
## setup options
-### option 1: custom skill (recommended)
+### option 1: auto-sync + skills (recommended)
+
+the easiest way to connect screenpipe to moltbot. your screen history syncs automatically, and pre-built skills let moltbot query it.
+
+**step 1: sync your data**
+
+```bash
+# one-time setup - syncs ~/.screenpipe/db.sqlite to your server every hour
+bunx @screenpipe/sync --daemon --remote user@moltbot-server:~/.screenpipe/
+
+# check daemon status
+launchctl list | grep screenpipe # macos
+systemctl --user status screenpipe-sync # linux
+
+# stop daemon
+bunx @screenpipe/sync --stop
+```
+
+**step 2: install skills**
+
+```bash
+bunx @screenpipe/skills install --remote user@moltbot-server
+
+# skills installed:
+# - recall: "what was I doing at 3pm?"
+# - search: "find when I saw error 404"
+# - digest: "summarize my work today"
+# - context: "context for the auth refactor"
+```
+
+**step 3: query via chat**
+
+message moltbot from any chat app:
+- "what was I reading about yesterday afternoon?"
+- "find the slack message from john about the deployment"
+- "summarize my meetings from last week"
+
+### option 2: custom skill (manual)
-Moltbot uses [Agent Skills](https://opencode.ai/docs/skills) - the same open standard as Claude Code and OpenCode. create a skill that queries screenpipe's REST API.
+if you prefer manual setup, create a skill that queries screenpipe's SQLite database directly.
-1. create `~/.moltbot/skills/screenpipe/SKILL.md`:
+1. create `~/clawd/skills/screenpipe/skill.md`:
```markdown
---
name: screenpipe
-description: Search screen recordings, audio transcriptions, and UI elements from the user's computer
+description: Search screen recordings and audio transcriptions from the user's computer
tools:
- Bash
---
# screenpipe skill
-query the user's screen and audio history via the screenpipe API at http://localhost:3030.
+query the user's screen history via SQLite at ~/.screenpipe/db.sqlite.
## search content
```bash
-# search all content (OCR, audio, UI)
-curl -s "http://localhost:3030/search?q=QUERY&limit=20"
-
-# filter by type: ocr, audio, ui
-curl -s "http://localhost:3030/search?q=QUERY&content_type=ocr"
-
-# filter by app
-curl -s "http://localhost:3030/search?q=QUERY&app_name=Chrome"
-
-# filter by time (ISO 8601 UTC)
-curl -s "http://localhost:3030/search?start_time=2026-01-01T00:00:00Z&end_time=2026-01-02T00:00:00Z"
+# full-text search
+sqlite3 ~/.screenpipe/db.sqlite "
+ SELECT f.timestamp, o.app_name, substr(o.text, 1, 200)
+ FROM ocr_text o
+ JOIN frames f ON o.frame_id = f.id
+ WHERE o.text LIKE '%QUERY%'
+ ORDER BY f.timestamp DESC
+ LIMIT 20;
+"
+
+# app usage today
+sqlite3 ~/.screenpipe/db.sqlite "
+ SELECT o.app_name, COUNT(*) as frames
+ FROM ocr_text o
+ JOIN frames f ON o.frame_id = f.id
+ WHERE date(f.timestamp) = date('now')
+ GROUP BY o.app_name
+ ORDER BY frames DESC;
+"
+```
```
-## health check
+2. restart Moltbot to load the skill
-```bash
-curl -s http://localhost:3030/health
-```
+### option 3: REST API (requires tunnel)
-## common queries
+if moltbot runs on the same machine as screenpipe, query the REST API directly:
-- "what was I working on?" → search recent OCR, group by app
-- "find mentions of X" → full-text search all content types
-- "meeting notes about Y" → search audio transcriptions
-- "code I was looking at" → search OCR filtered by IDE apps
+```bash
+# search content
+curl -s "http://localhost:3030/search?q=QUERY&limit=20"
-## response format
+# filter by type: ocr, audio, ui
+curl -s "http://localhost:3030/search?q=QUERY&content_type=ocr"
-1. summarize what was found (count, time range)
-2. present the most relevant results with timestamps
-3. include app context for each result
+# filter by app
+curl -s "http://localhost:3030/search?q=QUERY&app_name=Chrome"
```
-2. restart Moltbot to load the skill
-
-### option 2: mcporter (MCP)
+for remote setups, use a secure tunnel (tailscale, cloudflare tunnel).
-if you prefer using MCP, Moltbot supports it via the mcporter skill:
+### option 4: MCP
-1. ensure mcporter skill is installed
-2. configure screenpipe-mcp:
+Moltbot supports MCP via the mcporter skill:
```bash
# test the MCP server
npx @modelcontextprotocol/inspector npx screenpipe-mcp
```
-3. add to your Moltbot MCP config:
+add to your Moltbot MCP config:
```json
{
@@ -103,25 +155,33 @@ once configured, message Moltbot from any chat app:
- "what code was I looking at in cursor this morning?"
- "summarize my meetings from last week"
- "what tabs did I have open when researching that bug?"
+- "when did I last see the budget spreadsheet?"
## requirements
-- screenpipe must be running on the same machine as Moltbot
-- screenpipe API accessible at http://localhost:3030
-- for remote setups, configure a secure tunnel (e.g., tailscale, cloudflare tunnel)
+- screenpipe running locally on your computer
+- SSH access to your Moltbot server (for sync)
+- or: screenpipe + Moltbot on same machine (for REST API)
## troubleshooting
-**skill not loading?**
-- check `~/.moltbot/skills/screenpipe/SKILL.md` exists
-- verify yaml frontmatter is valid
-- restart Moltbot
+**sync not working?**
+- check SSH access: `ssh user@moltbot-server "echo ok"`
+- check daemon: `launchctl list | grep screenpipe`
+- check logs: `tail /tmp/screenpipe-sync.log`
+
+**skills not loading?**
+- check files exist: `ssh server "ls ~/clawd/skills/screenpipe/"`
+- restart moltbot to reload skills
**no results from queries?**
-- verify screenpipe is running: `curl http://localhost:3030/health`
-- check screenpipe has recorded data: `curl "http://localhost:3030/search?limit=1"`
+- verify screenpipe is running locally: `curl http://localhost:3030/health`
+- check data exists: `sqlite3 ~/.screenpipe/db.sqlite "SELECT COUNT(*) FROM ocr_text;"`
- ensure screenpipe has screen recording permissions
-**Moltbot can't reach screenpipe?**
-- both must run on same machine, or use a tunnel
-- check firewall isn't blocking localhost:3030
+## packages
+
+| Package | Description |
+|---------|-------------|
+| [@screenpipe/sync](https://www.npmjs.com/package/@screenpipe/sync) | Sync screen data to remote servers |
+| [@screenpipe/skills](https://www.npmjs.com/package/@screenpipe/skills) | Pre-built skills for AI agents |