Purefeed
by @poloniki
Monitors Twitter/X feeds with AI signal detection. Searches tweets semantically, manages signal detectors, and organizes curated tweets into bookmark folders...
clawhub install purefeedπ About This Skill
name: purefeed description: "Monitors Twitter/X feeds with AI signal detection. Searches tweets semantically, manages signal detectors, and organizes curated tweets into bookmark folders. Use when the user wants to browse their Twitter feed, find tweets about a topic, set up content monitoring, or organize bookmarks. Do NOT use for general Twitter browsing without a Purefeed account." user-invocable: true allowed-tools: ["bash"] metadata: {"openclaw":{"requires":{"bins":["curl"],"env":["PUREFEED_API_KEY"]},"primaryEnv":"PUREFEED_API_KEY","emoji":"π‘"}}
Purefeed
API Base: https://purefeed.ai/api/v1
Auth: Authorization: Bearer $PUREFEED_API_KEY
Output Rules
Follow these rules for EVERY response that includes tweet data:
1. Format ALL screen names as clickable links: @screen_name. Never output plain @screen_name.
2. Format ALL tweet references as clickable links: Tweet.
3. Include view count with eye emoji: π 81K.
4. Sort by views or engagement descending unless user requests otherwise.
Example output line:
@CryptoAyor π 81K β detailed thread about $JELLY manipulation
Setup
1. Get API key at purefeed.ai/profile β Public API Keys β Create Key
2. Set it: openclaw config set skills.purefeed.env.PUREFEED_API_KEY "pf_live_YOUR_KEY"
3. Verify: curl -s https://purefeed.ai/api/v1/auth/me -H "Authorization: Bearer $PUREFEED_API_KEY"
Tool Dependencies
list signals βββ signal_id βββ get/update/delete signal, get signal matches
list folders βββ folder_id βββ get/create/rename/delete folder, add/remove tweets
get feed / search / signal matches βββ tweet_ids βββ get signal insights
Always list signals before signal-specific calls.
How to Find Tweets by Topic
Follow this exact sequence when the user asks "what's new about X?" or "find tweets about Y".
Step 1 β Find a matching active signal
GET /signals?search=TOPIC&active=true
The search parameter uses semantic/vector search β search=ai finds "Artificial intelligence", "AI Research", etc. If empty, try broader terms or GET /signals?active=true to see all active signals.Step 2 β Get matches from that signal
GET /signals/{id}/matches?limit=20
Signal matches are the primary data source. They include AI-generated analysis (sentiment, category, insights). Do NOT skip to feed search.Step 3 β Fall back to feed search ONLY if no signal found
GET /feed?limit=20&search=TOPIC
POST /search β {"query": "topic description", "limit": 20}
Step 4 β Filter feed by signal IDs (optional)
GET /feed?signal_ids={id1},{id2}&limit=20
Use signal IDs from Step 1 (GET /signals).Workflows
Set up monitoring
1.POST /signals β create signal with name + description + tags + color + cron + timezone (auto-activates)
2. Wait up to 6 hours for processing
3. GET /signals/{id}/matches β check results
4. PUT /signals/{id} β refine description if too many irrelevant matchesOrganize bookmarks
1.GET /folders β list folders
2. POST /folders β create a folder
3. POST /folders/:id/tweets β add a tweet to a folder
4. GET /folders/:id/tweets β review folder contentsFirst run
1.GET /auth/me β verify API key
2. GET /signals β see signal configurations
3. GET /folders β see bookmark foldersKey Concepts
signals_subscriptions is non-empty; inactive if []. When creating: always set tags and color, never set include_keywords unless user explicitly asks (they are very restrictive).POST /folders, populated via POST /folders/:id/tweets.Error Handling
| Error | Agent Action |
|-------|-------------|
| 401 Unauthorized | Tell user to create new key at purefeed.ai/profile |
| 429 Too Many Requests | Wait and retry. Check Retry-After header |
| "Signal not found" | Call GET /signals to get valid IDs |
API Reference
Read API_REFERENCE.md for full endpoint documentation, parameters, curl examples, and response shapes.
All endpoints return { "data": ..., "error": null } on success and { "data": null, "error": { "message": "...", "code": "..." } } on error.
Endpoint Summary
| Method | Path | Purpose |
|--------|------|---------|
| GET | /auth/me | Verify API key |
| GET | /feed | Tweets ranked by signal relevance |
| POST | /search | Full-text search across matched tweets |
| GET | /feed/signals | AI signal analysis for specific tweet IDs |
| GET | /folders | List bookmark folders |
| POST | /folders | Create a folder ({ "name": "..." }) |
| PATCH | /folders/:id | Rename a folder ({ "name": "..." }) |
| DELETE | /folders/:id | Delete a folder and its items |
| GET | /folders/:id/tweets | Tweets in a folder |
| POST | /folders/:id/tweets | Add tweet to folder ({ "tweet_id": "..." }) |
| DELETE | /folders/:id/tweets?tweet_id=X | Remove tweet from folder |
| GET | /signals | List signals (supports semantic search) |
| POST | /signals | Create + auto-activate a signal |
| GET | /signals/:id | Signal details |
| PUT | /signals/:id | Update signal |
| DELETE | /signals/:id | Delete signal (irreversible) |
| GET | /signals/:id/matches | Tweets matching a signal |
Rate Limits
Retry-After headerβοΈ Configuration
1. Get API key at purefeed.ai/profile β Public API Keys β Create Key
2. Set it: openclaw config set skills.purefeed.env.PUREFEED_API_KEY "pf_live_YOUR_KEY"
3. Verify: curl -s https://purefeed.ai/api/v1/auth/me -H "Authorization: Bearer $PUREFEED_API_KEY"