linkedin-reader
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseLinkedIn Skill (Read-Only)
LinkedIn技能(只读模式)
Reads LinkedIn 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: 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.
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.
使用opencli读取LinkedIn内容用于金融研究,opencli是一款通用CLI工具,通过复用浏览器会话将Web服务对接至终端。
此技能为只读模式,专为金融研究设计:可读取市场相关的专业评论、监控分析师帖子、搜索金融/交易类岗位、追踪行业专业情绪。它不支持发布、点赞、评论、添加好友、发消息或任何写入操作。
注意事项:opencli会复用你现有的Chrome登录会话——无需API密钥或提取Cookie。你只需在Chrome中登录linkedin.com,并安装Browser Bridge扩展即可。
Step 1: Ensure opencli Is Installed and Ready
步骤1:确保opencli已安装且可用
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 , skip to Step 2. If , install first:
READYNOT_INSTALLEDbash
undefined当前环境状态:
!`(command -v opencli && opencli doctor 2>&1 | head -5 && echo "READY" || echo "SETUP_NEEDED") 2>/dev/null || echo "NOT_INSTALLED"`如果上方状态显示,请跳至步骤2。如果显示,请先安装:
READYNOT_INSTALLEDbash
undefinedInstall opencli globally
Install opencli globally
npm install -g @jackwener/opencli
If `SETUP_NEEDED`, guide the user through setup:npm install -g @jackwener/opencli
如果显示`SETUP_NEEDED`,请引导用户完成以下设置:Setup
设置
opencli requires a Chrome browser with the Browser Bridge extension:
- Install the Browser Bridge extension — follow the instructions from output
opencli doctor - Login to linkedin.com in Chrome — opencli reuses your existing browser session
- Verify connectivity:
bash
opencli doctorThis auto-starts the daemon, verifies the extension is connected, and checks session health.
opencli需要安装了Browser Bridge扩展的Chrome浏览器:
- 安装Browser Bridge扩展——按照输出的说明操作
opencli doctor - 在Chrome中登录linkedin.com——opencli会复用你现有的浏览器会话
- 验证连通性:
bash
opencli doctor该命令会自动启动守护进程,验证扩展是否已连接,并检查会话健康状态。
Common setup issues
常见设置问题
| Symptom | Fix |
|---|---|
| Install Browser Bridge extension in Chrome and ensure it's enabled |
| Run |
| Login to linkedin.com in Chrome, then retry |
| LinkedIn session expired — refresh linkedin.com in Chrome and log in again |
| 现象 | 修复方案 |
|---|---|
| 在Chrome中安装Browser Bridge扩展并确保已启用 |
| 运行 |
| 在Chrome中登录linkedin.com后重试 |
| LinkedIn会话已过期——在Chrome中刷新linkedin.com并重新登录 |
Step 2: Identify What the User Needs
步骤2:识别用户需求
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 / posts | | |
| Search for jobs | | |
| Finance job search | | |
将用户请求匹配到下方的读取命令,然后使用中对应的命令。
references/commands.md| 用户请求 | 命令 | 核心参数 |
|---|---|---|
| 检查设置 | | — |
| 首页动态/帖子 | | |
| 搜索岗位 | | |
| 金融类岗位搜索 | | |
Step 3: Execute the Command
步骤3:执行命令
General pattern
通用使用示例
bash
undefinedbash
undefinedRead LinkedIn feed posts
Read LinkedIn feed posts
opencli linkedin timeline --limit 20 -f json
opencli linkedin timeline --limit 20 -f json
Search for finance/trading jobs
Search for finance/trading jobs
opencli linkedin search "quantitative analyst" --limit 10 -f json
opencli linkedin search "portfolio manager" --location "New York" --limit 15 -f json
opencli linkedin search "quantitative analyst" --limit 10 -f json
opencli linkedin search "portfolio manager" --location "New York" --limit 15 -f json
Detailed job listings with descriptions
Detailed job listings with descriptions
opencli linkedin search "financial analyst" --details --limit 10 -f json
undefinedopencli linkedin search "financial analyst" --details --limit 10 -f json
undefinedKey rules
核心规则
- Check setup first — run before any other command if unsure about connectivity
opencli doctor - Use or
-f jsonfor 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 job search, use filters — ,
--location,--experience-level,--job-type,--remoteto narrow results--date-posted - NEVER execute write operations — this skill is read-only; do not post, like, comment, connect, message, or apply to jobs
- 优先检查设置——如果不确定连通性,在执行其他命令前先运行
opencli doctor - 使用或
-f json——当需要程序化处理数据时,使用该参数获取结构化输出-f yaml - 使用——当用户需要可导入电子表格的输出时使用
-f csv - 使用——控制返回结果数量,默认返回10-20条,除非用户要求更多
--limit N - 搜索岗位时使用过滤参数——(地点)、
--location(经验等级)、--experience-level(工作类型)、--job-type(远程)、--remote(发布日期)来缩小结果范围--date-posted - 绝对不要执行写入操作——此技能为只读模式,不要发布内容、点赞、评论、添加好友、发消息或申请岗位
Output format flag (-f
)
-f输出格式参数(-f
)
-f| Format | Flag | Best for |
|---|---|---|
| Table | | Human-readable terminal output |
| JSON | | Programmatic processing, LLM context |
| YAML | | Structured output, readable |
| Markdown | | Documentation, reports |
| CSV | | Spreadsheet export |
| 格式 | 参数 | 适用场景 |
|---|---|---|
| 表格 | | 人类可读的终端输出 |
| JSON | | 程序化处理、LLM上下文输入 |
| YAML | | 结构化输出,可读性高 |
| Markdown | | 文档、报告输出 |
| CSV | | 电子表格导出 |
Output columns
输出字段
Timeline posts include: , , , , , , , , .
rankauthorauthor_urlheadlinetextposted_atreactionscommentsurlJob search results include: , , , , , , . With : also , .
ranktitlecompanylocationlistedsalaryurl--detailsdescriptionapply_url动态帖子包含字段:(排名)、(作者)、(作者主页链接)、(作者简介)、(正文)、(发布时间)、(互动数)、(评论数)、(帖子链接)。
rankauthorauthor_urlheadlinetextposted_atreactionscommentsurl岗位搜索结果包含字段:(排名)、(岗位名称)、(公司)、(地点)、(发布时间)、(薪资)、(岗位链接)。添加参数时还会返回(岗位描述)、(申请链接)。
ranktitlecompanylocationlistedsalaryurl--detailsdescriptionapply_urlStep 4: Present the Results
步骤4:展示结果
After fetching data, present it clearly for financial research:
- Summarize key content — highlight the most relevant posts or jobs for the user's research
- Include attribution — show author name, headline, post text, and engagement (reactions, comments)
- Provide URLs when the user might want to read the full post or job listing
- For feed posts, highlight market commentary, analyst takes, earnings reactions, and professional sentiment
- For job search results, present title, company, location, salary (when available), and posting date
- Flag sentiment — note bullish/bearish professional sentiment, consensus vs contrarian views
- Treat sessions as private — never expose browser session details
获取数据后,清晰展示内容以适配金融研究场景:
- 总结核心内容——高亮展示与用户研究最相关的帖子或岗位
- 包含来源信息——展示作者姓名、简介、帖子正文和互动数据(点赞、评论数)
- 提供链接——当用户可能需要阅读完整帖子或岗位详情时附上链接
- 针对动态帖子,高亮展示市场评论、分析师观点、盈利相关反馈和行业专业情绪
- 针对岗位搜索结果,展示岗位名称、公司、地点、薪资(如有)和发布日期
- 标记情绪倾向——标注看涨/看跌的行业专业情绪,共识观点与反向观点
- 会话隐私保护——永远不要泄露浏览器会话详情
Step 5: Diagnostics
步骤5:问题排查
If something isn't working, run:
bash
opencli doctorThis checks daemon status, extension connectivity, and browser session health.
如果运行出错,请执行:
bash
opencli doctor该命令会检查守护进程状态、扩展连通性和浏览器会话健康状态。
Error Reference
错误参考
| Error | Cause | Fix |
|---|---|---|
| Browser Bridge not installed/enabled | Install extension and enable it in Chrome |
| Not logged into linkedin.com | Login to linkedin.com in Chrome |
| LinkedIn login wall detected | Refresh linkedin.com and log in again |
| No results found for query | Broaden search terms or check feed has content |
| Rate limited | Too many requests | Wait a few minutes, then retry |
| 错误 | 原因 | 修复方案 |
|---|---|---|
| 未安装/启用Browser Bridge扩展 | 在Chrome中安装扩展并启用 |
| 未登录linkedin.com | 在Chrome中登录linkedin.com |
| 检测到LinkedIn登录拦截 | 刷新linkedin.com并重新登录 |
| 未搜索到对应结果 | 扩大搜索关键词范围,或检查动态是否有内容 |
| 速率限制 | 请求次数过多 | 等待几分钟后重试 |
Reference Files
参考文件
- — Complete read command reference with all flags, research workflows, and usage examples
references/commands.md
Read the reference file when you need exact command syntax, research workflow patterns, or output details.
- ——完整的读取命令参考,包含所有参数、研究工作流和使用示例
references/commands.md
需要查询准确的命令语法、研究工作流模式或输出详情时,请阅读参考文件。