screenpipe-api
하는 일
에이전트를 로컬 Screenpipe 서비스에 연결해, 화면에 나타났던 내용, 회의, 사용한 앱을 검색할 수 있게 합니다. 과거 작업을 떠올리거나 요약하고 싶은 사람을 위한 스킬입니다.
사용하는 경우
- ✓오늘이나 이번 주 앞부분에 화면에서 본 것을 찾고 싶을 때.
- ✓특정 기간에 참석한 회의나 사용한 앱의 요약이 필요할 때.
- ✓Screenpipe와 동기화되는 다른 기기의 활동을 확인하고 싶을 때.
스킬 링크
https://github.com/screenpipe/screenpipe/blob/main/.claude/skills/screenpipe-api/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“어제 오후에 무엇을 하고 있었나요? 제 Screenpipe 기록을 사용해서 찾아 주세요.”
매주 새 스킬 5개. 읽는 데 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
- 라이선스
- —
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
screenpipe-cli
22k에이전트가 터미널에서 Screenpipe 파이프와 연결을 실행하도록 돕습니다. 예약된 AI 자동화를 켜고, 실행하고, 디버그합니다.
screenpipe-health
22k에이전트가 Screenpipe가 제대로 실행되고 녹화하는지 확인하고, 서비스 중지나 과도한 디스크 사용 같은 흔한 문제를 짚어 주도록 돕습니다.
screenpipe-logs
22k에이전트가 Screenpipe의 명령줄 및 데스크톱 앱 로그를 찾아 읽고, 오류를 발견하며, 특정 시각에 무슨 일이 있었는지 알아내도록 돕습니다.
render-html-report
22k에이전트가 요약을 차트나 대시보드가 들어간 시각적 HTML 보고서로 바꿔, Screenpipe 뷰어에서 라이브 페이지로 보이게 합니다.
비슷한 스킬
knowledge-capture
394k에이전트가 결정, 선호, 핵심 사실을 출처 표시와 함께 짧은 메모로 Knowledge 볼트에 저장하도록 가르칩니다.
knowledge-claim-consolidation
394k에이전트가 중복 주장을 합치고, 올바른 주제 페이지로 옮기고, 오래된 주장을 폐기해 Knowledge 볼트를 정리하도록 돕습니다.
knowledge-correct
394k에이전트가 요청에 따라 특정 Knowledge 주장이나 페이지를 고치거나 철회하고, 무엇이 바뀌었는지 기록을 남기도록 돕습니다.