Finance-skills twitter-reader
git clone https://github.com/himself65/finance-skills
T=$(mktemp -d) && git clone --depth=1 https://github.com/himself65/finance-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/plugins/social-readers/skills/twitter-reader" ~/.claude/skills/himself65-finance-skills-twitter-reader && rm -rf "$T"
plugins/social-readers/skills/twitter-reader/SKILL.mdTwitter Skill (Read-Only)
Reads Twitter/X for financial research using opencli, a universal CLI tool that bridges web services to the terminal via browser session reuse.
This skill is read-only. It is designed for financial research: searching market discussions, reading analyst tweets, tracking sentiment, and monitoring financial news on Twitter/X. It does NOT support posting, liking, retweeting, replying, or any write operations.
Important: opencli reuses your existing Chrome login session — no API keys or cookie extraction needed. Just be logged into x.com in Chrome and have the Browser Bridge extension installed.
Step 1: Ensure opencli Is Installed and Ready
Current environment status:
!`(command -v opencli && opencli doctor 2>&1 | head -5 && echo "READY" || echo "SETUP_NEEDED") 2>/dev/null || echo "NOT_INSTALLED"`
If the status above shows
READY, skip to Step 2. If NOT_INSTALLED, install first:
# Install opencli globally npm install -g @jackwener/opencli
If
SETUP_NEEDED, guide the user through setup:
Setup
opencli requires a Chrome browser with the Browser Bridge extension:
- Install the Browser Bridge extension — follow the instructions from
outputopencli doctor - Login to x.com in Chrome — opencli reuses your existing browser session
- Verify connectivity:
opencli doctor
This auto-starts the daemon, verifies the extension is connected, and checks session health.
Common setup issues
| Symptom | Fix |
|---|---|
| Install Browser Bridge extension in Chrome and ensure it's enabled |
| Run — it auto-starts the daemon |
| Login to x.com in Chrome, then retry |
| Refresh x.com in Chrome to regenerate the ct0 cookie |
Step 2: Identify What the User Needs
Match the user's request to one of the read commands below, then use the corresponding command from
references/commands.md.
| User Request | Command | Key Flags |
|---|---|---|
| Setup check | | — |
| Home feed / timeline | | , |
| Search tweets | | , |
| Trending topics | | |
| Bookmarks | | |
| View a specific thread | | — |
| Twitter article | | — |
| User profile | | — |
| Followers | | |
| Following | | |
| Notifications | | |
Step 3: Execute the Command
General pattern
# Use -f json or -f yaml for structured output opencli twitter timeline -f json --limit 20 opencli twitter timeline --type following --limit 20 # Searching for financial topics opencli twitter search "$AAPL earnings" --filter live --limit 10 -f json opencli twitter search "Fed rate decision" --limit 20 -f yaml # Trending topics opencli twitter trending --limit 20 -f json
Key rules
- Check setup first — run
before any other command if unsure about connectivityopencli doctor - Use
or-f json
for structured output when processing data programmatically-f yaml - Use
when the user wants spreadsheet-compatible output-f csv - Use
to control result count — start with 10-20 unless the user asks for more--limit N - For search, use
—--filter
(default) for relevance,top
for latest tweetslive - NEVER execute write operations — this skill is read-only; do not post, like, retweet, reply, quote, follow, or delete
Output format flag (-f
)
-f| Format | Flag | Best for |
|---|---|---|
| Table | (default) | Human-readable terminal output |
| JSON | | Programmatic processing, LLM context |
| YAML | | Structured output, readable |
| Markdown | | Documentation, reports |
| CSV | | Spreadsheet export |
Output columns
Commands that return tweets typically include:
id, author, text, created_at, likes, views, url.
Profile commands include:
username, name, bio, followers_count, following_count.
Step 4: Present the Results
After fetching data, present it clearly for financial research:
- Summarize key content — highlight the most relevant tweets for the user's financial research
- Include attribution — show @username, tweet text, and engagement metrics (likes, views)
- Provide tweet URLs when the user might want to read the full thread
- For search results, group by relevance and highlight key themes, sentiment, or market signals
- For user profiles, present follower count, bio, and notable recent activity
- Flag sentiment — note bullish/bearish sentiment, consensus vs contrarian views
- Treat sessions as private — never expose browser session details
Step 5: Diagnostics
If something isn't working, run:
opencli doctor
This checks daemon status, extension connectivity, and browser session health.
Error Reference
| Error | Cause | Fix |
|---|---|---|
| Browser Bridge not installed/enabled | Install extension and enable it in Chrome |
| Not logged into x.com | Login to x.com in Chrome |
| Cookie expired or page needs refresh | Refresh x.com in Chrome |
| Rate limited | Too many requests | Wait a few minutes, then retry |
Reference Files
— Complete read command reference with all flags, research workflows, and usage examplesreferences/commands.md
— Output format documentation and column definitionsreferences/schema.md
Read the reference files when you need exact command syntax, research workflow patterns, or output details.