$npx -y skills add himself65/finance-skills --skill linkedin-readerRead LinkedIn for financial research using opencli (read-only). Use this skill whenever the user wants to read their LinkedIn feed, search for jobs in the finance/trading industry, view professional posts about markets or earnings, or gather professional sentiment from LinkedIn.
| 1 | # LinkedIn Skill (Read-Only) |
| 2 | |
| 3 | Reads LinkedIn for financial research using [opencli](https://github.com/jackwener/opencli), a universal CLI tool that bridges web services to the terminal via browser session reuse. |
| 4 | |
| 5 | **This skill is read-only.** It is designed for financial research: reading professional commentary on markets, monitoring analyst posts, searching finance/trading jobs, and tracking professional sentiment. It does NOT support posting, liking, commenting, connecting, messaging, or any write operations. |
| 6 | |
| 7 | **Important**: opencli reuses your existing Chrome login session — no API keys or cookie extraction needed. Just be logged into linkedin.com in Chrome and have the Browser Bridge extension installed. |
| 8 | |
| 9 | --- |
| 10 | |
| 11 | ## Step 1: Ensure opencli Is Installed and Ready |
| 12 | |
| 13 | **Current environment status:** |
| 14 | |
| 15 | ``` |
| 16 | !`(command -v opencli && opencli doctor 2>&1 | head -5 && echo "READY" || echo "SETUP_NEEDED") 2>/dev/null || echo "NOT_INSTALLED"` |
| 17 | ``` |
| 18 | |
| 19 | If the status above shows `READY`, skip to Step 2. If `NOT_INSTALLED`, install first: |
| 20 | |
| 21 | ```bash |
| 22 | # Install opencli globally |
| 23 | npm install -g @jackwener/opencli |
| 24 | ``` |
| 25 | |
| 26 | If `SETUP_NEEDED`, guide the user through setup: |
| 27 | |
| 28 | ### Setup |
| 29 | |
| 30 | opencli requires Node.js >= 21 and a Chrome browser with the Browser Bridge extension: |
| 31 | |
| 32 | 1. **Install the Browser Bridge extension:** |
| 33 | - Download the latest `opencli-extension-v{version}.zip` from the [GitHub Releases page](https://github.com/jackwener/opencli/releases) |
| 34 | - Unzip it, open `chrome://extensions` in Chrome, and enable **Developer mode** |
| 35 | - Click **Load unpacked** and select the unzipped folder |
| 36 | 2. **Login to linkedin.com** in Chrome — opencli reuses your existing browser session |
| 37 | 3. **Verify connectivity:** |
| 38 | |
| 39 | ```bash |
| 40 | opencli doctor |
| 41 | ``` |
| 42 | |
| 43 | This auto-starts the daemon, verifies the extension is connected, and checks session health. |
| 44 | |
| 45 | ### Common setup issues |
| 46 | |
| 47 | | Symptom | Fix | |
| 48 | |---------|-----| |
| 49 | | `Extension not connected` | Install Browser Bridge extension in Chrome and ensure it's enabled | |
| 50 | | `Daemon not running` | Run `opencli doctor` — it auto-starts the daemon | |
| 51 | | `No session for linkedin.com` | Login to linkedin.com in Chrome, then retry | |
| 52 | | `AuthRequiredError` | LinkedIn session expired — refresh linkedin.com in Chrome and log in again | |
| 53 | |
| 54 | --- |
| 55 | |
| 56 | ## Step 2: Identify What the User Needs |
| 57 | |
| 58 | Match the user's request to one of the read commands below, then use the corresponding command from `references/commands.md`. |
| 59 | |
| 60 | | User Request | Command | Key Flags | |
| 61 | |---|---|---| |
| 62 | | Setup check | `opencli doctor` | — | |
| 63 | | Home feed / posts | `opencli linkedin timeline` | `--limit N` (default 20, max 100) | |
| 64 | | Search for jobs | `opencli linkedin search "QUERY"` | `--location`, `--limit N` (default 10, max 100), `--details` | |
| 65 | | Finance job search | `opencli linkedin search "QUERY"` | `--experience-level`, `--job-type`, `--remote`, `--company`, `--date-posted`, `--start` | |
| 66 | |
| 67 | --- |
| 68 | |
| 69 | ## Step 3: Execute the Command |
| 70 | |
| 71 | ### General pattern |
| 72 | |
| 73 | ```bash |
| 74 | # Read LinkedIn feed posts |
| 75 | opencli linkedin timeline --limit 20 -f json |
| 76 | |
| 77 | # Search for finance/trading jobs |
| 78 | opencli linkedin search "quantitative analyst" --limit 10 -f json |
| 79 | opencli linkedin search "portfolio manager" --location "New York" --limit 15 -f json |
| 80 | |
| 81 | # Detailed job listings with descriptions |
| 82 | opencli linkedin search "financial analyst" --details --limit 10 -f json |
| 83 | ``` |
| 84 | |
| 85 | ### Key rules |
| 86 | |
| 87 | 1. **Check setup first** — run `opencli doctor` before any other command if unsure about connectivity |
| 88 | 2. **Use `-f json` or `-f yaml`** for structured output when processing data programmatically |
| 89 | 3. **Use `-f csv`** when the user wants spreadsheet-compatible output |
| 90 | 4. **Use `--limit N`** to control result count — start with 10-20 unless the user asks for more |
| 91 | 5. **For job search, use filters** — `--location`, `--experience-level`, `--job-type`, `--remote`, `--date-posted` to narrow results |
| 92 | 6. **NEVER execute write operations** — this skill is read-only; do not post, like, comment, connect, message, or apply to jobs |
| 93 | |
| 94 | ### Output format flag (`-f`) |
| 95 | |
| 96 | | Format | Flag | Best for | |
| 97 | |---|---|---| |
| 98 | | Table | `-f table` (default) | Human-readable terminal output | |
| 99 | | JSON | `-f json` | Pr |