Agent skill
xfeed
Fetch and display filtered X (Twitter) timeline based on your interests. Shows AI/ML research, developer tools, and technical content while filtering out noise, rage bait, and irrelevant posts. Uses Claude Haiku to score relevance against your objectives.
Install this agent skill to your Project
npx add-skill https://github.com/ericksoa/xfeed/tree/main/skill
SKILL.md
XFeed - Filtered X Timeline
Fetch your X timeline and filter it based on your interests defined in ~/.xfeed/objectives.md.
When to Use This Skill
Use this skill when users want to:
- Check their X/Twitter timeline
- See filtered, relevant tweets
- Catch up on AI/ML news and research
- See what's happening in tech without the noise
Trigger keywords: twitter, x feed, timeline, tweets, what's happening, tech news, AI news
Requirements
The xfeed CLI must be installed and configured:
- Logged into X (twitter.com) in Chrome
- Anthropic API key
Commands
Fetch Filtered Timeline
xfeed fetch --count 30
Fetch More Tweets
xfeed fetch --count 50
Fetch with Lower Threshold (More Results)
xfeed fetch --count 30 --threshold 5
View Raw Unfiltered Feed
xfeed fetch --count 20 --raw
View Current Objectives
xfeed objectives
Check Configuration
xfeed config --show
How It Works
- Uses your Chrome session to access X
- Fetches your home timeline with Playwright
- Sends tweets to Claude Haiku for relevance scoring
- Displays tweets scoring above threshold (default: 7/10)
- Shows relevance reason for each tweet
Objectives
Your interests are defined in ~/.xfeed/objectives.md. Current focus:
- AI/ML research and breakthroughs
- Model releases and benchmarks
- AI safety and alignment
- Developer tools and productivity
- Major news (real events only)
Exclusions: rage bait, crypto promotion, engagement farming, political tribalism
Output Format
Each tweet shows:
- Author and handle
- Time ago
- Relevance score [X/10]
- Tweet content
- Engagement metrics
- Why it's relevant
Troubleshooting
"Not logged in": Log into x.com in Chrome first
"Not logged in": Your X session expired, log in again in Chrome
API errors: Check Anthropic API key in .env
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
scaffold-exercises
Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold exercises, create exercise stubs, or set up a new course section.
handoff
Compact the current conversation into a handoff document for another agent to pick up.
edit-article
Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.
git-guardrails-claude-code
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code.
migrate-to-shoehorn
Migrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace `as` in tests, or needs partial test data.
setup-pre-commit
Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.
Didn't find tool you were looking for?