screenpipe-health
Skill này làm gì
Skill này kiểm tra xem Screenpipe có đang chạy không, việc ghi hình có hoạt động không, và dữ liệu của nó chiếm bao nhiêu dung lượng. Dành cho người nghĩ Screenpipe đã dừng hoặc đang dùng quá nhiều dung lượng.
Khi nào nên dùng
- ✓Khi Screenpipe có vẻ đã ngừng ghi hình và bạn muốn biết vì sao.
- ✓Khi Screenpipe đang dùng nhiều dung lượng đĩa hoặc bộ nhớ.
- ✓Khi bạn muốn kiểm tra sức khỏe nhanh trước khi báo cáo một vấn đề.
Liên kết skill
https://github.com/screenpipe/screenpipe/blob/main/.claude/skills/screenpipe-health/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Screenpipe hiện có đang chạy và ghi hình đúng cách không? Kiểm tra mọi vấn đề giúp tôi.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill kiểm tra các tiến trình đang chạy, hỏi endpoint sức khỏe cục bộ của Screenpipe về trạng thái ghi hình, đo dung lượng thư mục dữ liệu và quét log gần đây tìm lỗi.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Screenpipe Health Agent
You are a specialized agent for checking Screenpipe's health status and diagnosing issues.
Quick Health Check
1. Check if Screenpipe is Running
# Check for screenpipe processes
pgrep -fl screenpipe
# Check if API is responding
curl -s http://localhost:3030/health | head -100
2. Check Recording Status
# Get health with recording info
curl -s http://localhost:3030/health | jq '.frame_status, .audio_status' 2>/dev/null || curl -s http://localhost:3030/health
3. Check Disk Usage
# Screenpipe data directory size
du -sh ~/.screenpipe/
# Database size
ls -lh ~/.screenpipe/db.sqlite* 2>/dev/null
# Video/audio cache
du -sh ~/.screenpipe/data/ 2>/dev/null
4. Check Recent Logs for Errors
# Last 10 errors from today
grep -i "error" ~/.screenpipe/screenpipe.$(date +%Y-%m-%d).log 2>/dev/null | tail -10
Detailed Diagnostics
Process Information
# Detailed process info
ps aux | grep -i screenpipe | grep -v grep
# Memory usage
ps aux | grep -i screenpipe | grep -v grep | awk '{sum+=$6} END {print "Total Memory: " sum/1024 " MB"}'
# Check if app or CLI
pgrep -fl "screenpipe-app" && echo "Desktop app running"
pgrep -fl "screenpipe$" && echo "CLI running"
API Endpoints Check
# Health endpoint (includes vision + audio pipeline stats)
curl -s http://localhost:3030/health
# Search endpoint (test query)
curl -s "http://localhost:3030/search?limit=1" | head -50
# List audio devices
curl -s http://localhost:3030/audio/list
# List monitors
curl -s http://localhost:3030/vision/list
# Vision pipeline metrics (raw counters)
curl -s http://localhost:3030/vision/metrics
# Audio pipeline metrics (raw counters)
curl -s http://localhost:3030/audio/metrics
Audio Pipeline Diagnostics
# Quick audio pipeline health — is transcription actually working?
curl -s http://localhost:3030/audio/metrics | python3 -c "
import sys,json
m = json.load(sys.stdin)
total_vad = m['vad_passed'] + m['vad_rejected']
print(f'Uptime: {m[\"uptime_secs\"]/60:.0f} min')
print(f'Chunks sent to engine: {m[\"chunks_sent\"]}')
print(f' Channel full drops: {m[\"chunks_channel_full\"]}')
print(f' Stream timeouts: {m[\"stream_timeouts\"]}')
print(f'VAD passed/rejected: {m[\"vad_passed\"]}/{m[\"vad_rejected\"]} ({m[\"vad_passthrough_rate\"]*100:.0f}% passthrough)')
print(f' Avg speech ratio: {m[\"avg_speech_ratio\"]:.3f}')
print(f'Transcriptions: {m[\"transcriptions_completed\"]} ok, {m[\"transcriptions_empty\"]} empty, {m[\"transcription_errors\"]} errors')
print(f'DB inserted: {m[\"db_inserted\"]} ({m[\"total_words\"]} words, {m[\"words_per_minute\"]:.0f} wpm)')
print()
if m['chunks_channel_full'] > 0: print('⚠️ Channel full — transcription engine too slow, audio being dropped')
if total_vad > 0 and m['vad_passthrough_rate'] < 0.1: print('⚠️ Very low VAD passthrough — may be dropping real speech')
if m['transcription_errors'] > 0: print('⚠️ Transcription errors detected')
if m['chunks_sent'] > 0 and m['db_inserted'] == 0: print('🔴 Chunks sent but nothing stored — pipeline is broken')
if m['chunks_sent'] == 0 and m['uptime_secs'] > 120: print('🔴 No chunks sent after 2min — audio capture not working')
"
# Audio pipeline info from /health (summary view)
curl -s http://localhost:3030/health | python3 -c "
import sys,json
h = json.load(sys.stdin)
print(f'Audio status: {h[\"audio_status\"]}')
if 'audio_pipeline' in h and h['audio_pipeline']:
p = h['audio_pipeline']
print(f' VAD passthrough: {p[\"vad_passthrough_rate\"]*100:.0f}%')
print(f' Words/min: {p[\"words_per_minute\"]:.0f}')
print(f' DB inserted: {p[\"db_inserted\"]}')
"
Database Health
# Check database integrity
sqlite3 ~/.screenpipe/db.sqlite "PRAGMA integrity_check;" 2>/dev/null
# Database size and tables
sqlite3 ~/.screenpipe/db.sqlite "SELECT name, (SELECT COUNT(*) FROM main WHERE name=t.name) FROM sqlite_master t WHERE type='table';" 2>/dev/null
# Recent frame count
sqlite3 ~/.screenpipe/db.sqlite "SELECT COUNT(*) as frames_today FROM frames WHERE timestamp > datetime('now', '-1 day');" 2>/dev/null
Permissions Check (macOS)
# Check screen recording permission
sqlite3 ~/Library/Application\ Support/com.apple.TCC/TCC.db "SELECT client,allowed FROM access WHERE service='kTCCServiceScreenCapture';" 2>/dev/null | grep -i screenpipe
# Check microphone permission
sqlite3 ~/Librar
Câu hỏi thường gặp
Nó có thay đổi cài đặt nào không?
Không. Nó chỉ kiểm tra trạng thái, dung lượng và log.
Nó có xem nội dung bản ghi của tôi không?
Các kiểm tra của nó tập trung vào trạng thái, dung lượng và log, chứ không phải nội dung các bản ghi.
Nó đọc những log nào?
Nó đọc các log Screenpipe gần đây được lưu trong thư mục .screenpipe của bạn.
Chi tiết
Mô tả gốc của tác giả
Check Screenpipe health status, process state, and diagnose common issues
repo: screenpipe/screenpipe
Độ phổ biến
- Sao GitHub
- 22k
- Vị trí xếp hạng
- #10145
- Giấy phép
- —
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
screenpipe-api
22kCho phép agent của bạn xem lịch sử màn hình, âm thanh và cuộc họp do Screenpipe lưu trên máy để trả lời về công việc đã làm.
screenpipe-cli
22kCho phép agent của bạn chạy các pipe và kết nối của Screenpipe từ terminal, như bật, chạy hoặc gỡ lỗi các tự động hóa AI theo lịch.
screenpipe-logs
22kGiúp agent của bạn tìm và đọc log dòng lệnh cùng log ứng dụng desktop của Screenpipe, để nó phát hiện lỗi và hiểu chuyện gì đã xảy ra vào một thời điểm nhất định.
render-html-report
22kGiúp agent của bạn biến bản tóm tắt thành báo cáo HTML trực quan có biểu đồ hoặc dashboard, hiển thị trong trình xem Screenpipe.
Skill tương tự
openclaw-update
394kGiúp agent của bạn cập nhật OpenClaw Gateway đang có, chọn cách cập nhật phù hợp với cách cài đặt và giữ phiên làm việc của bạn hoạt động.
diagnose-gateway
394kGiúp agent của bạn tìm hiểu vì sao OpenClaw Gateway bị lỗi bằng cách kiểm tra cài đặt, kênh và cổng mà không thay đổi gì.
crabbox-apps
394kGiúp agent của bạn mở và chạy một app trên máy đám mây tạm thời, rồi hiển thị giao diện của nó trong thanh bên của chat.