一键导入
watchers
Poll RSS, JSON APIs, and GitHub with watermark dedup.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Poll RSS, JSON APIs, and GitHub with watermark dedup.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Delegate coding to xAI Grok Build CLI (features, PRs).
Configure and use Honcho memory with Fabric -- cross-session user modeling, multi-profile peer isolation, observation config, dialectic reasoning, session summaries, and context budget enforcement. Use when setting up Honcho, troubleshooting memory, managing profiles with Honcho peers, or tuning observation, recall, and dialectic settings.
Hyperliquid market data, account history, trade review.
Article illustrations: type × style × palette consistency.
Knowledge comics (知识漫画): educational, biography, tutorial.
Create HTML-based video compositions, animated title cards, social overlays, captioned talking-head videos, audio-reactive visuals, and shader transitions using HyperFrames. HTML is the source of truth for video. Use when the user wants a rendered MP4/WebM from an HTML composition, wants to animate text/logos/charts over media, needs captions synced to audio, wants TTS narration, or wants to convert a website into a video.
| name | watchers |
| description | Poll RSS, JSON APIs, and GitHub with watermark dedup. |
| version | 1.0.0 |
| author | Fabric |
| license | MIT |
| platforms | ["linux","macos"] |
| metadata | {"fabric":{"tags":["cron","polling","rss","github","http","automation","monitoring"],"category":"devops","requires_toolsets":["terminal"],"related_skills":[]}} |
Poll external sources on an interval and react only to new items. Three ready-made scripts plus a shared watermark helper; wire them into a cron job (or run them ad-hoc from the terminal).
A watcher is just a script that:
The scripts below handle all three. The agent runs them via the terminal tool — from a cron job, a webhook, or an interactive chat — and reports what's new.
All three live in $FABRIC_HOME/skills/devops/watchers/scripts/ once the skill is installed. Each reads WATCHER_STATE_DIR (defaults to $FABRIC_HOME/watcher-state/) for its state file, keyed by the --name argument.
| Script | What it watches | Dedup key |
|---|---|---|
watch_rss.py | RSS 2.0 or Atom feed URL | <guid> / <id> |
watch_http_json.py | Any JSON endpoint returning a list of objects | Configurable id field |
watch_github.py | GitHub issues / pulls / releases / commits for a repo | id / sha |
All three:
## <title>\n<url>\n\n<optional body> per itemRun a watcher directly from the terminal tool:
python $FABRIC_HOME/skills/devops/watchers/scripts/watch_rss.py \
--name hn --url https://news.ycombinator.com/rss --max 5
Watch a GitHub repo (set GITHUB_TOKEN in ${FABRIC_HOME:-~/.fabric}/.env to avoid the 60 req/hr anonymous rate limit):
python $FABRIC_HOME/skills/devops/watchers/scripts/watch_github.py \
--name fabric-issues --repo ObliviousOdin/fabric --scope issues
Poll an arbitrary JSON API:
python $FABRIC_HOME/skills/devops/watchers/scripts/watch_http_json.py \
--name api --url https://api.example.com/events \
--id-field event_id --items-path data.events
Ask the agent to schedule a cron job with a prompt like:
Every 15 minutes, run
watch_rss.py --name hn --url https://news.ycombinator.com/rss. If it prints anything, summarize the headlines and deliver them. If it prints nothing, stay silent.
The agent invokes the script via the terminal tool inside the cron job's agent loop; no changes to cron's built-in --script flag are needed.
Every watcher writes $FABRIC_HOME/watcher-state/<name>.json. Inspect:
cat $FABRIC_HOME/watcher-state/hn.json
Force a replay (next run treated as first poll):
rm $FABRIC_HOME/watcher-state/hn.json
All three scripts use the same template: load watermark, fetch, diff, save, emit. scripts/_watermark.py is the shared helper; import it to get atomic writes + bounded ID set + first-run baseline for free. See any of the three reference scripts for how little boilerplate it takes.
--prime-with-latest N flag in your own script.$FABRIC_HOME/watcher-state/ is always writable. Docker/Modal backends may not see arbitrary host paths.