OpenParable
Skip to content
← Back to skills

Saved Searches

Apps & Automation
saved-searches

Saved 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.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. 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

GoalFileNavigate to
Save a search querysrc/saveSearch.jsx.com/search?q=... (search results page)
List / delete / run saved searchessrc/savedSearchManager.jsx.com

Quick Start

Save a search

  1. Search for something on X: x.com/search?q=your+query
  2. Open DevTools (F12) → Console
  3. Paste src/saveSearch.js → Enter

Manage saved searches

  1. Go to x.com
  2. Open DevTools (F12) → Console
  3. 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.js can 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