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: clarify that accessibility is primary text source, OCR is fallback

Louis Beaumontccd1b2cf8109
diff --git a/apps/screenpipe-app-tauri/components/standalone-chat.tsx b/apps/screenpipe-app-tauri/components/standalone-chat.tsx
index 71d3facd1..4f90b9d26 100644
--- a/apps/screenpipe-app-tauri/components/standalone-chat.tsx
+++ b/apps/screenpipe-app-tauri/components/standalone-chat.tsx
@@ -141,7 +141,7 @@ VISUALIZATION:
When the user asks for diagrams, flowcharts, or visualizations, generate Mermaid diagrams using fenced code blocks with the "mermaid" language tag.
DEEP LINKS & MEDIA:
-- Frame (PREFERRED): [10:30 AM — Chrome](screenpipe://frame/12345) — use frame_id from OCR search results. NEVER invent frame IDs.
+- Frame (PREFERRED): [10:30 AM — Chrome](screenpipe://frame/12345) — use frame_id from screen text search results. NEVER invent frame IDs.
- Timeline (audio only): [meeting at 3pm](screenpipe://timeline?timestamp=2024-01-15T15:00:00Z) — use exact timestamp from audio search results.
- Video: show .mp4 paths in inline code: \`/path/to/video.mp4\`
NEVER fabricate frame IDs or timestamps — only use values from actual search results.
diff --git a/crates/screenpipe-core/assets/pipes/obsidian-sync/pipe.md b/crates/screenpipe-core/assets/pipes/obsidian-sync/pipe.md
index 8e84ff055..70a0c8dc8 100644
--- a/crates/screenpipe-core/assets/pipes/obsidian-sync/pipe.md
+++ b/crates/screenpipe-core/assets/pipes/obsidian-sync/pipe.md
@@ -12,26 +12,25 @@ Sync screenpipe activity to an Obsidian vault as a daily markdown log.
1. Fetch the Obsidian vault path from `GET http://localhost:3030/connections/obsidian` — the `vault_path` and `daily_note_folder` fields tell you where to write
2. Read the existing daily note file first (if it exists) — merge into it
3. Query the screenpipe search API for the time range in 30-minute chunks
-4. Use `min_length=50` to skip noisy/short OCR fragments
+4. Use `min_length=50` to skip noisy/short text fragments
5. Synthesize activities, extract action items, write the note to the vault
## Search API
```
-GET http://localhost:3030/search?content_type=ocr&start_time=<ISO8601>&end_time=<ISO8601>&limit=200&min_length=50
+GET http://localhost:3030/search?content_type=all&start_time=<ISO8601>&end_time=<ISO8601>&limit=200&min_length=50
```
-Content types: `ocr` (screen text), `audio` (speech), `input` (clicks/keystrokes/clipboard/app switches), `accessibility` (UI tree), `all`.
+Content types: `all` (default — screen text + audio + accessibility), `accessibility` (structured UI tree text — primary screen text source), `audio` (speech), `input` (clicks/keystrokes/clipboard/app switches), `ocr` (screenshot text — fallback for apps without accessibility support), `memory`.
Extra params: `q` (keyword), `app_name`, `speaker_name`, `offset` (pagination).
Full API reference (60+ endpoints): https://docs.screenpi.pe/llms-full.txt
Query each modality separately per chunk for richer results:
-1. `content_type=ocr&min_length=50` — what was on screen
+1. `content_type=all&min_length=50` — what was on screen (accessibility tree + OCR fallback)
2. `content_type=audio` — what was said
3. `content_type=input` — what was typed, clicked, copied
-4. `content_type=accessibility` — UI elements (buttons, labels, menus)
## Output Format
@@ -84,7 +83,7 @@ Brief 2-3 sentence summary of the day so far.
## Privacy
-- Never dump raw OCR — synthesize into activity descriptions
+- Never dump raw screen text — synthesize into activity descriptions
- Redact passwords, API keys, tokens, credentials
- Skip banking/financial/medical content — note as "private activity"
- Summarize conversations, don't paste full transcripts
diff --git a/crates/screenpipe-core/assets/skills/screenpipe-api/SKILL.md b/crates/screenpipe-core/assets/skills/screenpipe-api/SKILL.md
index 30bb7801e..dbc669cd9 100644
--- a/crates/screenpipe-core/assets/skills/screenpipe-api/SKILL.md
+++ b/crates/screenpipe-core/assets/skills/screenpipe-api/SKILL.md
@@ -24,7 +24,7 @@ curl "http://localhost:3030/search?q=QUERY&content_type=all&limit=10&start_time=
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `q` | string | No | Keywords. Do NOT use for audio searches — transcriptions are noisy, q filters too aggressively. |
-| `content_type` | string | No | `all` (default), `ocr`, `audio`, `input`, `accessibility`, `memory` |
+| `content_type` | string | No | `all` (default), `accessibility`, `audio`, `input`, `ocr`, `memory`. Screen text is primarily captured via the OS accessibility tree (`accessibility`); OCR is a fallback for apps without accessibility support (games, remote desktops). Use `all` unless you need a specific modality. |
| `limit` | integer | No | Max 1-20. Default: 10 |
| `offset` | integer | No | Pagination. Default: 0 |
| `start_time` | ISO 8601 or relative | **Yes** | Accepts `2024-01-15T10:00:00Z` or `16h ago`, `2d ago`, `30m ago` |
@@ -48,7 +48,7 @@ Don't jump to heavy `/search` calls. Escalate:
Decision tree:
- "What was I doing?" → Step 1 only
-- "Summarize my meeting" → Step 2 with `content_type=audio`, NO q param
+- "Summarize my meeting" → Step 2 with `content_type=audio`, NO q param. Add `content_type=all` for screen context.
- "How long on X?" → Step 1 (`/activity-summary` has `active_minutes`)
- "Which apps today?" → Step 1 (do NOT use frame counts or SQL)
- "What button did I click?" → Step 3 (`/elements` with role=AXButton)
@@ -76,6 +76,8 @@ Decision tree:
}
```
+> **Note**: The `"OCR"` type label is used for all screen text results, including text captured via the accessibility tree. Most screen text comes from accessibility, not OCR.
+
---
## 2. Activity Summary — `GET /activity-summary`
@@ -125,7 +127,7 @@ Roles are **not normalized** across platforms. Use the correct format for the us
| Tab | `AXTab` | `TabItem` | `Tab` |
| List item | `AXRow` | `ListItem` | `ListItem` |
-OCR roles (all platforms): `line`, `word`, `block`, `paragraph`, `page`
+OCR-only roles (fallback when accessibility unavailable): `line`, `word`, `block`, `paragraph`, `page`
---
@@ -381,7 +383,7 @@ curl http://localhost:3030/vision/list # Monitors
Reference specific moments with clickable links:
```markdown
-[10:30 AM — Chrome](screenpipe://frame/12345) # OCR results (use frame_id)
+[10:30 AM — Chrome](screenpipe://frame/12345) # screen text results (use frame_id)
[meeting at 3pm](screenpipe://timeline?timestamp=ISO8601) # Audio results (use timestamp)
```