[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77YW3XR7NZRRW2RP2PS4MDX":3,"skill-same:01M77YW3XR7NZRRW2RP2PS4MDX":45},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":27,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M77YW3XR7NZRRW2RP2PS4MDX","xiaohongshu-mcp-patch",null,"Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fx\u002Fxiaohongshu-mcp-patch\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"# 小红书 MCP 补丁包\n\n部署小红书 MCP 时常见问题的自动化修复方案。\n\n## 问题一：端口被占用\n\n**问题描述**：启动 MCP 服务时提示 `bind: address already in use`\n\n**自动修复代码**：\n\n```bash\n#!\u002Fbin\u002Fbash\n# 检查并释放端口 18060\n\necho \"检查端口 18060...\"\nPID=$(lsof -ti:18060 2>\u002Fdev\u002Fnull)\n\nif [ -n \"$PID\" ]; then\n    echo \"发现占用进程: $PID，正在终止...\"\n    kill -9 $PID\n    sleep 2\n    echo \"进程已终止\"\nelse\n    echo \"端口空闲\"\nfi\n\n# 验证\nif lsof -i :18060 >\u002Fdev\u002Fnull 2>&1; then\n    echo \"错误：端口仍被占用\"\n    exit 1\nelse\n    echo \"端口已释放，可以启动服务\"\nfi\n```\n\n**使用方法**：\n```bash\nchmod +x fix-port.sh\n.\u002Ffix-port.sh\n```\n\n---\n\n## 问题二：Cookie 路径问题\n\n**问题描述**：MCP 服务找不到 cookies.json 文件\n\n**自动修复代码**：\n\n```bash\n#!\u002Fbin\u002Fbash\n# 将 cookie 文件复制到所有可能的位置\n\nCOOKIE_SOURCE=\"\u002Fpath\u002Fto\u002Fyour\u002Fcookies.json\"\n\necho \"复制 cookie 文件到多个位置...\"\n\n# 创建目录\nmkdir -p \u002Ftmp\u002Fcookies\nmkdir -p ~\u002F.cache\u002Frod\u002Fbrowser\n\n# 复制到多个位置\ncp \"$COOKIE_SOURCE\" \u002Ftmp\u002Fcookies.json\ncp \"$COOKIE_SOURCE\" \u002Ftmp\u002Fcookies\u002Fcookies.json\ncp \"$COOKIE_SOURCE\" .\u002Fcookies.json 2>\u002Fdev\u002Fnull || true\ncp \"$COOKIE_SOURCE\" ~\u002F.cache\u002Frod\u002Fbrowser\u002Fcookies.json\n\necho \"Cookie 文件已放置到：\"\nfind \u002Ftmp -name \"cookies.json\" 2>\u002Fdev\u002Fnull\nfind ~ -name \"cookies.json\" 2>\u002Fdev\u002Fnull | head -5\n```\n\n**使用方法**：\n```bash\nchmod +x fix-cookie.sh\n.\u002Ffix-cookie.sh \u002Fpath\u002Fto\u002Fyour\u002Fcookies.json\n```\n\n---\n\n## 问题三：调用卡住\u002F超时\n\n**问题描述**：调用 MCP 工具时无响应，可能是 Chrome 下载中\n\n**自动修复代码**：\n\n```bash\n#!\u002Fbin\u002Fbash\n# 等待 Chrome 下载完成\n\necho \"等待 Chrome 下载完成...\"\nLOG_FILE=\"\u002Ftmp\u002Fmcp.log\"\n\nfor i in {1..120}; do\n    if grep -q \"Downloaded:\" \"$LOG_FILE\" 2>\u002Fdev\u002Fnull; then\n        echo \"✅ Chrome 下载完成\"\n        break\n    fi\n    \n    if grep -q \"Unzip:\" \"$LOG_FILE\" 2>\u002Fdev\u002Fnull; then\n        echo \"✅ Chrome 解压中...\"\n        break\n    fi\n    \n    PROGRESS=$(grep \"Progress:\" \"$LOG_FILE\" 2>\u002Fdev\u002Fnull | tail -1)\n    if [ -n \"$PROGRESS\" ]; then\n        echo \"进度: $PROGRESS\"\n    fi\n    \n    sleep 5\ndone\n\necho \"准备就绪\"\n```\n\n**使用方法**：\n```bash\nchmod +x wait-chrome.sh\n.\u002Fwait-chrome.sh\n```\n\n---\n\n## 问题四：检查服务状态\n\n**问题描述**：不确定 MCP 服务是否正常运行\n\n**自动修复代码**：\n\n```bash\n#!\u002Fbin\u002Fbash\n# 检查并重启 MCP 服务\n\necho \"检查 MCP 服务状态...\"\n\n# 检查进程\nif pgrep -f \"xiaohongshu-mcp\" >\u002Fdev\u002Fnull; then\n    echo \"服务正在运行\"\n    ps aux | grep xiaohongshu-mcp | grep -v grep\nelse\n    echo \"服务未运行，正在启动...\"\n    cd \u002Ftmp\n    nohup .\u002Fxiaohongshu-mcp-linux-amd64 >\u002Ftmp\u002Fmcp.log 2>&1 &\n    sleep 3\n    \n    if pgrep -f \"xiaohongshu-mcp\" >\u002Fdev\u002Fnull; then\n        echo \"✅ 服务已启动\"\n        tail -3 \u002Ftmp\u002Fmcp.log\n    else\n        echo \"❌ 启动失败\"\n        exit 1\n    fi\nfi\n\n# 测试连接\necho \"测试 MCP 连接...\"\nSESSION=$(curl -s -N -D - -X POST http:\u002F\u002Flocalhost:18060\u002Fmcp \\\n    -H \"Content-Type: application\u002Fjson\" \\\n    -H \"Accept: application\u002Fjson, text\u002Fevent-stream\" \\\n    -d '{\"jsonrpc\":\"2.0\",\"method\":\"initialize\",\"params\":{\"protocolVersion\":\"2024-11-05\",\"capabilities\":{},\"clientInfo\":{\"name\":\"test\",\"version\":\"1.0\"}},\"id\":1}' 2>\u002Fdev\u002Fnull | \\\n    grep -i \"Mcp-Session-Id\" | awk '{print $2}' | tr -d '\\r')\n\nif [ -n \"$SESSION\" ]; then\n    echo \"✅ MCP 连接正常，Session: $SESSION\"\nelse\n    echo \"❌ MCP 连接失败\"\n    exit 1\nfi\n```\n\n**使用方法**：\n```bash\nchmod +x check-service.sh\n.\u002Fcheck-service.sh\n```\n\n---\n\n## 一键修复脚本\n\n```bash\n#!\u002Fbin\u002Fbash\n# 小红书 MCP 一键修复\n\necho \"===== 小红书 MCP 补丁包 =====\"\n\n# 1. 修复端口\necho \"[1\u002F4] 检查端口...\"\nlsof -ti:18060 | xargs kill -9 2>\u002Fdev\u002Fnull\nsleep 1\n\n# 2. 检查 cookie\nif [ -f \"\u002Ftmp\u002Fcookies\u002Fcookies.json\" ]; then\n    echo \"[2\u002F4] Cookie 文件存在\"\nelse\n    echo \"[2\u002F4] ⚠️ 缺少 cookie 文件，请手动放置\"\nfi\n\n# 3. 启动服务\necho \"[3\u002F4] 启动服务...\"\ncd \u002Ftmp\nif pgrep -f \"xiaohongshu-mcp\" >\u002Fdev\u002Fnull; then\n    echo \"服务已在运行\"\nelse\n    nohup .\u002Fxiaohongshu-mcp-linux-amd64 >\u002Ftmp\u002Fmcp.log 2>&1 &\n    sleep 3\n    echo \"服务已启动\"\nfi\n\n# 4. 测试连接\necho \"[4\u002F4] 测试连接...\"\nSESSION=$(curl -s -N -D - -X POST http:\u002F\u002Flocalhost:18060\u002Fmcp \\\n    -H \"Content-Type: application\u002Fjson\" \\\n    -H \"Accept: application\u002Fjson, text\u002Fevent-stream\" \\\n    -d '{\"jsonrpc\":\"2.0\",\"method\":\"initialize\",\"params\":{\"protocolVersion\":\"2024-11-05\",\"capabilities\":{},\"clientInfo\":{\"name\":\"test\",\"version\":\"1.0\"}},\"id\":1}' 2>\u002Fdev\u002Fnull | \\\n    grep -i \"Mcp-Session-Id\" | awk '{print $2}' | tr -d '\\r')\n\nif [ -n \"$SESSION\" ]; then\n    echo \"✅ 修复完成，MCP 正常工作\"\nelse\n    echo \"❌ 连接失败，请检查日志: tail -f \u002Ftmp\u002Fmcp.log\"\nfi\n```\n\n---\n\n## 参考\n\n- 小红书 MCP 项目：https:\u002F\u002Fgithub.com\u002Fxpzouying\u002Fxiaohongshu-mcp\n- OpenClaw 文档：https:\u002F\u002Fdocs.openclaw.ai\n",{},"master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fx\u002Fxiaohongshu-mcp-patch",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill xiaohongshu-mcp-patch",{"tool":37,"command":38},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill xiaohongshu-mcp-patch",{"tool":40,"command":41},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill xiaohongshu-mcp-patch","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fx\u002Fxiaohongshu-mcp-patch\u002FSKILL.md",true,[],[46,53,60,67,74,81],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":18},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":18},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]