screenpipe-api
यह क्या करती है
यह आपके एजेंट को स्थानीय Screenpipe सेवा से जोड़ती है, ताकि वह खोज सके कि आपकी स्क्रीन पर क्या आया, आपकी मीटिंग में क्या हुआ और आपने कौन से ऐप इस्तेमाल किए। यह उन लोगों के लिए है जो अपने पिछले काम को याद करना या उसका सारांश चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप दिन या हफ़्ते की शुरुआत में स्क्रीन पर देखी कोई चीज़ ढूँढना चाहें।
- ✓जब आप किसी अवधि में हुई मीटिंग या इस्तेमाल किए ऐप्स का सारांश चाहें।
- ✓जब आप किसी दूसरे डिवाइस की गतिविधि देखना चाहें जिसके साथ Screenpipe सिंक होता है।
Skill का लिंक
https://github.com/screenpipe/screenpipe/blob/main/.claude/skills/screenpipe-api/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“कल दोपहर मैं किस काम पर था? मेरे Screenpipe इतिहास से पता कीजिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह आपकी स्थानीय कुंजी के साथ अनुरोध Screenpipe की स्थानीय सेवा को भेजती है, जवाब को फ़ाइल में सेव करती है, और सिर्फ़ वही हिस्से पढ़ती है जो आपके सवाल का जवाब देते हैं।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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 |
अक्सर पूछे जाने वाले सवाल
क्या इसके लिए कुंजी चाहिए?
हाँ। स्थानीय सेवा को कुंजी चाहिए, और उसके बिना अनुरोध विफल होते हैं।
क्या यह सिर्फ़ मेरे कंप्यूटर में खोजती है?
यह आपके कंप्यूटर पर चल रही Screenpipe सेवा से पूछती है, और सेट होने पर सिंक किए गए डिवाइस भी शामिल कर सकती है।
क्या यह मीडिया एक्सपोर्ट कर सकती है?
हाँ। मीडिया एक्सपोर्ट और दोबारा ट्रांसक्रिप्शन उन कामों में शामिल हैं जो यह कर सकती है।
जानकारी
लेखक का मूल विवरण
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
लोकप्रियता
- GitHub स्टार
- 22k
- रैंकिंग में स्थान
- #10143
- लाइसेंस
- —
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
screenpipe-cli
22kयह आपके एजेंट को टर्मिनल से Screenpipe pipes और कनेक्शन चलाने देती है, जैसे शेड्यूल्ड AI ऑटोमेशन चालू करना, चलाना या उनमें गड़बड़ी ढूँढना।
screenpipe-health
22kयह आपके एजेंट को जाँचने देती है कि Screenpipe चल रहा है और ठीक से रिकॉर्ड कर रहा है, फिर आम समस्याएँ जैसे रुकी हुई सेवा या ज़्यादा डिस्क उपयोग बताती है।
screenpipe-logs
22kयह आपके एजेंट को Screenpipe के कमांड-लाइन और डेस्कटॉप ऐप के लॉग ढूँढने और पढ़ने में मदद करती है, ताकि वह गड़बड़ियाँ पहचान सके और किसी समय पर क्या हुआ यह समझ सके।
render-html-report
22kयह आपके एजेंट को सारांश को एक विज़ुअल HTML रिपोर्ट में बदलने में मदद करती है, चार्ट या डैशबोर्ड के साथ, जो Screenpipe व्यूअर में लाइव पेज की तरह दिखती है।
मिलती-जुलती skills
knowledge-capture
394kयह आपके एजेंट को ज़रूरी फ़ैसले, पसंद और मुख्य तथ्य स्रोत के उल्लेख के साथ Knowledge vault में छोटे नोट्स के रूप में सेव करना सिखाती है।
knowledge-claim-consolidation
394kयह आपके एजेंट को डुप्लिकेट claims मिलाकर, उन्हें सही विषय पेज पर ले जाकर और पुराने claims हटाकर Knowledge vault को व्यवस्थित करने देती है।
knowledge-correct
394kयह आपके एजेंट को आपके कहने पर सेव किए गए Knowledge claim या पेज को सुधारने या वापस लेने देती है, और बदलाव का रिकॉर्ड रखती है।