Skip to content
Back to skills

Check X Feed

ASecurity

Return posts that appeared since the last check from the members of the user's curated X (Twitter) List. Use for the recurring X-feed sweep. Returns raw posts (author, time, text, link) with no relevance filtering — judge what is worth surfacing yourself and frame it in your own voice.

  • 10 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 4, 2026
development

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 4, 2026

npx -y skills add bdambrosio/Cognitive_workbench --skill check-x-feed --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Check X Feed?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Check X Feed
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bdambrosio-check-x-feed/badge)](https://www.skillsdirectory.com/skills/bdambrosio-check-x-feed)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: check-x-feed
description: Return posts that appeared since the last check from the members of the user's curated X (Twitter) List. Use for the recurring X-feed sweep. Returns raw posts (author, time, text, link) with no relevance filtering — judge what is worth surfacing yourself and frame it in your own voice.
args: {}
---

# check-x-feed

Returns new posts from the accounts on the user's curated X List. Takes no
arguments — the List to follow and the credentials come from the
environment. Tracks a per-account `since_id` so each call returns only
posts that appeared since the previous call.

## Behavior

- Fetches the List membership (cached, refreshed daily), then polls each
  member's timeline for posts newer than the last seen id. Replies and
  retweets are excluded.
- Returns `{status: "ok", text: <markdown list of posts>}` — one entry per
  post with author, timestamp, full text, and link. Posts are grouped by
  author, newest first within each.
- The first check for an account returns its few most recent posts as
  history (marked as such in the output).
- Returns `{status: "ok", text: "No new posts ..."}` when nothing appeared.
- Returns `{status: "error", text: ...}` on missing configuration or a
  rejected token. A rate-limit mid-sweep returns the partial result with a
  note; the remaining accounts are picked up on the next call.

## Typical use

Called on a rhythm by the X-feed concern. Read the posts, judge relevance
the way the user would, surface at most one or two genuinely interesting
items with their links, stay silent otherwise.

```json
{"thought": "check what's new on the X list", "tool": "check-x-feed"}
```

## Required environment

- `X_BEARER_TOKEN` — app-only bearer token from the X developer portal
  (pay-per-use billing must be enabled on the account).
- `X_LIST_ID` — the curated X List to follow: either its numeric id or
  the full list URL (`https://x.com/i/lists/<id>`); the tool accepts both.

## Cost model

X bills $0.005 per post read (pay-per-use, Feb 2026 pricing). Because each
account is polled with `since_id`, only genuinely new posts are billed —
check frequency does not affect cost, feed volume does. A quiet list costs
approximately nothing; the one-time bootstrap reads up to 5 posts per list
member. The List's own `/tweets` endpoint is deliberately not used: it has
no `since_id` and would re-bill the same posts every call.

## State

`~/.cache/cognitive/check-x-feed/state.json` — cached List membership plus
the per-account `since_id` map. Delete it to force a full re-bootstrap.

Files in this skill

  • Skill.md2.5 KB
  • tool.py8.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.