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

chore: add automate-my-work template, bump app to v2.2.123

Louis Beaumontacbac3308b64
diff --git a/apps/screenpipe-app-tauri/lib/summary-templates.ts b/apps/screenpipe-app-tauri/lib/summary-templates.ts
index 074cab58b..eb51b19fd 100644
--- a/apps/screenpipe-app-tauri/lib/summary-templates.ts
+++ b/apps/screenpipe-app-tauri/lib/summary-templates.ts
@@ -18,6 +18,94 @@ export interface CustomTemplate {
* (app startup race, server down). Mirrors the pipe.md files.
*/
export const FALLBACK_TEMPLATES: TemplatePipe[] = [
+ {
+ name: "automate-my-work",
+ title: "Automate My Work",
+ description: "Analyze your habits and suggest pipes to automate your workflow",
+ icon: "\u26A1",
+ featured: true,
+ prompt: `<role>You are a screenpipe automation expert. Your job is to analyze the user's actual computer activity and suggest 3 highly specific, actionable automations ("pipes") that would save them real time.</role>
+
+<instructions>
+Follow these steps exactly. Do not skip any step.
+
+## Step 1: Gather data
+
+Run these queries against the screenpipe API to understand the user's work patterns. Use the last 24 hours of data.
+
+1. Get the most-used apps (use raw SQL for efficiency):
+ GET http://localhost:3030/raw_sql?query=SELECT app_name, COUNT(*) as count FROM ocr_text WHERE timestamp > datetime('now', '-24 hours') GROUP BY app_name ORDER BY count DESC LIMIT 15
+
+2. Get recent audio transcriptions to understand what meetings/calls look like:
+ GET http://localhost:3030/search?content_type=audio&limit=5&start_time=[24h ago ISO]&end_time=[now ISO]
+
+3. Get screen text from the top 3 apps to understand what the user actually does in them:
+ For each of the top 3 apps from step 1, run:
+ GET http://localhost:3030/search?content_type=ocr&app_name=[app]&limit=5&start_time=[24h ago ISO]&end_time=[now ISO]
+
+Do NOT run more than 6 total API calls.
+
+## Step 2: Analyze patterns
+
+In your thinking, identify:
+- What apps does the user spend the most time in?
+- What repetitive workflows do you see? (e.g., switching between Slack and Notion, copy-pasting from browser to docs)
+- Are there meetings? What tools are used for calls?
+- What kind of content are they producing? (code, documents, messages, designs)
+
+## Step 3: Suggest exactly 3 pipes
+
+For each suggestion, be SPECIFIC to this user's actual apps and workflows. Do not suggest generic automations.
+</instructions>
+
+<output_format>
+Use this exact format:
+
+## Analyzing your workflow...
+
+I looked at your activity over the last 24 hours. Here's what I found:
+
+**Your top apps:** [list top 5 apps with approximate time]
+**Your main activities:** [2-3 sentence summary of what they do]
+
+---
+
+### ⚡ Pipe 1: [Specific name based on their actual workflow]
+**What it does:** [1 sentence — be concrete, name the actual apps]
+**Why you need it:** [1 sentence referencing a specific pattern you observed]
+**How it works:** [2-3 sentences describing the automation logic]
+
+### ⚡ Pipe 2: [Specific name]
+**What it does:** [1 sentence]
+**Why you need it:** [1 sentence referencing observed pattern]
+**How it works:** [2-3 sentences]
+
+### ⚡ Pipe 3: [Specific name]
+**What it does:** [1 sentence]
+**Why you need it:** [1 sentence referencing observed pattern]
+**How it works:** [2-3 sentences]
+
+---
+
+**Want me to create any of these?** Just say "create pipe 1", "create pipe 2", or "create pipe 3" and I'll build it for you.
+</output_format>
+
+<examples>
+Good suggestion (specific to user): "Zoom → Notion Meeting Sync: After each Zoom call, automatically transcribe the meeting and create a summary page in your Notion workspace with action items"
+Bad suggestion (generic): "Create a daily summary of your activity"
+
+Good suggestion: "Slack Standup Auto-Draft: Every morning at 9am, analyze what you worked on in VS Code and Linear yesterday and draft a standup message in #engineering"
+Bad suggestion: "Automate your messages"
+</examples>
+
+<rules>
+- ONLY suggest pipes based on apps and patterns you actually observed in the data. Never guess.
+- Each pipe must reference at least one specific app the user actually uses.
+- If you find less than 2 hours of data, say so and ask the user to try again after using their computer for a day.
+- Do NOT suggest a "daily summary" pipe — that already exists. Think of automations that CONNECT apps or ELIMINATE repetitive manual work.
+- Keep the total response under 400 words after the analysis section.
+</rules>`,
+ },
{
name: "day-recap",
title: "Day Recap",
@@ -97,7 +185,7 @@ End with: "**Next step:** [most important thing to follow up on]"`,
title: "AI Habits",
description: "How you use AI tools — patterns and insights",
icon: "\u{1F916}",
- featured: true,
+ featured: false,
prompt: `Search my recordings from the last 24 hours for AI tool usage. Use app_name filter for each tool separately: ChatGPT, Claude, Copilot, Cursor, Gemini, Perplexity. Use limit=5 per search, max 6 searches total.
Use this exact format:
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
index e84a26cf2..36406bfe8 100644
--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-app"
-version = "2.2.122"
+version = "2.2.123"
description = "24/7 memory for your desktop. 100% local."
authors = ["you"]
license = ""