Aller au contenu
Skillpedia
Tâches et projets22k · #10143

screenpipe-api

Ce qu’il fait

Il relie votre agent au service local Screenpipe, pour qu'il puisse rechercher ce qui est apparu à l'écran, vos réunions et les applications utilisées. Il s'adresse aux personnes qui veulent retrouver ou résumer leur travail passé.

Quand l’utiliser

  • ✓Quand vous voulez retrouver quelque chose vu à l'écran plus tôt dans la journée ou la semaine.
  • ✓Quand vous voulez un résumé des réunions ou des applications utilisées pendant une période.
  • ✓Quand vous voulez vérifier l'activité d'un autre appareil synchronisé avec Screenpipe.

Lien du skill

https://github.com/screenpipe/screenpipe/blob/main/.claude/skills/screenpipe-api/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/screenpipe/screenpipe/blob/main/.claude/skills/screenpipe-api/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Qu'est-ce que je faisais hier après-midi ? Utilise mon historique Screenpipe pour le savoir.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

Il envoie la demande au service local de Screenpipe avec votre clé locale, enregistre la réponse dans un fichier et ne lit que les parties qui répondent à votre question.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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
Questions fréquentes

Faut-il une clé ?

Oui. Le service local exige une clé, et les requêtes échouent sans elle.

Ne recherche-t-il que sur mon ordinateur ?

Il interroge le service Screenpipe qui tourne sur votre ordinateur, et il peut aussi couvrir les appareils synchronisés une fois configurés.

Peut-il exporter des médias ?

Oui. L'export de médias et la retranscription font partie de ses fonctions.

Détails

Description originale de l’auteur

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

Popularité

Étoiles GitHub
22k
Position au classement
#10143
Licence
—
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires