# Rss Monitor

> Use when the user wants to keep a local RSS/Atom mirror in sync with a config file and pull entries by time window — config-driven feed sync, fetch new entries, list entries since last run or within the past N days.

- **Type:** Skill
- **Install:** `agentstack add skill-samir-g-agent-skills-rss-monitor`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [samir-g](https://agentstack.voostack.com/s/samir-g)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [samir-g](https://github.com/samir-g)
- **Source:** https://github.com/samir-g/agent-skills/tree/main/skills/rss_monitor

## Install

```sh
agentstack add skill-samir-g-agent-skills-rss-monitor
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# RSS monitor

Config-driven RSS mirror. Three subcommands: `update`, `entries`, `feeds`.

    uv run "${CLAUDE_PLUGIN_ROOT}/skills/rss-monitor/rss_monitor.py" \
        --config /path/to/config.json 

Add `--json` (before the subcommand) for machine-readable output.

## Config

Required. Same shape as `notion_gsheet_sync` and `phantombuster-monitor`.

    {
      "statePath": "~/.openclaw/workspace/state",
      "feeds": [
        {"url": "https://example.com/feed.xml", "tags": ["ai", "research"]}
      ]
    }

Keys:

- `statePath` — directory for the SQLite DB and state JSON. Relative paths resolve against the config file's directory. `~` is expanded.
- `dbPath` — optional override for the DB filename or absolute path. Relative paths resolve inside `statePath`.
- `feeds` — list of `{url, tags}` (or bare URL strings). **Authoritative**: feeds present in the DB but absent from this list are deleted on `update`. Tags are also synced — declared tags are added, undeclared tags removed.

Print a worked example:

    uv run rss_monitor.py example-config

## Subcommands

### `update`

Syncs DB feeds with config (adds missing, removes extras, syncs tags), fetches new entries from every feed, writes state JSON.

State JSON shape (aligned with sibling skills):

- `system`, `lastRun`, `lastSuccess`, `previousSuccess`, `lastError`
- `status` (`Healthy` / `Attention`)
- `feedCount`, `errorFeedCount`, `newEntryCount`, `materialChange`, `notes`

`previousSuccess` snapshots the prior `lastSuccess` on each successful run — it's the cutoff `entries` uses by default.

`runner.sh` is a thin wrapper that runs `update` against the bundled `config.json`.

### `entries`

Default: lists entries added since the previous successful run (uses `previousSuccess` from the state file, filters by `entry.added`).

    entries

Override with `--since N` to instead list entries published in the past N days (integer):

    entries --since 1     # past day
    entries --since 7     # past week

### `feeds`

Lists feeds currently in the DB, with their tags and any last-fetch error.

## Behaviour

- Uses the [`reader`](https://reader.readthedocs.io/) library for storage and feed parsing.
- Refuses feed URLs that resolve to private/internal addresses (SSRF guard) when adding from config.
- Config is authoritative — the only way to manage feeds is by editing the config file.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [samir-g](https://github.com/samir-g)
- **Source:** [samir-g/agent-skills](https://github.com/samir-g/agent-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-samir-g-agent-skills-rss-monitor
- Seller: https://agentstack.voostack.com/s/samir-g
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
