Bug Description
When using ClawFeed as an OpenClaw skill with a cron job, the agent prompt hardcodes a fixed list of Twitter usernames to fetch. This means any sources added/removed via the database are ignored — the cron agent never reads the actual sources table.
Root Cause
The default cron prompt tells the agent to fetch from a static list like @karpathy @sama @nvidia..., rather than first calling generate-digest.mjs to get the dynamic source list from the DB.
Steps to Reproduce
- Add a new Twitter source via the DB (e.g.
@insane_analyst)
- Run the cron job
- The new source is never fetched — the agent uses its hardcoded list instead
Expected Behavior
The cron/agent prompt should:
- First run
node scripts/generate-digest.mjs to get the live source list
- Iterate over all sources dynamically by type
- For
twitter_feed sources, use: agent-reach search-twitter "from:{username}" -n 10
Suggested Fix
Update the default cron prompt template to use the dynamic source list. The correct agent-reach command for Twitter timelines is:
agent-reach search-twitter "from:insane_analyst" -n 10
Note: agent-reach read and agent-reach timeline do NOT work for user timelines — only the search-twitter from: syntax is functional.
Environment
- ClawFeed version: 0.8.1
- Runtime: OpenClaw skill (cron job mode)
Bug Description
When using ClawFeed as an OpenClaw skill with a cron job, the agent prompt hardcodes a fixed list of Twitter usernames to fetch. This means any sources added/removed via the database are ignored — the cron agent never reads the actual sources table.
Root Cause
The default cron prompt tells the agent to fetch from a static list like
@karpathy @sama @nvidia..., rather than first callinggenerate-digest.mjsto get the dynamic source list from the DB.Steps to Reproduce
@insane_analyst)Expected Behavior
The cron/agent prompt should:
node scripts/generate-digest.mjsto get the live source listtwitter_feedsources, use:agent-reach search-twitter "from:{username}" -n 10Suggested Fix
Update the default cron prompt template to use the dynamic source list. The correct
agent-reachcommand for Twitter timelines is:agent-reach search-twitter "from:insane_analyst" -n 10Note:
agent-reach readandagent-reach timelinedo NOT work for user timelines — only thesearch-twitter from:syntax is functional.Environment