Aggregator

From gebruder/wirken · View interactive version

Aggregator is an AI agent skill from the GitHub repository gebruder/wirken. Daily fetch from a fixed public allowlist; score against the user's interests file; cluster into themes; push the digest to the configured channel

How to use this skill

Skill file

Aggregator

Fires once per day on a cron the operator configures. Performs a strict-pipeline run over the source allowlist:

  1. Fetch each source in sources.toml via the declared method (RSS / API / rate-limited scrape). The HTTP wrapper enforces the egress allowlist.
  2. Normalize fetched items into candidate records: title, source, date, url, body_excerpt, citation_json.
  3. Skip if the candidate's content hash is already in the seen set.
  4. Score the candidate's relevance against the user's interests file (<data_dir>/zirkel/interests.toml). Output: a float in [0, 1] plus a one-line why_surfaced rationale that names the matched interest.
  5. If the score crosses the keep threshold and no skip pattern matches, write the candidate to the local SQLite store. Otherwise, log the skip with reason.
  6. After all sources fetched, cluster the run's kept candidates into emergent themes using a small local embedding model.
  7. Render the digest as plain prose with footnote-ready citations on every item. Push to the configured channel adapter.

Aggregator does not synthesize claims about the world. The digest reads as "N items kept, M skipped. Today's themes: [theme A: items 1, 4; theme B: items 2, 3, 7]. Each item links to its source with a one-line why-surfaced explanation." No "today the regulators are saying X" prose.

This skill is disable-model-invocation: true. Reach it via /aggregator (manual run) or via the operator's cron that calls the underlying CLI command directly.

State

The aggregator and librarian share this state; both skills are scoped to the same <data_dir>/zirkel/ directory by their permissions blocks.

Inputs the operator provides

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.