screenpipe-api
Fungsinya
Skill ini menghubungkan agent Anda ke layanan Screenpipe lokal, sehingga agent dapat mencari apa yang muncul di layar Anda, rapat Anda, dan aplikasi yang Anda pakai. Ditujukan untuk orang yang ingin mengingat atau merangkum pekerjaan mereka sebelumnya.
Kapan dipakai
- โSaat Anda ingin menemukan sesuatu yang pernah Anda lihat di layar beberapa waktu lalu dalam sehari atau seminggu.
- โKetika Anda ingin ringkasan rapat atau aplikasi yang dipakai selama suatu periode.
- โSaat Anda ingin memeriksa aktivitas dari perangkat lain yang disinkronkan dengan Screenpipe.
Link skill
https://github.com/screenpipe/screenpipe/blob/main/.claude/skills/screenpipe-api/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
โSaya sedang mengerjakan apa kemarin sore? Pakai riwayat Screenpipe saya untuk mencari tahu.โ
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill mengirim permintaan ke layanan lokal Screenpipe memakai kunci lokal Anda, menyimpan respons ke sebuah file, dan hanya membaca bagian yang menjawab pertanyaan Anda.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Screenpipe API
Local REST API at http://localhost:3030. Full reference (60+ endpoints): https://docs.screenpi.pe/llms-full.txt
Authentication
ALL requests require authentication. Add the auth header to every curl call:
curl -H "Authorization: Bearer $SCREENPIPE_LOCAL_API_KEY" \
-H "X-Screenpipe-Client: api" \
-H "X-Screenpipe-Agent: unknown" \
"http://localhost:3030/..."
The fixed X-Screenpipe-Client: api value attributes a successful, nonempty
external retrieval to the API surface. Never put an agent name, customer name,
project, prompt, or other dynamic value in this header.
Include both attribution headers above on REST retrievals. The installer sets
X-Screenpipe-Agent to a fixed app identifier; preserve that value. If this is
an unconfigured reference, leave it as unknown. Never substitute a project,
user, model, prompt, or other dynamic identifier.
The $SCREENPIPE_LOCAL_API_KEY env var is already set in your environment. Without it you get 403. The only exception is /health (no auth needed).
Context Window Protection
API responses can be large. Always write curl output to a file first (curl ... -o /tmp/sp_result.json), check size (wc -c /tmp/sp_result.json), and if over 5KB read only the first 50-100 lines. Extract what you need with jq. NEVER dump full large responses into context.
For the list endpoints (/search, /elements, /frames/{id}/elements) you can also cut tokens at the source: add &format=csv (or tsv) to get a columnar table that writes each column name once instead of repeating keys per row, and &fields=a,b,c to return only the columns you need (dotted paths like content.text). On a list of UI elements that is roughly a 70% token cut versus JSON. For the element endpoints specifically, &format=outline (alias tree) goes further still โ a deduped, indented tree of just the text-bearing nodes (~91% fewer tokens, measured) โ and is the best default for reading UI structure. Use &format=automation for automation planning: it retains interactive controls, state, bounds, allowed actions, short response-local refs, and best-effort stable keys. Text-heavy ocr/audio barely benefit from any reshaping (the text blob dominates), so reach for fields + max_content_length there. With no format/fields the response is unchanged JSON.
1. Search โ GET /search
curl -H "Authorization: Bearer $SCREENPIPE_LOCAL_API_KEY" \
-H "X-Screenpipe-Client: api" \
-H "X-Screenpipe-Agent: unknown" \
"http://localhost:3030/search?q=QUERY&content_type=all&limit=10&start_time=1h%20ago"
Parameters
| 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), accessibility, audio, input, ocr, memory, parsed. Use parsed for compact app-specific messages, emails, tasks, documents, and code review. Parsed capture is experimental, may be empty when disabled/unsupported, and is not included in all. Screen text is primarily captured via the OS accessibility tree (accessibility); OCR is a fallback for apps without accessibility support. |
limit |
integer | No | Max 1-20. Default: 10 |
offset |
integer | No | Pagination. Default: 0 |
start_time |
ISO 8601, relative, or local calendar | Yes | Accepts 2024-01-15T10:00:00Z, 16h ago, today, yesterday, or YYYY-MM-DD |
end_time |
Same as start_time |
No | Defaults to now |
app_name |
string | No | e.g. "Google Chrome", "Slack", "zoom.us" |
window_name |
string | No | Window title substring |
frame_id |
integer | No | With content_type=parsed, return parsed data attached to one frame. |
actor_id |
integer | No | With content_type=parsed, filter by a resolved actor identity. |
speaker_name |
string | No | Filter audio by speaker (case-insensitive partial) |
focused |
boolean | No | Only focused windows |
tags |
string | No | Comma-separated; return only items carrying ALL of them (e.g. person:ada,project:atlas). Works for screen/audio and, with content_type=memory, memories. See Tags below. |
include_related |
boolean | No | With tags, also return a related map of co-occurring tags (people/projects/workflows seen alongside yours), most-frequent first. One call for the surrounding context instea |
Pertanyaan umum
Apakah perlu kunci?
Ya. Layanan lokal memerlukan kunci, dan permintaan gagal tanpanya.
Apakah ia hanya mencari di komputer saya?
Ia melakukan kueri ke layanan Screenpipe yang berjalan di komputer Anda, dan dapat mencakup perangkat yang disinkronkan jika sudah diatur.
Bisakah ia mengekspor media?
Bisa. Ekspor media dan transkripsi ulang termasuk hal yang bisa dilakukannya.
Detail
Deskripsi asli dari pembuat
Query the user's local and synced-device Screenpipe data via the REST API at localhost:3030. Use for screen activity, meetings, apps, productivity, other-device or cross-device history, media export, retranscription, or connected services.
repo: screenpipe/screenpipe
Popularitas
- Bintang GitHub
- 22k
- Peringkat
- #10143
- Lisensi
- โ
- Diperbarui
- 2/11/2026
Komentar
- โฆ
Skill lain dari repositori ini
screenpipe-cli
22kMemungkinkan agent Anda menjalankan pipe dan koneksi Screenpipe dari terminal, seperti mengaktifkan, menjalankan, atau men-debug otomatisasi AI yang terjadwal.
screenpipe-health
22kMembantu agent Anda memeriksa apakah Screenpipe berjalan dan merekam dengan benar, lalu menunjukkan masalah umum seperti layanan yang berhenti atau pemakaian disk yang berat.
screenpipe-logs
22kMembantu agent Anda menemukan dan membaca log baris perintah serta aplikasi desktop Screenpipe, sehingga ia dapat menemukan error dan memahami apa yang terjadi pada waktu tertentu.
render-html-report
22kMembantu agent Anda mengubah ringkasan menjadi laporan HTML visual, dengan bagan atau dashboard, yang tampil sebagai halaman langsung di penampil Screenpipe.
Skill serupa
knowledge-capture
394kMengajari agent Anda menyimpan keputusan, preferensi, dan fakta penting ke Knowledge vault sebagai catatan singkat dengan atribusi sumber.
knowledge-claim-consolidation
394kMembantu agent Anda merapikan Knowledge vault dengan menggabungkan klaim duplikat, memindahkannya ke halaman subjek yang tepat, dan menonaktifkan klaim yang sudah usang.
knowledge-correct
394kMemungkinkan agent Anda memperbaiki atau menarik kembali klaim atau halaman Knowledge tertentu atas permintaan Anda, dengan menyimpan catatan perubahan.