himself65/finance-skills

twitter-reader

Read Twitter/X for financial research using opencli (read-only).

Ver código-fonte
Documento original do Skill

Renderizado do repositório de origem, preservando títulos, exemplos, código, tabelas, links e imagens.

Twitter 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:

bash
# Install opencli globally
npm install -g @jackwener/opencli

If SETUP_NEEDED, guide the user through setup:

Setup

opencli requires Node.js >= 20 and a Chrome browser with the Browser Bridge extension:

  1. Install the Browser Bridge extension:
  • Download the latest opencli-extension-v{version}.zip from the GitHub Releases page
  • Unzip it, open chrome://extensions in Chrome, and enable Developer mode
  • Click Load unpacked and select the unzipped folder
  1. Login to x.com in Chrome — opencli reuses your existing browser session
  2. Verify connectivity:
bash
opencli doctor

This auto-starts the daemon, verifies the extension is connected, and checks session health.

Common setup issues

SymptomFix
Extension not connectedInstall Browser Bridge extension in Chrome and ensure it's enabled
Daemon not runningRun opencli doctor — it auto-starts the daemon
No session for twitter.comLogin to x.com in Chrome, then retry
CSRF token missingRefresh 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 RequestCommandKey Flags
Setup checkopencli doctor
Home feed / timelineopencli twitter timeline`--type for-you\following, --limit N` (default 20)
Search tweetsopencli twitter search "QUERY"`--filter top\live, --limit N` (default 15)
Trending topicsopencli twitter trending--limit N (default 20)
Bookmarksopencli twitter bookmarks--limit N (default 20)
Recent tweets from a useropencli twitter tweets USERNAME--limit N (default 20)
View a specific threadopencli twitter thread TWEET_ID--limit N (default 50)
Twitter articleopencli twitter article TWEET_ID
User profileopencli twitter profile USERNAME— (defaults to logged-in user)
Followersopencli twitter followers USERNAME--limit N (default 50)
Followingopencli twitter following USERNAME--limit N (default 50)
Notificationsopencli twitter notifications--limit N (default 20)

Step 3: Execute the Command

General pattern

bash
# Use -f json or -f yaml for structured output
opencli twitter timeline -f json --limit 20
opencli twitter timeline --type following --limit 20

# Recent tweets from a specific user
opencli twitter tweets elonmusk --limit 20 -f json

# 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

  1. Check setup first — run opencli doctor before any other command if unsure about connectivity
  2. Use `-f json` or `-f yaml` for structured output when processing data programmatically
  3. Use `-f csv` when the user wants spreadsheet-compatible output
  4. Use `--limit N` to control result count — start with 10-20 unless the user asks for more
  5. For search, use `--filter`top (default) for relevance, live for latest tweets
  6. NEVER execute write operations — this skill is read-only; do not post, like, retweet, reply, quote, follow, or delete

Output format flag (-f)

FormatFlagBest for
Table-f table (default)Human-readable terminal output
JSON-f jsonProgrammatic processing, LLM context
YAML-f yamlStructured output, readable
Markdown-f mdDocumentation, reports
CSV-f csvSpreadsheet export

Output columns

Tweet-listing commands (timeline, search, thread) include: id, author, text, created_at, likes, retweets, replies, views, url, has_media, media_urls.

tweets (per-user posts) also includes is_retweet.

bookmarks columns: author, text, likes, retweets, bookmarks, url.

trending columns: rank, topic, tweets, category.

Profile (profile) columns: screen_name, name, bio, location, url, followers, following, tweets, likes, verified, created_at.

followers / following columns: screen_name, name, bio, followers.

notifications columns: id, action, author, text, url.


Step 4: Present the Results

After fetching data, present it clearly for financial research:

  1. Summarize key content — highlight the most relevant tweets for the user's financial research
  2. Include attribution — show @username, tweet text, and engagement metrics (likes, views)
  3. Provide tweet URLs when the user might want to read the full thread
  4. For search results, group by relevance and highlight key themes, sentiment, or market signals
  5. For user profiles, present follower count, bio, and notable recent activity
  6. Flag sentiment — note bullish/bearish sentiment, consensus vs contrarian views
  7. Treat sessions as private — never expose browser session details

Step 5: Diagnostics

If something isn't working, run:

bash
opencli doctor

This checks daemon status, extension connectivity, and browser session health.


Error Reference

