aggregator
Daily fetch from a fixed public allowlist; score against the user's interests file; cluster into themes; push the digest to the configured channel
- License 许可
- MIT
- 所属仓库
- gebruder/wirken
- 最近更新
- 2026-11-14
- Stars
- ★ 214
- Forks
- 15
01 前言 Front Matter
- name
- aggregator
- description
- Daily fetch from a fixed public allowlist; score against the user's interests file; cluster into themes; push the digest to the configured channel
- permissions
- { "tools": { "allow": [ "exec", "read_file", "write_file", "list_files" ] }, "egress": { "mode": "allowlist", "domains": [ "127.0.0.1", "export.arxiv.org", "papers.ssrn.com", "www.ftc.gov", "www.fcc.gov", "www.consumerfinance.gov", "www.hhs.gov", "edpb.europa.eu", "ico.org.uk", "www.cnil.fr", "api.congress.gov", "api.govinfo.gov", "www.federalregister.gov", "api.federalregister.gov" ] }, "inference": { "allow": [ "ollama", "privatemode" ], "default": "ollama" }, "filesystem": { "read_paths": [ "<workspace>", "<data_dir>/zirkel" ], "write_paths": [ "<data_dir>/zirkel" ] } }
- disable-model-invocation
- true
03 SKILL.md 正文
Aggregator
Fires once per day on a cron the operator configures. Performs a strict-pipeline run over the source allowlist:
- Fetch each source in
sources.tomlvia the declared method (RSS / API / rate-limited scrape). The HTTP wrapper enforces the egress allowlist. - Normalize fetched items into candidate records:
title,source,date,url,body_excerpt,citation_json. - Skip if the candidate's content hash is already in the seen set.
- 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-linewhy_surfacedrationale that names the matched interest. - 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.
- After all sources fetched, cluster the run's kept candidates into emergent themes using a small local embedding model.
- 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
<data_dir>/zirkel/zirkel.db— SQLite database holding candidates, seen, themes, skipped_log, runs, and the cached interests snapshot per run.<data_dir>/zirkel/interests.toml— user-editable; reloaded at the start of every run; a hash of the file is recorded in the audit log so changes are visible run-to-run.<data_dir>/zirkel/bodies/— full bodies referenced bycandidates.body_full_pathfor items where the excerpt is too small for retrieval.
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
sources.toml(preset-level, alongsidepreset.toml) — the addressable public set of sources.interests.toml(per-user, in<data_dir>/zirkel/) — concepts, keywords, exclusions, optional source weight tweaks.- Channel adapter pin and target (configured at preset install).
04 同仓库更多 Skills
web-fetch
Fetch and extract content from URLs
weather
Get current weather and forecasts
tmux
Manage tmux terminal sessions
system-info
System information and monitoring
ssh
SSH key management and remote connections
process-manager
Monitor and manage system processes