Seen Tracker

Persistent per-skill dedup primitive. Stores `{key, content_hash, seen_at, source_id, metadata}` JSONL state at `<repo>/.state/<consumer-skill>/seen.jsonl` so scheduled agents and curators know what they've already surfaced across runs. Without this, weekly digests repeat last week's news. Exposes `is_new(item)` and `mark_surfaced(item)` semantics. Default-keyed on `url + content_hash`; supports optional title-embedding cluster keys for semantic dedup later. Feed-watcher delegates all its dedup state here, keyed by the calling agent. Use whenever a scheduled agent or curator needs to filter candidates to "new since last run" — after feed-watcher fetches and before digest assembly, and again when marking published items surfaced.

themarmack d4b89c5 6.4 KB Updated

File contents

themarmack/research-bot/tree/main/.claude/skills/seen-tracker commit d4b89c583e

Frequently asked questions

npx skillmds@latest add themarmack/seen-tracker