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: document the screenpipe pipe CLI (npx/bunx) + recurring-automation path across pipes/second-brain/ai-memory/openclaw (#4295)

Louis Beaumontab33aeb66599
diff --git a/docs/mintlify/docs-mintlify-mig-tmp/ai-memory.mdx b/docs/mintlify/docs-mintlify-mig-tmp/ai-memory.mdx
index 6608441e6..025d04b96 100644
--- a/docs/mintlify/docs-mintlify-mig-tmp/ai-memory.mdx
+++ b/docs/mintlify/docs-mintlify-mig-tmp/ai-memory.mdx
@@ -36,7 +36,7 @@ see [MCP server setup](/mcp-server) for details.
### pipes (scheduled agents)
-[pipes](/pipes) are AI agents that run on a schedule and act on your screen data automatically — like syncing to Obsidian, tracking time in Toggl, or sending daily summaries.
+[pipes](/pipes) are AI agents that run on a schedule and act on your screen data automatically — like syncing to Obsidian, tracking time in Toggl, or sending daily summaries. spin one up from the CLI — `npx -y screenpipe@latest pipe install <url-or-path> && npx -y screenpipe@latest pipe enable <name>` (`bunx` / `bun x` work too) — or ask any connected agent to build one for you.
### direct API
diff --git a/docs/mintlify/docs-mintlify-mig-tmp/openclaw.mdx b/docs/mintlify/docs-mintlify-mig-tmp/openclaw.mdx
index cb3863919..3482bab5b 100644
--- a/docs/mintlify/docs-mintlify-mig-tmp/openclaw.mdx
+++ b/docs/mintlify/docs-mintlify-mig-tmp/openclaw.mdx
@@ -203,6 +203,8 @@ Once configured, message OpenClaw from any chat app:
the prompts above answer questions on demand. to have OpenClaw *proactively* segment your workflows, summarize your processes, and keep a living memory of you — like the [digital clone pipe](/pipe-store), but inside OpenClaw — paste the prompt from [build a second brain](/second-brain) into OpenClaw and let it run on a schedule.
+prefer to run it inside the screenpipe app instead of OpenClaw? do the same thing as a [pipe](/pipes) — `npx -y screenpipe@latest pipe install <path> && npx -y screenpipe@latest pipe enable <name>` (`bunx` works too).
+
## troubleshooting
**MCP not connecting?**
diff --git a/docs/mintlify/docs-mintlify-mig-tmp/pipes.mdx b/docs/mintlify/docs-mintlify-mig-tmp/pipes.mdx
index ae0c2f231..d63323fb4 100644
--- a/docs/mintlify/docs-mintlify-mig-tmp/pipes.mdx
+++ b/docs/mintlify/docs-mintlify-mig-tmp/pipes.mdx
@@ -190,13 +190,32 @@ Query screenpipe at http://localhost:3030/search using the time range from the c
Write the summary to ./output/<date>.md
EOF
-# then use the desktop app (settings → pipes) to install, enable, and test
-# or use the REST API:
-# curl -X POST http://localhost:3030/pipes/install -H "Content-Type: application/json" -d '{"source": "~/.screenpipe/pipes/my-pipe"}'
-# curl -X POST http://localhost:3030/pipes/my-pipe/enable -H "Content-Type: application/json" -d '{"enabled": true}'
-# curl -X POST http://localhost:3030/pipes/my-pipe/run
+# install + enable + test it from the CLI (no install needed — npx / bunx / bun x all work):
+npx -y screenpipe@latest pipe install ~/.screenpipe/pipes/my-pipe
+npx -y screenpipe@latest pipe enable my-pipe
+npx -y screenpipe@latest pipe run my-pipe # run once now to test
+#
+# (or use the desktop app: settings → pipes — or the REST API: POST /pipes/install, /pipes/my-pipe/run)
```
+## manage pipes from the CLI
+
+every pipe action is available from the CLI — no separate install. `npx -y screenpipe@latest`, `bunx screenpipe@latest`, and `bun x screenpipe@latest` are equivalent; use whichever the machine has.
+
+```bash
+npx -y screenpipe@latest pipe list # list all pipes
+npx -y screenpipe@latest pipe install <url-or-path> # install from a GitHub URL or a local folder
+npx -y screenpipe@latest pipe enable <name> # turn the schedule on
+npx -y screenpipe@latest pipe disable <name> # turn it off
+npx -y screenpipe@latest pipe run <name> # run once now (test before the schedule fires)
+npx -y screenpipe@latest pipe logs <name> # view execution logs
+npx -y screenpipe@latest pipe delete <name> # remove a pipe
+```
+
+<Tip>run CLI commands from a clean temp directory to avoid `node_modules` conflicts: `cd "$(mktemp -d)" && npx -y screenpipe@latest pipe list`.</Tip>
+
+this is how you turn a one-off into a recurring **cron** automation: write a `pipe.md` with a `schedule` (e.g. `0 9 * * *`), `install` then `enable` it, and screenpipe runs it on that cron. you can also hand these commands to any AI agent — e.g. *"create a screenpipe pipe that summarizes my day at 6pm"* — and let it scaffold, install, and enable the pipe for you.
+
## pipe.md format
every pipe.md starts with YAML frontmatter between `---` markers, followed by the prompt:
diff --git a/docs/mintlify/docs-mintlify-mig-tmp/second-brain.mdx b/docs/mintlify/docs-mintlify-mig-tmp/second-brain.mdx
index 9ed6b911c..0ee6d7b07 100644
--- a/docs/mintlify/docs-mintlify-mig-tmp/second-brain.mdx
+++ b/docs/mintlify/docs-mintlify-mig-tmp/second-brain.mdx
@@ -104,7 +104,8 @@ link related notes together.
## run on a schedule
set this to run automatically about once an hour using whatever scheduling you have
-(claude tasks, codex automations, openclaw/hermes automations, or a system cron job).
+(claude tasks, codex automations, openclaw/hermes automations, a system cron job, or a
+screenpipe pipe — `npx -y screenpipe@latest pipe install <path>` then `... pipe enable <name>`).
between runs, when i ask you anything, read now.md and the relevant project/person
files first so you already know what i was doing.
@@ -133,6 +134,7 @@ the prompt above tells the agent to schedule itself, but you control the cadence
- **OpenClaw / Hermes** — their built-in automations / scheduled tasks
- **Claude Code** — claude tasks
- **Codex** — codex automations
+- **screenpipe pipe** — run it inside screenpipe itself: save the prompt to `~/.screenpipe/pipes/second-brain/pipe.md` with a `schedule` (e.g. `0 * * * *`), then `npx -y screenpipe@latest pipe install ~/.screenpipe/pipes/second-brain && npx -y screenpipe@latest pipe enable second-brain` (`bunx` / `bun x` work too — see [pipes](/pipes))
- **anything else** — a plain `cron` / `launchd` / `systemd` timer that re-runs the prompt
hourly is a good default. lighter machines can run every few hours; use `activity-summary` first to keep token usage low.