platforms/claude/skills/linuxdo/SKILL.md
Read LINUX DO forum content via Discourse JSON API + Chrome Cookie auth. Actions: check login, latest topics, top/trending, full-text search, read topic details, browse categories. Keywords: linuxdo, linux.do, l站, 帖子, 搜索, 最新, 热门, 分类, discourse, forum.
npx skillsauth add codingsamss/ai-dotfiles linuxdoInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
通过本地 Python 脚本只读访问 LINUX DO(linux.do)论坛内容。使用 Discourse JSON API + Chrome Cookie 自动提取认证,可访问有信任等级限制的帖子。
HTTPS_PROXY=http://127.0.0.1:7897SKILLS_HOME="$HOME/.claude/skills"
SCRIPT="${SKILLS_HOME}/linuxdo/scripts/linuxdo.py"
脚本按优先级自动解析 Cookie 来源:
--cookie "name=value; ..." 命令行直传--cookie-file <path> 或环境变量 LINUXDO_COOKIE_FILELINUXDO_COOKIE手动回退(当 Chrome 提取失败时):
# 从浏览器 DevTools > Application > Cookies 复制 Cookie 字符串
python3 "$SCRIPT" --cookie "_t=xxx; _forum_session=yyy" latest --limit 5
Triggers: "linuxdo 登录状态", "linuxdo whoami", "l站身份"
python3 "$SCRIPT" whoami
Triggers: "linuxdo 最新帖子", "l站最新", "latest linuxdo"
python3 "$SCRIPT" latest --limit 20
可选参数:
--page <n>:翻页(从 0 开始)--chars <n>:摘要最大字符(默认 140)Triggers: "linuxdo 热门", "l站热帖", "linuxdo top", "l站 trending"
python3 "$SCRIPT" top --period weekly
可选参数:
--period:daily / weekly / monthly / yearly / all(默认 weekly)--limit <n>:输出条数(默认 20)Triggers: "搜索 linuxdo", "linuxdo 搜索", "search linuxdo", "l站搜索"
python3 "$SCRIPT" search "Claude Code" --limit 10
说明:
@username、#category、in:title、order:latest 等Triggers: "查看 linuxdo 帖子", "读帖", "linuxdo topic", "看看这个帖子"
python3 "$SCRIPT" topic 1611298 --posts 5
也支持:
topic "https://linux.do/t/topic/1611298"topic "topic/1611298"
可选参数:--posts <n>:输出楼层数(默认 5)--chars <n>:每条内容最大字符(默认 300)--page <n>:楼层翻页(默认 0)Triggers: "linuxdo 分类", "l站分类", "linuxdo categories"
列出所有分类:
python3 "$SCRIPT" category
查看某分类帖子:
python3 "$SCRIPT" category develop --limit 20
内置分类映射(slug -> 中文名):
develop 开发调优 | domestic 国产替代 | resource 资源荟萃wiki 文档共建 | job 非我莫属 | reading 读书成诗news 前沿快讯 | feeds 网络记忆 | welfare 福利羊毛gossip 搞七捻三 | square 虫洞广场 | feedback 运营反馈# 通过环境变量配置代理
HTTPS_PROXY=http://127.0.0.1:7897 python3 "$SCRIPT" latest --limit 5
# urllib 和 curl 均会使用该代理
以下操作不开放:
development
Query Midea MX / 美信 local message cache through the MX local HTTP query service from Codex. Use when the user asks to read MX sessions, search chat history, search messages globally or inside a group/session, list recent messages, or page message history. This is read-only and does not require send authorization. Never fall back to reading SQLite or app cache files directly.
development
Safely search MX users or groups and send Midea MX / 美信 IM messages from Codex. Use when the user asks to notify someone, send a message to a person or group, use a configured group alias, @ users, @ all, or send MX file/image messages. Read lookups need no extra authorization; every live send needs explicit user authorization for that exact target and message.
tools
MX channel output rules. Always active in MX conversations.
tools
Use the company WorkSpace `ws` CLI reliably as a delegated coding agent from Codex. Trigger when the user wants Codex to command `ws`, WorkSpace CLI, or the company opencode-derived coding tool to generate code, inspect a repo, run a bounded implementation task, or use a requested WorkSpace model while Codex reviews the output.