ErrorCauseFix
Extension not connectedBrowser Bridge not installed/enabledInstall extension and enable it in Chrome
No sessionNot logged into x.comLogin to x.com in Chrome
CSRF token missingCookie expired or page needs refreshRefresh x.com in Chrome
Rate limitedToo many requestsWait a few minutes, then retry

Reference Files

  • references/commands.md — Complete read command reference with all flags, research workflows, and usage examples
  • references/schema.md — Output format documentation and column definitions

Read the reference files when you need exact command syntax, research workflow patterns, or output details.

do mesmo repositório

Mais Skills

Todos os Skills
himself65
Comunidade

company-valuation

Estimate the intrinsic value of a public company using DCF, relative (peer multiple) and sum-of-parts (SOTP) methods, then triangulate to an implied share price with upside/downside versus the current market price. Use this skill whenever the user asks: "what is AAPL worth", "valuation of NVDA", "fair value of TSLA", "intrinsic value", "DCF for MSFT", "build a DCF", "discounted cash flow", "WACC", "terminal value", "implied share price", "upside to fair value", "is X overvalued/undervalued", "relative valuation", "peer comparison valuation", "EV/EBITDA target", "SOTP", "sum of the parts", "how much is [company] worth", "price target from fundamentals", "value this company", or any ticker in the context of computing intrinsic or relative valuation. Default to running ALL three methods (DCF + relative + SOTP-if-applicable) and presenting a blended implied price with a sensitivity table. Do not answer valuation questions from memory — always run the workflow.

instalações
2
GitHub Stars
3,3 mil
Atualizado
27 de ago.
himself65
Comunidade

earnings-preview

Generate a pre-earnings briefing for any stock using Yahoo Finance data. Use this skill whenever the user wants to prepare for an upcoming earnings report, understand what analysts expect, review a company's beat/miss track record, or get a quick overview before an earnings call. Triggers include: "earnings preview for AAPL", "what to expect from TSLA earnings", "MSFT reports next week", "earnings preview", "pre-earnings analysis", "what are analysts expecting for NVDA", "earnings estimates for", "will GOOGL beat earnings", "earnings beat/miss history", "upcoming earnings", "before earnings", "earnings setup", "consensus estimates", "earnings whisper", "EPS expectations", "what's the street expecting", "earnings season preview", any mention of preparing for or previewing an earnings report, or any request to understand expectations ahead of a company's earnings date. Always use this skill when the user mentions a ticker in context of upcoming earnings, even if they don't say "preview" explicitly.

instalações
2
GitHub Stars
3,3 mil
Atualizado
27 de ago.
himself65
Comunidade

earnings-recap

Generate a post-earnings analysis for any stock using Yahoo Finance data. Use when the user wants to review what happened after earnings, understand beat/miss results, see stock reaction, or get an earnings recap. Triggers: "AAPL earnings recap", "how did TSLA earnings go", "MSFT earnings results", "did NVDA beat earnings", "post-earnings analysis", "earnings surprise", "what happened with GOOGL earnings", "earnings reaction", "stock moved after earnings", "EPS beat or miss", "revenue beat or miss", "quarterly results for", "how were earnings", "AMZN reported last night", "earnings call recap", or any request about a company's recent earnings outcome. Use this skill when the user references a past earnings event, even if they just say "AAPL reported" or "how did they do".

instalações
2
GitHub Stars
3,3 mil
Atualizado
27 de ago.
himself65
Comunidade

estimate-analysis

Deep-dive into analyst estimates and revision trends for any stock using Yahoo Finance data. Use when the user wants to understand analyst estimate direction, how EPS or revenue forecasts changed over time, compare estimate distributions, or analyze growth projections across periods. Triggers: "estimate analysis for AAPL", "analyst estimate trends for NVDA", "EPS revisions for TSLA", "how have estimates changed for MSFT", "estimate revisions", "EPS trend", "revenue estimates", "consensus changes", "analyst estimates", "estimate distribution", "growth estimates for", "estimate momentum", "revision trend", "forward estimates", "next quarter estimates", "annual estimates", "estimate spread", "bull vs bear estimates", "estimate range", or any request about tracking or comparing analyst estimates/revisions. Use this skill when the user asks about estimates beyond a simple lookup — if they want context, trends, or analysis, this is the right skill.

instalações
2
GitHub Stars
3,3 mil
Atualizado
27 de ago.