본문으로 건너뛰기
Skillpedia
작업 및 프로젝트22k · #10143

screenpipe-api

하는 일

에이전트를 로컬 Screenpipe 서비스에 연결해, 화면에 나타났던 내용, 회의, 사용한 앱을 검색할 수 있게 합니다. 과거 작업을 떠올리거나 요약하고 싶은 사람을 위한 스킬입니다.

사용하는 경우

  • ✓오늘이나 이번 주 앞부분에 화면에서 본 것을 찾고 싶을 때.
  • ✓특정 기간에 참석한 회의나 사용한 앱의 요약이 필요할 때.
  • ✓Screenpipe와 동기화되는 다른 기기의 활동을 확인하고 싶을 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/screenpipe/screenpipe/blob/main/.claude/skills/screenpipe-api/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