# 匯出螢幕使用時間資料

每天一個 Markdown 檔案，macOS 約四週後刪除記錄時仍會保留。

[下載 Mac 版](https://apps.apple.com/us/app/exporter-notes-to-markdown/id6741618455?mt=12)

## 一天，變成一個檔案。

總計寫在 front matter 中。使用不到一分鐘的 App 不會列入表格。

`2026-09-01.md`

```markdown
---
title: "Screen Time 2026-09-01"
id: "2026-09-01"
created: 2026-09-01T00:00:00
modified: 2026-09-01T00:00:00
tags:
  - "screen-time"
total_screen_time: "3h 51m"
apps_used: 4
domains_visited: 2
---

## App Usage

| App | Duration | Sessions |
|-----|----------|----------|
| Xcode | 2h 4m | 6 |
| Safari | 1h 21m | 11 |
| Messages | 26m | 9 |

## Web Usage

| Domain | Duration | Visits |
|--------|----------|--------|
| developer.apple.com | 38m | 9 |
| github.com | 21m | 7 |

## Notifications

| App | Count |
|-----|-------|
| Messages | 23 |

## Screen Sessions

Total screen on time: 4h 45m

| Start | End | Duration |
|-------|-----|----------|
| 08:52:10 | 12:31:44 | 3h 39m |
| 14:05:02 | 15:10:30 | 1h 5m |
```

## 匯出的內容

每天一個以日期命名的檔案，另外還有一個持續更新的 `summary.md`。

- App 使用時間: 當天你使用一分鐘以上的每個 App，以及它的使用時間和使用次數。
- 網站: 每個網域的使用時間和造訪次數。
- 通知: 每個 App 傳給你多少則通知。
- 螢幕使用時段: 螢幕何時亮起、何時關閉，以及亮著的總時間。
- 摘要: `summary.md` 會統計最近一次同步讀取的那些日子（約最近四週）中最常用的 App 和每日總計。
- 超過四週仍保留: Exporter 從不刪除每日檔案，所以 macOS 捨棄舊的日子後，你的封存仍會持續累積。這個資料夾是那些日子唯一的副本：請備份它。

## 運作方式

1. 連接螢幕使用時間: 面板會在 macOS 存放螢幕使用時間的 Knowledge 資料夾中打開：按「選擇此資料夾」。然後選擇匯出資料夾。
2. 選擇日子: 在可依使用量最多排序的清單中勾選日子。
3. 自動同步: 按「立即同步」。之後每次同步都會加入自上次以來的日子。

運作方式: [螢幕使用時間 說明文件](https://exporter.dev/zh-hant/docs/screen-time) · 指南: [螢幕使用時間歷史紀錄](https://exporter.dev/zh-hant/guides/screen-time/keep-screen-time-history)

## 常見問題

### 可以把螢幕使用時間匯出成 CSV 嗎？

Apple 不提供：螢幕使用時間只在「系統設定」中顯示圖表。Exporter 的檔案是 Markdown 表格，總計寫在 YAML 中，腳本、Dataview 和試算表都能讀取。

### 哪些是免費的？

首次同步時你勾選的最新 10 天。它們會一直是免費的那十天，之後的日子需要解鎖，也就是 Exporter 內的一次性購買。

### 會上傳任何東西嗎？

不會。Exporter 在你的 Mac 上讀取螢幕使用時間並寫出檔案。沒有帳號，也沒有伺服器。

## 向 Claude 詢問你的日子

匯出的日子就是 Exporter 的本機 MCP 伺服器能列出和讀取的檔案。[設定方式](https://exporter.dev/docs/mcp)。

連接 Claude Code。 然後問：「刪掉新聞 App 之後，我的螢幕使用時間有什麼變化？」Claude 會讀取你匯出的每日檔案。

```sh
claude mcp add --transport http exporter http://localhost:8744/mcp
```

## Related

- [Screen Time history](https://exporter.dev/guides/screen-time/keep-screen-time-history): Every day kept as a file
- [MCP server](https://exporter.dev/docs/mcp): Connect Claude and other agents
- [CLI](https://exporter.dev/docs/cli): Every command, flag and exit code

---

human version: https://exporter.dev/zh-hant/screen-time
every page: https://exporter.dev/llms.txt
