Skip to content

Commit f11ace6

Browse files
committed
simplify catch-up workflow using isRead field
1 parent f29a29c commit f11ace6

1 file changed

Lines changed: 7 additions & 16 deletions

File tree

skills/workflows/catch-up.md

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Use this skill to process a backlog of new podcast episodes in one pass. It comb
66

77
1. Verify that `podwise` is installed and configured.
88
2. Load `taste.md` if it exists, to personalize triage priority.
9-
3. Fetch new episodes from followed podcasts for the requested time window.
9+
3. Fetch unlistened episodes from followed podcasts for the past 7 days.
1010
4. Triage each episode: assign a priority tier based on the user's interests.
1111
5. For Tier 1 episodes, fetch AI summaries and highlights automatically.
1212
6. For Tier 2 and Tier 3 episodes, show just enough to let the user decide.
@@ -31,26 +31,17 @@ Look for `taste.md` in the current working directory.
3131
## Step 3: Fetch New Episodes
3232

3333
```bash
34-
# Recent episodes from followed podcasts (candidate pool)
35-
podwise list episodes --json --latest 14
36-
37-
# Episodes the user has already listened to (for exclusion)
38-
podwise history listened --json --limit 100
39-
40-
# User's subscription list (proxy: podcasts with updates in last 90 days)
41-
podwise list podcasts --json --latest 30
34+
# Recent episodes from followed podcasts
35+
podwise list episodes --json --latest 7
4236
```
4337

44-
Parse each entry for: podcast name, episode title, publication date, episode URL, and any available duration or category metadata.
38+
Parse each entry for: podcast name, episode title, publication date, episode URL, isRead status, and any available duration or category metadata.
4539

4640
**Filtering logic:**
4741

48-
1. From `list episodes`, exclude any episode that appears in **either** `history listened` **or** `history read`.
49-
2. From the remaining episodes, exclude any episode whose show does not appear in `list podcasts --latest 90` — these are shows the user does not follow.
50-
3. The remaining episodes are the user's backlog — sort by publication date (newest first) and take the **top 10**.
51-
4. Silently record any episodes beyond the top 10 as "older backlog" — do not display them in the digest.
52-
53-
> Note: `history listened` has no listening timestamp, so "most recent" is proxied by episode publication date.
42+
1. From `list episodes`, filter to only episodes where `isRead == false`.
43+
2. Sort by publication date (newest first).
44+
3. Display all remaining episodes in the digest (no top-N limit).
5445

5546
If the user specified a different window, adjust `--latest N` accordingly.
5647

0 commit comments

Comments
 (0)