Saved Searches
Apps & Automationsaved-searchesSaved Searches is an Agent Skill for apps & automation published in the nirholas/XActions repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Create, manage, and run saved searches on X/Twitter. Save search queries, list saved searches, delete them, and run them to see fresh results. Use when users want to save or manage search queries on X.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/nirholas/XActions/blob/HEAD/skills/saved-searches/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/saved-searches, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Saved Searches
Browser console scripts for managing saved searches on X/Twitter.
Script Selection
| Goal | File | Navigate to |
|---|---|---|
| Save a search query | src/saveSearch.js | x.com/search?q=... (search results page) |
| List / delete / run saved searches | src/savedSearchManager.js | x.com |
Quick Start
Save a search
- Search for something on X:
x.com/search?q=your+query - Open DevTools (F12) → Console
- Paste
src/saveSearch.js→ Enter
Manage saved searches
- Go to
x.com - Open DevTools (F12) → Console
- Paste
src/savedSearchManager.js→ Enter
Available Functions (savedSearchManager.js)
XActions.list() // List all saved searches
XActions.run('query') // Run a saved search (navigates to results)
XActions.delete('query') // Delete a saved search by name
XActions.export() // Export all saved searches as JSON
Configuration
const CONFIG = {
maxTweets: 100, // Max tweets to collect when running a search
scrollDelay: 2000, // ms between scroll actions
actionDelay: 1500, // ms between UI actions
maxScrollAttempts: 25, // Max scroll rounds before stopping
};
Notes
- X limits saved searches to 25 per account
- Saved searches are stored in your X account (not just browser storage)
savedSearchManager.jscan also scrape trending topics for discovery
Related Skills
- discovery-explore — Browse trending topics and explore without saved searches
- analytics-insights — Analyze search results for hashtags and keywords
- twitter-scraping — Scrape full search result data