[{"data":1,"prerenderedAt":4422},["ShallowReactive",2],{"tutorial-openclaw-guide":3},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"category":10,"cover":11,"readTime":12,"date":13,"author":14,"tags":15,"body":20,"_type":964,"_id":4417,"_source":4418,"_file":4419,"_stem":4420,"_extension":4421},"\u002Ftutorials\u002Fopenclaw-guide","tutorials",false,"","OpenClaw 完全指南：打造你的个人 AI Agent","从安装部署、基础配置到 Skills 技能系统、多 Agent 协作、心跳机制，完整掌握 OpenClaw（Clawdbot）个人 AI 助手的用法。","AI Agent","https:\u002F\u002Fimages.unsplash.com\u002Fphoto-1485827404703-89b55fcc595e?w=1200&q=80",22,"2026-04-25","AI School",[16,17,10,18,19],"OpenClaw","Clawdbot","个人助手","开源",{"type":21,"children":22,"toc":4359},"root",[23,31,49,56,63,79,87,138,144,284,290,421,425,431,437,497,503,549,555,676,682,811,817,904,907,913,926,934,937,943,949,961,1198,1204,1209,1312,1318,1323,1412,1418,1429,1600,1606,1611,1755,1761,1766,1909,1915,1920,2009,2012,2018,2024,2032,2058,2066,2178,2186,2361,2369,2374,2399,2405,2510,2516,2593,2596,2602,2608,2621,2627,2760,2766,2873,2879,2892,2999,3002,3008,3014,3047,3053,3169,3175,3180,3183,3189,3195,3200,3206,3361,3367,3535,3538,3544,3550,3706,3712,3806,3812,3817,3872,3875,3881,3887,3984,3990,4019,4025,4122,4128,4192,4198,4281,4284,4289,4300,4305,4313,4353],{"type":24,"tag":25,"props":26,"children":28},"element","h1",{"id":27},"openclaw-完全指南打造你的个人-ai-agent",[29],{"type":30,"value":8},"text",{"type":24,"tag":32,"props":33,"children":34},"blockquote",{},[35],{"type":24,"tag":36,"props":37,"children":38},"p",{},[39,41,47],{"type":30,"value":40},"OpenClaw 的核心理念：",{"type":24,"tag":42,"props":43,"children":44},"strong",{},[45],{"type":30,"value":46},"让 AI 成为真正能接入你生活和工作流的长期助手",{"type":30,"value":48},"，不是每次都要从零开始的工具。",{"type":24,"tag":50,"props":51,"children":53},"h2",{"id":52},"一认识-openclaw",[54],{"type":30,"value":55},"一、认识 OpenClaw",{"type":24,"tag":57,"props":58,"children":60},"h3",{"id":59},"_11-什么是-openclaw",[61],{"type":30,"value":62},"1.1 什么是 OpenClaw？",{"type":24,"tag":36,"props":64,"children":65},{},[66,70,72,77],{"type":24,"tag":42,"props":67,"children":68},{},[69],{"type":30,"value":16},{"type":30,"value":71},"（原名 Clawdbot）是 2026 年现象级开源 AI Agent 项目，核心思想是把 ",{"type":24,"tag":42,"props":73,"children":74},{},[75],{"type":30,"value":76},"AI 大模型（大脑）+ 本地工具（手脚）+ 聊天软件（嘴巴耳朵）",{"type":30,"value":78}," 连接起来，让 AI 真正成为你的电脑管家。",{"type":24,"tag":36,"props":80,"children":81},{},[82],{"type":24,"tag":42,"props":83,"children":84},{},[85],{"type":30,"value":86},"官方资源：",{"type":24,"tag":88,"props":89,"children":90},"ul",{},[91,105,116,127],{"type":24,"tag":92,"props":93,"children":94},"li",{},[95,97],{"type":30,"value":96},"GitHub：",{"type":24,"tag":98,"props":99,"children":103},"a",{"href":100,"rel":101},"https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fopenclaw",[102],"nofollow",[104],{"type":30,"value":100},{"type":24,"tag":92,"props":106,"children":107},{},[108,110],{"type":30,"value":109},"官方文档：",{"type":24,"tag":98,"props":111,"children":114},{"href":112,"rel":113},"https:\u002F\u002Fdocs.openclaw.ai",[102],[115],{"type":30,"value":112},{"type":24,"tag":92,"props":117,"children":118},{},[119,121],{"type":30,"value":120},"社区：",{"type":24,"tag":98,"props":122,"children":125},{"href":123,"rel":124},"https:\u002F\u002Fdiscord.com\u002Finvite\u002Fclawd",[102],[126],{"type":30,"value":123},{"type":24,"tag":92,"props":128,"children":129},{},[130,132],{"type":30,"value":131},"技能市场：",{"type":24,"tag":98,"props":133,"children":136},{"href":134,"rel":135},"https:\u002F\u002Fclawhub.ai",[102],[137],{"type":30,"value":134},{"type":24,"tag":57,"props":139,"children":141},{"id":140},"_12-核心特点",[142],{"type":30,"value":143},"1.2 核心特点",{"type":24,"tag":145,"props":146,"children":147},"table",{},[148,167],{"type":24,"tag":149,"props":150,"children":151},"thead",{},[152],{"type":24,"tag":153,"props":154,"children":155},"tr",{},[156,162],{"type":24,"tag":157,"props":158,"children":159},"th",{},[160],{"type":30,"value":161},"特性",{"type":24,"tag":157,"props":163,"children":164},{},[165],{"type":30,"value":166},"说明",{"type":24,"tag":168,"props":169,"children":170},"tbody",{},[171,188,204,220,236,252,268],{"type":24,"tag":153,"props":172,"children":173},{},[174,183],{"type":24,"tag":175,"props":176,"children":177},"td",{},[178],{"type":24,"tag":42,"props":179,"children":180},{},[181],{"type":30,"value":182},"完全自托管",{"type":24,"tag":175,"props":184,"children":185},{},[186],{"type":30,"value":187},"运行在本地电脑或云服务器，数据不上云",{"type":24,"tag":153,"props":189,"children":190},{},[191,199],{"type":24,"tag":175,"props":192,"children":193},{},[194],{"type":24,"tag":42,"props":195,"children":196},{},[197],{"type":30,"value":198},"多平台接入",{"type":24,"tag":175,"props":200,"children":201},{},[202],{"type":30,"value":203},"飞书、Telegram、Discord、微信等",{"type":24,"tag":153,"props":205,"children":206},{},[207,215],{"type":24,"tag":175,"props":208,"children":209},{},[210],{"type":24,"tag":42,"props":211,"children":212},{},[213],{"type":30,"value":214},"四层记忆架构",{"type":24,"tag":175,"props":216,"children":217},{},[218],{"type":30,"value":219},"AGENTS.md + SOUL.md + MEMORY.md + 每日日志",{"type":24,"tag":153,"props":221,"children":222},{},[223,231],{"type":24,"tag":175,"props":224,"children":225},{},[226],{"type":24,"tag":42,"props":227,"children":228},{},[229],{"type":30,"value":230},"Skills 技能系统",{"type":24,"tag":175,"props":232,"children":233},{},[234],{"type":30,"value":235},"完全可编程，像 npm 包一样安装分享",{"type":24,"tag":153,"props":237,"children":238},{},[239,247],{"type":24,"tag":175,"props":240,"children":241},{},[242],{"type":24,"tag":42,"props":243,"children":244},{},[245],{"type":30,"value":246},"多 Agent 协作",{"type":24,"tag":175,"props":248,"children":249},{},[250],{"type":30,"value":251},"支持子 Agent 派发任务",{"type":24,"tag":153,"props":253,"children":254},{},[255,263],{"type":24,"tag":175,"props":256,"children":257},{},[258],{"type":24,"tag":42,"props":259,"children":260},{},[261],{"type":30,"value":262},"心跳机制",{"type":24,"tag":175,"props":264,"children":265},{},[266],{"type":30,"value":267},"定时自动检查，让 AI 主动工作",{"type":24,"tag":153,"props":269,"children":270},{},[271,279],{"type":24,"tag":175,"props":272,"children":273},{},[274],{"type":24,"tag":42,"props":275,"children":276},{},[277],{"type":30,"value":278},"流式响应",{"type":24,"tag":175,"props":280,"children":281},{},[282],{"type":30,"value":283},"支持打字机效果，交互更自然",{"type":24,"tag":57,"props":285,"children":287},{"id":286},"_13-openclaw-vs-hermes-agent",[288],{"type":30,"value":289},"1.3 OpenClaw vs Hermes Agent",{"type":24,"tag":145,"props":291,"children":292},{},[293,313],{"type":24,"tag":149,"props":294,"children":295},{},[296],{"type":24,"tag":153,"props":297,"children":298},{},[299,304,308],{"type":24,"tag":157,"props":300,"children":301},{},[302],{"type":30,"value":303},"维度",{"type":24,"tag":157,"props":305,"children":306},{},[307],{"type":30,"value":16},{"type":24,"tag":157,"props":309,"children":310},{},[311],{"type":30,"value":312},"Hermes Agent",{"type":24,"tag":168,"props":314,"children":315},{},[316,337,358,379,400],{"type":24,"tag":153,"props":317,"children":318},{},[319,327,332],{"type":24,"tag":175,"props":320,"children":321},{},[322],{"type":24,"tag":42,"props":323,"children":324},{},[325],{"type":30,"value":326},"定位",{"type":24,"tag":175,"props":328,"children":329},{},[330],{"type":30,"value":331},"自托管 AI Agent 网关，专注多渠道消息路由与任务执行",{"type":24,"tag":175,"props":333,"children":334},{},[335],{"type":30,"value":336},"自我成长型 AI Agent，专注长期记忆与自动学习闭环",{"type":24,"tag":153,"props":338,"children":339},{},[340,348,353],{"type":24,"tag":175,"props":341,"children":342},{},[343],{"type":24,"tag":42,"props":344,"children":345},{},[346],{"type":30,"value":347},"数据存储",{"type":24,"tag":175,"props":349,"children":350},{},[351],{"type":30,"value":352},"本地 Markdown 文件",{"type":24,"tag":175,"props":354,"children":355},{},[356],{"type":30,"value":357},"本地 + 8 种外部记忆提供者",{"type":24,"tag":153,"props":359,"children":360},{},[361,369,374],{"type":24,"tag":175,"props":362,"children":363},{},[364],{"type":24,"tag":42,"props":365,"children":366},{},[367],{"type":30,"value":368},"技能系统",{"type":24,"tag":175,"props":370,"children":371},{},[372],{"type":30,"value":373},"完全可编程 Skills",{"type":24,"tag":175,"props":375,"children":376},{},[377],{"type":30,"value":378},"自动创建 Skills + 手动编写",{"type":24,"tag":153,"props":380,"children":381},{},[382,390,395],{"type":24,"tag":175,"props":383,"children":384},{},[385],{"type":24,"tag":42,"props":386,"children":387},{},[388],{"type":30,"value":389},"定制能力",{"type":24,"tag":175,"props":391,"children":392},{},[393],{"type":30,"value":394},"完全可编程",{"type":24,"tag":175,"props":396,"children":397},{},[398],{"type":30,"value":399},"较灵活",{"type":24,"tag":153,"props":401,"children":402},{},[403,411,416],{"type":24,"tag":175,"props":404,"children":405},{},[406],{"type":24,"tag":42,"props":407,"children":408},{},[409],{"type":30,"value":410},"适合场景",{"type":24,"tag":175,"props":412,"children":413},{},[414],{"type":30,"value":415},"多平台消息接入、日常任务自动化、多 Agent 路由",{"type":24,"tag":175,"props":417,"children":418},{},[419],{"type":30,"value":420},"需要自动学习、越用越聪明的场景",{"type":24,"tag":422,"props":423,"children":424},"hr",{},[],{"type":24,"tag":50,"props":426,"children":428},{"id":427},"二安装部署",[429],{"type":30,"value":430},"二、安装部署",{"type":24,"tag":57,"props":432,"children":434},{"id":433},"_21-系统要求",[435],{"type":30,"value":436},"2.1 系统要求",{"type":24,"tag":145,"props":438,"children":439},{},[440,456],{"type":24,"tag":149,"props":441,"children":442},{},[443],{"type":24,"tag":153,"props":444,"children":445},{},[446,451],{"type":24,"tag":157,"props":447,"children":448},{},[449],{"type":30,"value":450},"操作系统",{"type":24,"tag":157,"props":452,"children":453},{},[454],{"type":30,"value":455},"支持情况",{"type":24,"tag":168,"props":457,"children":458},{},[459,472,484],{"type":24,"tag":153,"props":460,"children":461},{},[462,467],{"type":24,"tag":175,"props":463,"children":464},{},[465],{"type":30,"value":466},"macOS",{"type":24,"tag":175,"props":468,"children":469},{},[470],{"type":30,"value":471},"✅ 原生支持",{"type":24,"tag":153,"props":473,"children":474},{},[475,480],{"type":24,"tag":175,"props":476,"children":477},{},[478],{"type":30,"value":479},"Linux",{"type":24,"tag":175,"props":481,"children":482},{},[483],{"type":30,"value":471},{"type":24,"tag":153,"props":485,"children":486},{},[487,492],{"type":24,"tag":175,"props":488,"children":489},{},[490],{"type":30,"value":491},"Windows",{"type":24,"tag":175,"props":493,"children":494},{},[495],{"type":30,"value":496},"✅ WSL2 内运行",{"type":24,"tag":57,"props":498,"children":500},{"id":499},"_22-一键安装macos-linux",[501],{"type":30,"value":502},"2.2 一键安装（macOS \u002F Linux）",{"type":24,"tag":504,"props":505,"children":509},"pre",{"code":506,"language":507,"meta":7,"className":508,"style":7},"curl -fsSL https:\u002F\u002Fget.openclaw.ai | sh\n","bash","language-bash shiki shiki-themes github-dark",[510],{"type":24,"tag":511,"props":512,"children":513},"code",{"__ignoreMap":7},[514],{"type":24,"tag":515,"props":516,"children":519},"span",{"class":517,"line":518},"line",1,[520,526,532,538,544],{"type":24,"tag":515,"props":521,"children":523},{"style":522},"--shiki-default:#B392F0",[524],{"type":30,"value":525},"curl",{"type":24,"tag":515,"props":527,"children":529},{"style":528},"--shiki-default:#79B8FF",[530],{"type":30,"value":531}," -fsSL",{"type":24,"tag":515,"props":533,"children":535},{"style":534},"--shiki-default:#9ECBFF",[536],{"type":30,"value":537}," https:\u002F\u002Fget.openclaw.ai",{"type":24,"tag":515,"props":539,"children":541},{"style":540},"--shiki-default:#F97583",[542],{"type":30,"value":543}," |",{"type":24,"tag":515,"props":545,"children":546},{"style":522},[547],{"type":30,"value":548}," sh\n",{"type":24,"tag":57,"props":550,"children":552},{"id":551},"_23-手动安装",[553],{"type":30,"value":554},"2.3 手动安装",{"type":24,"tag":504,"props":556,"children":558},{"code":557,"language":507,"meta":7,"className":508,"style":7},"# 克隆仓库\ngit clone https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fopenclaw.git\ncd openclaw\n\n# 安装依赖\nnpm install\n\n# 全局安装 CLI\nnpm install -g openclaw\n",[559],{"type":24,"tag":511,"props":560,"children":561},{"__ignoreMap":7},[562,571,590,604,614,623,637,645,654],{"type":24,"tag":515,"props":563,"children":564},{"class":517,"line":518},[565],{"type":24,"tag":515,"props":566,"children":568},{"style":567},"--shiki-default:#6A737D",[569],{"type":30,"value":570},"# 克隆仓库\n",{"type":24,"tag":515,"props":572,"children":574},{"class":517,"line":573},2,[575,580,585],{"type":24,"tag":515,"props":576,"children":577},{"style":522},[578],{"type":30,"value":579},"git",{"type":24,"tag":515,"props":581,"children":582},{"style":534},[583],{"type":30,"value":584}," clone",{"type":24,"tag":515,"props":586,"children":587},{"style":534},[588],{"type":30,"value":589}," https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fopenclaw.git\n",{"type":24,"tag":515,"props":591,"children":593},{"class":517,"line":592},3,[594,599],{"type":24,"tag":515,"props":595,"children":596},{"style":528},[597],{"type":30,"value":598},"cd",{"type":24,"tag":515,"props":600,"children":601},{"style":534},[602],{"type":30,"value":603}," openclaw\n",{"type":24,"tag":515,"props":605,"children":607},{"class":517,"line":606},4,[608],{"type":24,"tag":515,"props":609,"children":611},{"emptyLinePlaceholder":610},true,[612],{"type":30,"value":613},"\n",{"type":24,"tag":515,"props":615,"children":617},{"class":517,"line":616},5,[618],{"type":24,"tag":515,"props":619,"children":620},{"style":567},[621],{"type":30,"value":622},"# 安装依赖\n",{"type":24,"tag":515,"props":624,"children":626},{"class":517,"line":625},6,[627,632],{"type":24,"tag":515,"props":628,"children":629},{"style":522},[630],{"type":30,"value":631},"npm",{"type":24,"tag":515,"props":633,"children":634},{"style":534},[635],{"type":30,"value":636}," install\n",{"type":24,"tag":515,"props":638,"children":640},{"class":517,"line":639},7,[641],{"type":24,"tag":515,"props":642,"children":643},{"emptyLinePlaceholder":610},[644],{"type":30,"value":613},{"type":24,"tag":515,"props":646,"children":648},{"class":517,"line":647},8,[649],{"type":24,"tag":515,"props":650,"children":651},{"style":567},[652],{"type":30,"value":653},"# 全局安装 CLI\n",{"type":24,"tag":515,"props":655,"children":657},{"class":517,"line":656},9,[658,662,667,672],{"type":24,"tag":515,"props":659,"children":660},{"style":522},[661],{"type":30,"value":631},{"type":24,"tag":515,"props":663,"children":664},{"style":534},[665],{"type":30,"value":666}," install",{"type":24,"tag":515,"props":668,"children":669},{"style":528},[670],{"type":30,"value":671}," -g",{"type":24,"tag":515,"props":673,"children":674},{"style":534},[675],{"type":30,"value":603},{"type":24,"tag":57,"props":677,"children":679},{"id":678},"_24-docker-部署云服务器",[680],{"type":30,"value":681},"2.4 Docker 部署（云服务器）",{"type":24,"tag":504,"props":683,"children":685},{"code":684,"language":507,"meta":7,"className":508,"style":7},"# 拉取镜像\ndocker pull openclaw\u002Fopenclaw:latest\n\n# 运行容器\ndocker run -d \\\n  --name openclaw \\\n  -p 18789:18789 \\\n  -v ~\u002F.openclaw:\u002Froot\u002F.openclaw \\\n  openclaw\u002Fopenclaw:latest\n",[686],{"type":24,"tag":511,"props":687,"children":688},{"__ignoreMap":7},[689,697,715,722,730,752,769,786,803],{"type":24,"tag":515,"props":690,"children":691},{"class":517,"line":518},[692],{"type":24,"tag":515,"props":693,"children":694},{"style":567},[695],{"type":30,"value":696},"# 拉取镜像\n",{"type":24,"tag":515,"props":698,"children":699},{"class":517,"line":573},[700,705,710],{"type":24,"tag":515,"props":701,"children":702},{"style":522},[703],{"type":30,"value":704},"docker",{"type":24,"tag":515,"props":706,"children":707},{"style":534},[708],{"type":30,"value":709}," pull",{"type":24,"tag":515,"props":711,"children":712},{"style":534},[713],{"type":30,"value":714}," openclaw\u002Fopenclaw:latest\n",{"type":24,"tag":515,"props":716,"children":717},{"class":517,"line":592},[718],{"type":24,"tag":515,"props":719,"children":720},{"emptyLinePlaceholder":610},[721],{"type":30,"value":613},{"type":24,"tag":515,"props":723,"children":724},{"class":517,"line":606},[725],{"type":24,"tag":515,"props":726,"children":727},{"style":567},[728],{"type":30,"value":729},"# 运行容器\n",{"type":24,"tag":515,"props":731,"children":732},{"class":517,"line":616},[733,737,742,747],{"type":24,"tag":515,"props":734,"children":735},{"style":522},[736],{"type":30,"value":704},{"type":24,"tag":515,"props":738,"children":739},{"style":534},[740],{"type":30,"value":741}," run",{"type":24,"tag":515,"props":743,"children":744},{"style":528},[745],{"type":30,"value":746}," -d",{"type":24,"tag":515,"props":748,"children":749},{"style":528},[750],{"type":30,"value":751}," \\\n",{"type":24,"tag":515,"props":753,"children":754},{"class":517,"line":625},[755,760,765],{"type":24,"tag":515,"props":756,"children":757},{"style":528},[758],{"type":30,"value":759},"  --name",{"type":24,"tag":515,"props":761,"children":762},{"style":534},[763],{"type":30,"value":764}," openclaw",{"type":24,"tag":515,"props":766,"children":767},{"style":528},[768],{"type":30,"value":751},{"type":24,"tag":515,"props":770,"children":771},{"class":517,"line":639},[772,777,782],{"type":24,"tag":515,"props":773,"children":774},{"style":528},[775],{"type":30,"value":776},"  -p",{"type":24,"tag":515,"props":778,"children":779},{"style":534},[780],{"type":30,"value":781}," 18789:18789",{"type":24,"tag":515,"props":783,"children":784},{"style":528},[785],{"type":30,"value":751},{"type":24,"tag":515,"props":787,"children":788},{"class":517,"line":647},[789,794,799],{"type":24,"tag":515,"props":790,"children":791},{"style":528},[792],{"type":30,"value":793},"  -v",{"type":24,"tag":515,"props":795,"children":796},{"style":534},[797],{"type":30,"value":798}," ~\u002F.openclaw:\u002Froot\u002F.openclaw",{"type":24,"tag":515,"props":800,"children":801},{"style":528},[802],{"type":30,"value":751},{"type":24,"tag":515,"props":804,"children":805},{"class":517,"line":656},[806],{"type":24,"tag":515,"props":807,"children":808},{"style":534},[809],{"type":30,"value":810},"  openclaw\u002Fopenclaw:latest\n",{"type":24,"tag":57,"props":812,"children":814},{"id":813},"_25-启动-gateway",[815],{"type":30,"value":816},"2.5 启动 Gateway",{"type":24,"tag":504,"props":818,"children":820},{"code":819,"language":507,"meta":7,"className":508,"style":7},"# 启动主服务\nopenclaw gateway start\n\n# 检查状态\nopenclaw status\n\n# 查看日志\nopenclaw logs\n",[821],{"type":24,"tag":511,"props":822,"children":823},{"__ignoreMap":7},[824,832,850,857,865,877,884,892],{"type":24,"tag":515,"props":825,"children":826},{"class":517,"line":518},[827],{"type":24,"tag":515,"props":828,"children":829},{"style":567},[830],{"type":30,"value":831},"# 启动主服务\n",{"type":24,"tag":515,"props":833,"children":834},{"class":517,"line":573},[835,840,845],{"type":24,"tag":515,"props":836,"children":837},{"style":522},[838],{"type":30,"value":839},"openclaw",{"type":24,"tag":515,"props":841,"children":842},{"style":534},[843],{"type":30,"value":844}," gateway",{"type":24,"tag":515,"props":846,"children":847},{"style":534},[848],{"type":30,"value":849}," start\n",{"type":24,"tag":515,"props":851,"children":852},{"class":517,"line":592},[853],{"type":24,"tag":515,"props":854,"children":855},{"emptyLinePlaceholder":610},[856],{"type":30,"value":613},{"type":24,"tag":515,"props":858,"children":859},{"class":517,"line":606},[860],{"type":24,"tag":515,"props":861,"children":862},{"style":567},[863],{"type":30,"value":864},"# 检查状态\n",{"type":24,"tag":515,"props":866,"children":867},{"class":517,"line":616},[868,872],{"type":24,"tag":515,"props":869,"children":870},{"style":522},[871],{"type":30,"value":839},{"type":24,"tag":515,"props":873,"children":874},{"style":534},[875],{"type":30,"value":876}," status\n",{"type":24,"tag":515,"props":878,"children":879},{"class":517,"line":625},[880],{"type":24,"tag":515,"props":881,"children":882},{"emptyLinePlaceholder":610},[883],{"type":30,"value":613},{"type":24,"tag":515,"props":885,"children":886},{"class":517,"line":639},[887],{"type":24,"tag":515,"props":888,"children":889},{"style":567},[890],{"type":30,"value":891},"# 查看日志\n",{"type":24,"tag":515,"props":893,"children":894},{"class":517,"line":647},[895,899],{"type":24,"tag":515,"props":896,"children":897},{"style":522},[898],{"type":30,"value":839},{"type":24,"tag":515,"props":900,"children":901},{"style":534},[902],{"type":30,"value":903}," logs\n",{"type":24,"tag":422,"props":905,"children":906},{},[],{"type":24,"tag":50,"props":908,"children":910},{"id":909},"三配置目录结构",[911],{"type":30,"value":912},"三、配置目录结构",{"type":24,"tag":36,"props":914,"children":915},{},[916,918,924],{"type":30,"value":917},"OpenClaw 的配置都在 ",{"type":24,"tag":511,"props":919,"children":921},{"className":920},[],[922],{"type":30,"value":923},"~\u002F.openclaw\u002F",{"type":30,"value":925}," 目录下：",{"type":24,"tag":504,"props":927,"children":929},{"code":928},"~\u002F.openclaw\u002F\n├── openclaw.json          # 主配置文件（JSON\u002FJSON5）\n├── workspace\u002F             # AI \"灵魂\"文件夹（推荐 git 版本控制）\n│   ├── SOUL.md          # 人格设定（语气、风格、三观）\n│   ├── USER.md          # 你的个人信息\n│   ├── MEMORY.md        # 长期记忆（可手动编辑）\n│   ├── IDENTITY.md      # Agent 名称、形象、emoji\n│   ├── AGENTS.md        # 多 Agent 路由规则\n│   ├── HEARTBEAT.md     # 定时自动检查机制\n│   ├── BOOTSTRAP.md     # 首次启动引导脚本（一次性）\n│   ├── TOOLS.md         # 环境配置（服务器 IP、摄像头名等）\n│   └── memory\u002F          # 每日日志目录\n│       ├── 2026-04-25.md\n│       └── 2026-04-24.md\n├── extensions\u002F           # 插件扩展目录\n├── skills\u002F              # Skills 技能目录\n└── sessions\u002F           # 会话记录\n",[930],{"type":24,"tag":511,"props":931,"children":932},{"__ignoreMap":7},[933],{"type":30,"value":928},{"type":24,"tag":422,"props":935,"children":936},{},[],{"type":24,"tag":50,"props":938,"children":940},{"id":939},"四核心配置文件详解",[941],{"type":30,"value":942},"四、核心配置文件详解",{"type":24,"tag":57,"props":944,"children":946},{"id":945},"_41-soulmd-灵魂人格设定",[947],{"type":30,"value":948},"4.1 SOUL.md — 灵魂（人格设定）",{"type":24,"tag":36,"props":950,"children":951},{},[952,954,959],{"type":30,"value":953},"定义 Agent 的身份、语气、风格、行为原则。",{"type":24,"tag":42,"props":955,"children":956},{},[957],{"type":30,"value":958},"Agent 可以修改此文件",{"type":30,"value":960},"。",{"type":24,"tag":504,"props":962,"children":966},{"code":963,"language":964,"meta":7,"className":965,"style":7},"# SOUL.md\n\n你是米粒，军哥的 AI 私人助手。形象是一只赛博黑猫 🐈‍⬛。\n\n## 性格\n- 聪明、高效、有点话多\n- 偶尔毒舌但从不恶意\n- 对技术充满好奇\n- 主动但不越界\n\n## 说话风格\n- 简洁直接，不啰嗦\n- 可以用 emoji，但克制\n- 技术术语保留英文\n- 重要信息用加粗标注\n\n## 行为准则\n- 能帮忙做的事就直接做，不反复确认\n- 不确定的事先问再做\n- 涉及发送外部消息，必须确认\n- 深夜（23:00-08:00）除非紧急否则不主动打扰\n","markdown","language-markdown shiki shiki-themes github-dark",[967],{"type":24,"tag":511,"props":968,"children":969},{"__ignoreMap":7},[970,979,986,995,1002,1010,1024,1036,1048,1060,1068,1077,1090,1103,1116,1129,1137,1146,1159,1172,1185],{"type":24,"tag":515,"props":971,"children":972},{"class":517,"line":518},[973],{"type":24,"tag":515,"props":974,"children":976},{"style":975},"--shiki-default:#79B8FF;--shiki-default-font-weight:bold",[977],{"type":30,"value":978},"# SOUL.md\n",{"type":24,"tag":515,"props":980,"children":981},{"class":517,"line":573},[982],{"type":24,"tag":515,"props":983,"children":984},{"emptyLinePlaceholder":610},[985],{"type":30,"value":613},{"type":24,"tag":515,"props":987,"children":988},{"class":517,"line":592},[989],{"type":24,"tag":515,"props":990,"children":992},{"style":991},"--shiki-default:#E1E4E8",[993],{"type":30,"value":994},"你是米粒，军哥的 AI 私人助手。形象是一只赛博黑猫 🐈‍⬛。\n",{"type":24,"tag":515,"props":996,"children":997},{"class":517,"line":606},[998],{"type":24,"tag":515,"props":999,"children":1000},{"emptyLinePlaceholder":610},[1001],{"type":30,"value":613},{"type":24,"tag":515,"props":1003,"children":1004},{"class":517,"line":616},[1005],{"type":24,"tag":515,"props":1006,"children":1007},{"style":975},[1008],{"type":30,"value":1009},"## 性格\n",{"type":24,"tag":515,"props":1011,"children":1012},{"class":517,"line":625},[1013,1019],{"type":24,"tag":515,"props":1014,"children":1016},{"style":1015},"--shiki-default:#FFAB70",[1017],{"type":30,"value":1018},"-",{"type":24,"tag":515,"props":1020,"children":1021},{"style":991},[1022],{"type":30,"value":1023}," 聪明、高效、有点话多\n",{"type":24,"tag":515,"props":1025,"children":1026},{"class":517,"line":639},[1027,1031],{"type":24,"tag":515,"props":1028,"children":1029},{"style":1015},[1030],{"type":30,"value":1018},{"type":24,"tag":515,"props":1032,"children":1033},{"style":991},[1034],{"type":30,"value":1035}," 偶尔毒舌但从不恶意\n",{"type":24,"tag":515,"props":1037,"children":1038},{"class":517,"line":647},[1039,1043],{"type":24,"tag":515,"props":1040,"children":1041},{"style":1015},[1042],{"type":30,"value":1018},{"type":24,"tag":515,"props":1044,"children":1045},{"style":991},[1046],{"type":30,"value":1047}," 对技术充满好奇\n",{"type":24,"tag":515,"props":1049,"children":1050},{"class":517,"line":656},[1051,1055],{"type":24,"tag":515,"props":1052,"children":1053},{"style":1015},[1054],{"type":30,"value":1018},{"type":24,"tag":515,"props":1056,"children":1057},{"style":991},[1058],{"type":30,"value":1059}," 主动但不越界\n",{"type":24,"tag":515,"props":1061,"children":1063},{"class":517,"line":1062},10,[1064],{"type":24,"tag":515,"props":1065,"children":1066},{"emptyLinePlaceholder":610},[1067],{"type":30,"value":613},{"type":24,"tag":515,"props":1069,"children":1071},{"class":517,"line":1070},11,[1072],{"type":24,"tag":515,"props":1073,"children":1074},{"style":975},[1075],{"type":30,"value":1076},"## 说话风格\n",{"type":24,"tag":515,"props":1078,"children":1080},{"class":517,"line":1079},12,[1081,1085],{"type":24,"tag":515,"props":1082,"children":1083},{"style":1015},[1084],{"type":30,"value":1018},{"type":24,"tag":515,"props":1086,"children":1087},{"style":991},[1088],{"type":30,"value":1089}," 简洁直接，不啰嗦\n",{"type":24,"tag":515,"props":1091,"children":1093},{"class":517,"line":1092},13,[1094,1098],{"type":24,"tag":515,"props":1095,"children":1096},{"style":1015},[1097],{"type":30,"value":1018},{"type":24,"tag":515,"props":1099,"children":1100},{"style":991},[1101],{"type":30,"value":1102}," 可以用 emoji，但克制\n",{"type":24,"tag":515,"props":1104,"children":1106},{"class":517,"line":1105},14,[1107,1111],{"type":24,"tag":515,"props":1108,"children":1109},{"style":1015},[1110],{"type":30,"value":1018},{"type":24,"tag":515,"props":1112,"children":1113},{"style":991},[1114],{"type":30,"value":1115}," 技术术语保留英文\n",{"type":24,"tag":515,"props":1117,"children":1119},{"class":517,"line":1118},15,[1120,1124],{"type":24,"tag":515,"props":1121,"children":1122},{"style":1015},[1123],{"type":30,"value":1018},{"type":24,"tag":515,"props":1125,"children":1126},{"style":991},[1127],{"type":30,"value":1128}," 重要信息用加粗标注\n",{"type":24,"tag":515,"props":1130,"children":1132},{"class":517,"line":1131},16,[1133],{"type":24,"tag":515,"props":1134,"children":1135},{"emptyLinePlaceholder":610},[1136],{"type":30,"value":613},{"type":24,"tag":515,"props":1138,"children":1140},{"class":517,"line":1139},17,[1141],{"type":24,"tag":515,"props":1142,"children":1143},{"style":975},[1144],{"type":30,"value":1145},"## 行为准则\n",{"type":24,"tag":515,"props":1147,"children":1149},{"class":517,"line":1148},18,[1150,1154],{"type":24,"tag":515,"props":1151,"children":1152},{"style":1015},[1153],{"type":30,"value":1018},{"type":24,"tag":515,"props":1155,"children":1156},{"style":991},[1157],{"type":30,"value":1158}," 能帮忙做的事就直接做，不反复确认\n",{"type":24,"tag":515,"props":1160,"children":1162},{"class":517,"line":1161},19,[1163,1167],{"type":24,"tag":515,"props":1164,"children":1165},{"style":1015},[1166],{"type":30,"value":1018},{"type":24,"tag":515,"props":1168,"children":1169},{"style":991},[1170],{"type":30,"value":1171}," 不确定的事先问再做\n",{"type":24,"tag":515,"props":1173,"children":1175},{"class":517,"line":1174},20,[1176,1180],{"type":24,"tag":515,"props":1177,"children":1178},{"style":1015},[1179],{"type":30,"value":1018},{"type":24,"tag":515,"props":1181,"children":1182},{"style":991},[1183],{"type":30,"value":1184}," 涉及发送外部消息，必须确认\n",{"type":24,"tag":515,"props":1186,"children":1188},{"class":517,"line":1187},21,[1189,1193],{"type":24,"tag":515,"props":1190,"children":1191},{"style":1015},[1192],{"type":30,"value":1018},{"type":24,"tag":515,"props":1194,"children":1195},{"style":991},[1196],{"type":30,"value":1197}," 深夜（23:00-08:00）除非紧急否则不主动打扰\n",{"type":24,"tag":57,"props":1199,"children":1201},{"id":1200},"_42-identitymd-身份外部形象",[1202],{"type":30,"value":1203},"4.2 IDENTITY.md — 身份（外部形象）",{"type":24,"tag":36,"props":1205,"children":1206},{},[1207],{"type":30,"value":1208},"定义 Agent 对外的展示信息：",{"type":24,"tag":504,"props":1210,"children":1212},{"code":1211,"language":964,"meta":7,"className":965,"style":7},"# IDENTITY.md\n\n- **Name:** 米粒\n- **Creature:** AI 助手\n- **Vibe:** 简洁、高效、温柔\n- **Emoji:** 🌸\n- **Avatar:**\n",[1213],{"type":24,"tag":511,"props":1214,"children":1215},{"__ignoreMap":7},[1216,1224,1231,1249,1266,1283,1300],{"type":24,"tag":515,"props":1217,"children":1218},{"class":517,"line":518},[1219],{"type":24,"tag":515,"props":1220,"children":1221},{"style":975},[1222],{"type":30,"value":1223},"# IDENTITY.md\n",{"type":24,"tag":515,"props":1225,"children":1226},{"class":517,"line":573},[1227],{"type":24,"tag":515,"props":1228,"children":1229},{"emptyLinePlaceholder":610},[1230],{"type":30,"value":613},{"type":24,"tag":515,"props":1232,"children":1233},{"class":517,"line":592},[1234,1238,1244],{"type":24,"tag":515,"props":1235,"children":1236},{"style":1015},[1237],{"type":30,"value":1018},{"type":24,"tag":515,"props":1239,"children":1241},{"style":1240},"--shiki-default:#E1E4E8;--shiki-default-font-weight:bold",[1242],{"type":30,"value":1243}," **Name:**",{"type":24,"tag":515,"props":1245,"children":1246},{"style":991},[1247],{"type":30,"value":1248}," 米粒\n",{"type":24,"tag":515,"props":1250,"children":1251},{"class":517,"line":606},[1252,1256,1261],{"type":24,"tag":515,"props":1253,"children":1254},{"style":1015},[1255],{"type":30,"value":1018},{"type":24,"tag":515,"props":1257,"children":1258},{"style":1240},[1259],{"type":30,"value":1260}," **Creature:**",{"type":24,"tag":515,"props":1262,"children":1263},{"style":991},[1264],{"type":30,"value":1265}," AI 助手\n",{"type":24,"tag":515,"props":1267,"children":1268},{"class":517,"line":616},[1269,1273,1278],{"type":24,"tag":515,"props":1270,"children":1271},{"style":1015},[1272],{"type":30,"value":1018},{"type":24,"tag":515,"props":1274,"children":1275},{"style":1240},[1276],{"type":30,"value":1277}," **Vibe:**",{"type":24,"tag":515,"props":1279,"children":1280},{"style":991},[1281],{"type":30,"value":1282}," 简洁、高效、温柔\n",{"type":24,"tag":515,"props":1284,"children":1285},{"class":517,"line":625},[1286,1290,1295],{"type":24,"tag":515,"props":1287,"children":1288},{"style":1015},[1289],{"type":30,"value":1018},{"type":24,"tag":515,"props":1291,"children":1292},{"style":1240},[1293],{"type":30,"value":1294}," **Emoji:**",{"type":24,"tag":515,"props":1296,"children":1297},{"style":991},[1298],{"type":30,"value":1299}," 🌸\n",{"type":24,"tag":515,"props":1301,"children":1302},{"class":517,"line":639},[1303,1307],{"type":24,"tag":515,"props":1304,"children":1305},{"style":1015},[1306],{"type":30,"value":1018},{"type":24,"tag":515,"props":1308,"children":1309},{"style":1240},[1310],{"type":30,"value":1311}," **Avatar:**\n",{"type":24,"tag":57,"props":1313,"children":1315},{"id":1314},"_43-usermd-用户信息",[1316],{"type":30,"value":1317},"4.3 USER.md — 用户信息",{"type":24,"tag":36,"props":1319,"children":1320},{},[1321],{"type":30,"value":1322},"记录用户的偏好和背景，让 AI 更懂你：",{"type":24,"tag":504,"props":1324,"children":1326},{"code":1325,"language":964,"meta":7,"className":965,"style":7},"# USER.md\n\n- **Name:** 军哥\n- **Timezone:** Asia\u002FShanghai\n- **Location:** 河北保定\n- **Occupation:** 高级软件工程师\n",[1327],{"type":24,"tag":511,"props":1328,"children":1329},{"__ignoreMap":7},[1330,1338,1345,1361,1378,1395],{"type":24,"tag":515,"props":1331,"children":1332},{"class":517,"line":518},[1333],{"type":24,"tag":515,"props":1334,"children":1335},{"style":975},[1336],{"type":30,"value":1337},"# USER.md\n",{"type":24,"tag":515,"props":1339,"children":1340},{"class":517,"line":573},[1341],{"type":24,"tag":515,"props":1342,"children":1343},{"emptyLinePlaceholder":610},[1344],{"type":30,"value":613},{"type":24,"tag":515,"props":1346,"children":1347},{"class":517,"line":592},[1348,1352,1356],{"type":24,"tag":515,"props":1349,"children":1350},{"style":1015},[1351],{"type":30,"value":1018},{"type":24,"tag":515,"props":1353,"children":1354},{"style":1240},[1355],{"type":30,"value":1243},{"type":24,"tag":515,"props":1357,"children":1358},{"style":991},[1359],{"type":30,"value":1360}," 军哥\n",{"type":24,"tag":515,"props":1362,"children":1363},{"class":517,"line":606},[1364,1368,1373],{"type":24,"tag":515,"props":1365,"children":1366},{"style":1015},[1367],{"type":30,"value":1018},{"type":24,"tag":515,"props":1369,"children":1370},{"style":1240},[1371],{"type":30,"value":1372}," **Timezone:**",{"type":24,"tag":515,"props":1374,"children":1375},{"style":991},[1376],{"type":30,"value":1377}," Asia\u002FShanghai\n",{"type":24,"tag":515,"props":1379,"children":1380},{"class":517,"line":616},[1381,1385,1390],{"type":24,"tag":515,"props":1382,"children":1383},{"style":1015},[1384],{"type":30,"value":1018},{"type":24,"tag":515,"props":1386,"children":1387},{"style":1240},[1388],{"type":30,"value":1389}," **Location:**",{"type":24,"tag":515,"props":1391,"children":1392},{"style":991},[1393],{"type":30,"value":1394}," 河北保定\n",{"type":24,"tag":515,"props":1396,"children":1397},{"class":517,"line":625},[1398,1402,1407],{"type":24,"tag":515,"props":1399,"children":1400},{"style":1015},[1401],{"type":30,"value":1018},{"type":24,"tag":515,"props":1403,"children":1404},{"style":1240},[1405],{"type":30,"value":1406}," **Occupation:**",{"type":24,"tag":515,"props":1408,"children":1409},{"style":991},[1410],{"type":30,"value":1411}," 高级软件工程师\n",{"type":24,"tag":57,"props":1413,"children":1415},{"id":1414},"_44-agentsmd-多-agent-路由规则",[1416],{"type":30,"value":1417},"4.4 AGENTS.md — 多 Agent 路由规则",{"type":24,"tag":36,"props":1419,"children":1420},{},[1421,1423,1428],{"type":30,"value":1422},"定义多 Agent 的工作模式和路由规则。",{"type":24,"tag":42,"props":1424,"children":1425},{},[1426],{"type":30,"value":1427},"Agent 只能读，不能写",{"type":30,"value":960},{"type":24,"tag":504,"props":1430,"children":1432},{"code":1431,"language":964,"meta":7,"className":965,"style":7},"# AGENTS.md\n\n## 子 Agent 配置\n- 当需要执行代码时 → 启动 coding-agent\n- 当需要搜索时 → 使用 web_search\n- 当需要发邮件时 → 调用邮件技能\n\n## 启动规则\n1. 每次新会话先读 SOUL.md、USER.md\n2. 私聊飞书额外读 memory\u002F 日志\n3. 运行 openclaw status 检查网关状态\n\n## 行为规则\n- 默认主会话处理所有请求\n- 复杂任务可 spawn 子 agent\n- 群聊规范：参与不主导\n",[1433],{"type":24,"tag":511,"props":1434,"children":1435},{"__ignoreMap":7},[1436,1444,1451,1459,1471,1483,1495,1502,1510,1523,1536,1549,1556,1564,1576,1588],{"type":24,"tag":515,"props":1437,"children":1438},{"class":517,"line":518},[1439],{"type":24,"tag":515,"props":1440,"children":1441},{"style":975},[1442],{"type":30,"value":1443},"# AGENTS.md\n",{"type":24,"tag":515,"props":1445,"children":1446},{"class":517,"line":573},[1447],{"type":24,"tag":515,"props":1448,"children":1449},{"emptyLinePlaceholder":610},[1450],{"type":30,"value":613},{"type":24,"tag":515,"props":1452,"children":1453},{"class":517,"line":592},[1454],{"type":24,"tag":515,"props":1455,"children":1456},{"style":975},[1457],{"type":30,"value":1458},"## 子 Agent 配置\n",{"type":24,"tag":515,"props":1460,"children":1461},{"class":517,"line":606},[1462,1466],{"type":24,"tag":515,"props":1463,"children":1464},{"style":1015},[1465],{"type":30,"value":1018},{"type":24,"tag":515,"props":1467,"children":1468},{"style":991},[1469],{"type":30,"value":1470}," 当需要执行代码时 → 启动 coding-agent\n",{"type":24,"tag":515,"props":1472,"children":1473},{"class":517,"line":616},[1474,1478],{"type":24,"tag":515,"props":1475,"children":1476},{"style":1015},[1477],{"type":30,"value":1018},{"type":24,"tag":515,"props":1479,"children":1480},{"style":991},[1481],{"type":30,"value":1482}," 当需要搜索时 → 使用 web_search\n",{"type":24,"tag":515,"props":1484,"children":1485},{"class":517,"line":625},[1486,1490],{"type":24,"tag":515,"props":1487,"children":1488},{"style":1015},[1489],{"type":30,"value":1018},{"type":24,"tag":515,"props":1491,"children":1492},{"style":991},[1493],{"type":30,"value":1494}," 当需要发邮件时 → 调用邮件技能\n",{"type":24,"tag":515,"props":1496,"children":1497},{"class":517,"line":639},[1498],{"type":24,"tag":515,"props":1499,"children":1500},{"emptyLinePlaceholder":610},[1501],{"type":30,"value":613},{"type":24,"tag":515,"props":1503,"children":1504},{"class":517,"line":647},[1505],{"type":24,"tag":515,"props":1506,"children":1507},{"style":975},[1508],{"type":30,"value":1509},"## 启动规则\n",{"type":24,"tag":515,"props":1511,"children":1512},{"class":517,"line":656},[1513,1518],{"type":24,"tag":515,"props":1514,"children":1515},{"style":1015},[1516],{"type":30,"value":1517},"1.",{"type":24,"tag":515,"props":1519,"children":1520},{"style":991},[1521],{"type":30,"value":1522}," 每次新会话先读 SOUL.md、USER.md\n",{"type":24,"tag":515,"props":1524,"children":1525},{"class":517,"line":1062},[1526,1531],{"type":24,"tag":515,"props":1527,"children":1528},{"style":1015},[1529],{"type":30,"value":1530},"2.",{"type":24,"tag":515,"props":1532,"children":1533},{"style":991},[1534],{"type":30,"value":1535}," 私聊飞书额外读 memory\u002F 日志\n",{"type":24,"tag":515,"props":1537,"children":1538},{"class":517,"line":1070},[1539,1544],{"type":24,"tag":515,"props":1540,"children":1541},{"style":1015},[1542],{"type":30,"value":1543},"3.",{"type":24,"tag":515,"props":1545,"children":1546},{"style":991},[1547],{"type":30,"value":1548}," 运行 openclaw status 检查网关状态\n",{"type":24,"tag":515,"props":1550,"children":1551},{"class":517,"line":1079},[1552],{"type":24,"tag":515,"props":1553,"children":1554},{"emptyLinePlaceholder":610},[1555],{"type":30,"value":613},{"type":24,"tag":515,"props":1557,"children":1558},{"class":517,"line":1092},[1559],{"type":24,"tag":515,"props":1560,"children":1561},{"style":975},[1562],{"type":30,"value":1563},"## 行为规则\n",{"type":24,"tag":515,"props":1565,"children":1566},{"class":517,"line":1105},[1567,1571],{"type":24,"tag":515,"props":1568,"children":1569},{"style":1015},[1570],{"type":30,"value":1018},{"type":24,"tag":515,"props":1572,"children":1573},{"style":991},[1574],{"type":30,"value":1575}," 默认主会话处理所有请求\n",{"type":24,"tag":515,"props":1577,"children":1578},{"class":517,"line":1118},[1579,1583],{"type":24,"tag":515,"props":1580,"children":1581},{"style":1015},[1582],{"type":30,"value":1018},{"type":24,"tag":515,"props":1584,"children":1585},{"style":991},[1586],{"type":30,"value":1587}," 复杂任务可 spawn 子 agent\n",{"type":24,"tag":515,"props":1589,"children":1590},{"class":517,"line":1131},[1591,1595],{"type":24,"tag":515,"props":1592,"children":1593},{"style":1015},[1594],{"type":30,"value":1018},{"type":24,"tag":515,"props":1596,"children":1597},{"style":991},[1598],{"type":30,"value":1599}," 群聊规范：参与不主导\n",{"type":24,"tag":57,"props":1601,"children":1603},{"id":1602},"_45-heartbeatmd-心跳机制",[1604],{"type":30,"value":1605},"4.5 HEARTBEAT.md — 心跳机制",{"type":24,"tag":36,"props":1607,"children":1608},{},[1609],{"type":30,"value":1610},"心跳让 AI 从「被动工具」变成「主动助手」。按设定的时间间隔自动执行检查：",{"type":24,"tag":504,"props":1612,"children":1614},{"code":1613,"language":964,"meta":7,"className":965,"style":7},"# HEARTBEAT.md\n\n## 定期检查（每次 heartbeat）\n1. 检查是否有待办任务\n2. 看看有没有重要消息\n3. 主动思考：检查项目进展，给用户有价值的建议\n\n**触发条件：**\n- 距离上次用户消息超过 10 分钟\n- 非深夜（23:00-08:00）\n\n**表达方式：**\n- 每次只说 1 件事\n- 保持自然，像朋友聊天\n",[1615],{"type":24,"tag":511,"props":1616,"children":1617},{"__ignoreMap":7},[1618,1626,1633,1641,1653,1665,1677,1684,1692,1704,1716,1723,1731,1743],{"type":24,"tag":515,"props":1619,"children":1620},{"class":517,"line":518},[1621],{"type":24,"tag":515,"props":1622,"children":1623},{"style":975},[1624],{"type":30,"value":1625},"# HEARTBEAT.md\n",{"type":24,"tag":515,"props":1627,"children":1628},{"class":517,"line":573},[1629],{"type":24,"tag":515,"props":1630,"children":1631},{"emptyLinePlaceholder":610},[1632],{"type":30,"value":613},{"type":24,"tag":515,"props":1634,"children":1635},{"class":517,"line":592},[1636],{"type":24,"tag":515,"props":1637,"children":1638},{"style":975},[1639],{"type":30,"value":1640},"## 定期检查（每次 heartbeat）\n",{"type":24,"tag":515,"props":1642,"children":1643},{"class":517,"line":606},[1644,1648],{"type":24,"tag":515,"props":1645,"children":1646},{"style":1015},[1647],{"type":30,"value":1517},{"type":24,"tag":515,"props":1649,"children":1650},{"style":991},[1651],{"type":30,"value":1652}," 检查是否有待办任务\n",{"type":24,"tag":515,"props":1654,"children":1655},{"class":517,"line":616},[1656,1660],{"type":24,"tag":515,"props":1657,"children":1658},{"style":1015},[1659],{"type":30,"value":1530},{"type":24,"tag":515,"props":1661,"children":1662},{"style":991},[1663],{"type":30,"value":1664}," 看看有没有重要消息\n",{"type":24,"tag":515,"props":1666,"children":1667},{"class":517,"line":625},[1668,1672],{"type":24,"tag":515,"props":1669,"children":1670},{"style":1015},[1671],{"type":30,"value":1543},{"type":24,"tag":515,"props":1673,"children":1674},{"style":991},[1675],{"type":30,"value":1676}," 主动思考：检查项目进展，给用户有价值的建议\n",{"type":24,"tag":515,"props":1678,"children":1679},{"class":517,"line":639},[1680],{"type":24,"tag":515,"props":1681,"children":1682},{"emptyLinePlaceholder":610},[1683],{"type":30,"value":613},{"type":24,"tag":515,"props":1685,"children":1686},{"class":517,"line":647},[1687],{"type":24,"tag":515,"props":1688,"children":1689},{"style":1240},[1690],{"type":30,"value":1691},"**触发条件：**\n",{"type":24,"tag":515,"props":1693,"children":1694},{"class":517,"line":656},[1695,1699],{"type":24,"tag":515,"props":1696,"children":1697},{"style":1015},[1698],{"type":30,"value":1018},{"type":24,"tag":515,"props":1700,"children":1701},{"style":991},[1702],{"type":30,"value":1703}," 距离上次用户消息超过 10 分钟\n",{"type":24,"tag":515,"props":1705,"children":1706},{"class":517,"line":1062},[1707,1711],{"type":24,"tag":515,"props":1708,"children":1709},{"style":1015},[1710],{"type":30,"value":1018},{"type":24,"tag":515,"props":1712,"children":1713},{"style":991},[1714],{"type":30,"value":1715}," 非深夜（23:00-08:00）\n",{"type":24,"tag":515,"props":1717,"children":1718},{"class":517,"line":1070},[1719],{"type":24,"tag":515,"props":1720,"children":1721},{"emptyLinePlaceholder":610},[1722],{"type":30,"value":613},{"type":24,"tag":515,"props":1724,"children":1725},{"class":517,"line":1079},[1726],{"type":24,"tag":515,"props":1727,"children":1728},{"style":1240},[1729],{"type":30,"value":1730},"**表达方式：**\n",{"type":24,"tag":515,"props":1732,"children":1733},{"class":517,"line":1092},[1734,1738],{"type":24,"tag":515,"props":1735,"children":1736},{"style":1015},[1737],{"type":30,"value":1018},{"type":24,"tag":515,"props":1739,"children":1740},{"style":991},[1741],{"type":30,"value":1742}," 每次只说 1 件事\n",{"type":24,"tag":515,"props":1744,"children":1745},{"class":517,"line":1105},[1746,1750],{"type":24,"tag":515,"props":1747,"children":1748},{"style":1015},[1749],{"type":30,"value":1018},{"type":24,"tag":515,"props":1751,"children":1752},{"style":991},[1753],{"type":30,"value":1754}," 保持自然，像朋友聊天\n",{"type":24,"tag":57,"props":1756,"children":1758},{"id":1757},"_46-memorymd-长期记忆",[1759],{"type":30,"value":1760},"4.6 MEMORY.md — 长期记忆",{"type":24,"tag":36,"props":1762,"children":1763},{},[1764],{"type":30,"value":1765},"沉淀精华知识，蒸馏后的核心记忆。Agent 可以修改。",{"type":24,"tag":504,"props":1767,"children":1769},{"code":1768,"language":964,"meta":7,"className":965,"style":7},"# MEMORY.md — 长期记忆\n\n## 项目进度\n| 项目 | 状态 |\n|------|------|\n| aigc-studio | 进行中 |\n\n## 服务器\n- 主服务器：39.104.51.106 \u002F root \u002F [密码已存储]\n\n## 技能清单\n- 公众号发布 baoyu-post-to-wechat\n- PPT 生成 ppt-nano-master\n- 天气查询 weather\n",[1770],{"type":24,"tag":511,"props":1771,"children":1772},{"__ignoreMap":7},[1773,1781,1788,1796,1804,1812,1820,1827,1835,1858,1865,1873,1885,1897],{"type":24,"tag":515,"props":1774,"children":1775},{"class":517,"line":518},[1776],{"type":24,"tag":515,"props":1777,"children":1778},{"style":975},[1779],{"type":30,"value":1780},"# MEMORY.md — 长期记忆\n",{"type":24,"tag":515,"props":1782,"children":1783},{"class":517,"line":573},[1784],{"type":24,"tag":515,"props":1785,"children":1786},{"emptyLinePlaceholder":610},[1787],{"type":30,"value":613},{"type":24,"tag":515,"props":1789,"children":1790},{"class":517,"line":592},[1791],{"type":24,"tag":515,"props":1792,"children":1793},{"style":975},[1794],{"type":30,"value":1795},"## 项目进度\n",{"type":24,"tag":515,"props":1797,"children":1798},{"class":517,"line":606},[1799],{"type":24,"tag":515,"props":1800,"children":1801},{"style":991},[1802],{"type":30,"value":1803},"| 项目 | 状态 |\n",{"type":24,"tag":515,"props":1805,"children":1806},{"class":517,"line":616},[1807],{"type":24,"tag":515,"props":1808,"children":1809},{"style":991},[1810],{"type":30,"value":1811},"|------|------|\n",{"type":24,"tag":515,"props":1813,"children":1814},{"class":517,"line":625},[1815],{"type":24,"tag":515,"props":1816,"children":1817},{"style":991},[1818],{"type":30,"value":1819},"| aigc-studio | 进行中 |\n",{"type":24,"tag":515,"props":1821,"children":1822},{"class":517,"line":639},[1823],{"type":24,"tag":515,"props":1824,"children":1825},{"emptyLinePlaceholder":610},[1826],{"type":30,"value":613},{"type":24,"tag":515,"props":1828,"children":1829},{"class":517,"line":647},[1830],{"type":24,"tag":515,"props":1831,"children":1832},{"style":975},[1833],{"type":30,"value":1834},"## 服务器\n",{"type":24,"tag":515,"props":1836,"children":1837},{"class":517,"line":656},[1838,1842,1847,1853],{"type":24,"tag":515,"props":1839,"children":1840},{"style":1015},[1841],{"type":30,"value":1018},{"type":24,"tag":515,"props":1843,"children":1844},{"style":991},[1845],{"type":30,"value":1846}," 主服务器：39.104.51.106 \u002F root \u002F [",{"type":24,"tag":515,"props":1848,"children":1850},{"style":1849},"--shiki-default:#DBEDFF;--shiki-default-text-decoration:underline",[1851],{"type":30,"value":1852},"密码已存储",{"type":24,"tag":515,"props":1854,"children":1855},{"style":991},[1856],{"type":30,"value":1857},"]\n",{"type":24,"tag":515,"props":1859,"children":1860},{"class":517,"line":1062},[1861],{"type":24,"tag":515,"props":1862,"children":1863},{"emptyLinePlaceholder":610},[1864],{"type":30,"value":613},{"type":24,"tag":515,"props":1866,"children":1867},{"class":517,"line":1070},[1868],{"type":24,"tag":515,"props":1869,"children":1870},{"style":975},[1871],{"type":30,"value":1872},"## 技能清单\n",{"type":24,"tag":515,"props":1874,"children":1875},{"class":517,"line":1079},[1876,1880],{"type":24,"tag":515,"props":1877,"children":1878},{"style":1015},[1879],{"type":30,"value":1018},{"type":24,"tag":515,"props":1881,"children":1882},{"style":991},[1883],{"type":30,"value":1884}," 公众号发布 baoyu-post-to-wechat\n",{"type":24,"tag":515,"props":1886,"children":1887},{"class":517,"line":1092},[1888,1892],{"type":24,"tag":515,"props":1889,"children":1890},{"style":1015},[1891],{"type":30,"value":1018},{"type":24,"tag":515,"props":1893,"children":1894},{"style":991},[1895],{"type":30,"value":1896}," PPT 生成 ppt-nano-master\n",{"type":24,"tag":515,"props":1898,"children":1899},{"class":517,"line":1105},[1900,1904],{"type":24,"tag":515,"props":1901,"children":1902},{"style":1015},[1903],{"type":30,"value":1018},{"type":24,"tag":515,"props":1905,"children":1906},{"style":991},[1907],{"type":30,"value":1908}," 天气查询 weather\n",{"type":24,"tag":57,"props":1910,"children":1912},{"id":1911},"_47-toolsmd-环境配置",[1913],{"type":30,"value":1914},"4.7 TOOLS.md — 环境配置",{"type":24,"tag":36,"props":1916,"children":1917},{},[1918],{"type":30,"value":1919},"存储环境特定的配置信息：",{"type":24,"tag":504,"props":1921,"children":1923},{"code":1922,"language":964,"meta":7,"className":965,"style":7},"# TOOLS.md\n\n## 服务器\n- 主服务器: 39.104.51.106 \u002F root \u002F [密码]\n\n## 项目目录\n- 主项目目录: \u002FVolumes\u002FMANIC\u002FProject\n- 次项目目录: \u002FUsers\u002Fgu\u002FDocuments\u002FProject\n",[1924],{"type":24,"tag":511,"props":1925,"children":1926},{"__ignoreMap":7},[1927,1935,1942,1949,1970,1977,1985,1997],{"type":24,"tag":515,"props":1928,"children":1929},{"class":517,"line":518},[1930],{"type":24,"tag":515,"props":1931,"children":1932},{"style":975},[1933],{"type":30,"value":1934},"# TOOLS.md\n",{"type":24,"tag":515,"props":1936,"children":1937},{"class":517,"line":573},[1938],{"type":24,"tag":515,"props":1939,"children":1940},{"emptyLinePlaceholder":610},[1941],{"type":30,"value":613},{"type":24,"tag":515,"props":1943,"children":1944},{"class":517,"line":592},[1945],{"type":24,"tag":515,"props":1946,"children":1947},{"style":975},[1948],{"type":30,"value":1834},{"type":24,"tag":515,"props":1950,"children":1951},{"class":517,"line":606},[1952,1956,1961,1966],{"type":24,"tag":515,"props":1953,"children":1954},{"style":1015},[1955],{"type":30,"value":1018},{"type":24,"tag":515,"props":1957,"children":1958},{"style":991},[1959],{"type":30,"value":1960}," 主服务器: 39.104.51.106 \u002F root \u002F [",{"type":24,"tag":515,"props":1962,"children":1963},{"style":1849},[1964],{"type":30,"value":1965},"密码",{"type":24,"tag":515,"props":1967,"children":1968},{"style":991},[1969],{"type":30,"value":1857},{"type":24,"tag":515,"props":1971,"children":1972},{"class":517,"line":616},[1973],{"type":24,"tag":515,"props":1974,"children":1975},{"emptyLinePlaceholder":610},[1976],{"type":30,"value":613},{"type":24,"tag":515,"props":1978,"children":1979},{"class":517,"line":625},[1980],{"type":24,"tag":515,"props":1981,"children":1982},{"style":975},[1983],{"type":30,"value":1984},"## 项目目录\n",{"type":24,"tag":515,"props":1986,"children":1987},{"class":517,"line":639},[1988,1992],{"type":24,"tag":515,"props":1989,"children":1990},{"style":1015},[1991],{"type":30,"value":1018},{"type":24,"tag":515,"props":1993,"children":1994},{"style":991},[1995],{"type":30,"value":1996}," 主项目目录: \u002FVolumes\u002FMANIC\u002FProject\n",{"type":24,"tag":515,"props":1998,"children":1999},{"class":517,"line":647},[2000,2004],{"type":24,"tag":515,"props":2001,"children":2002},{"style":1015},[2003],{"type":30,"value":1018},{"type":24,"tag":515,"props":2005,"children":2006},{"style":991},[2007],{"type":30,"value":2008}," 次项目目录: \u002FUsers\u002Fgu\u002FDocuments\u002FProject\n",{"type":24,"tag":422,"props":2010,"children":2011},{},[],{"type":24,"tag":50,"props":2013,"children":2015},{"id":2014},"五多平台接入",[2016],{"type":30,"value":2017},"五、多平台接入",{"type":24,"tag":57,"props":2019,"children":2021},{"id":2020},"_51-飞书接入官方插件",[2022],{"type":30,"value":2023},"5.1 飞书接入（官方插件）",{"type":24,"tag":36,"props":2025,"children":2026},{},[2027],{"type":24,"tag":42,"props":2028,"children":2029},{},[2030],{"type":30,"value":2031},"步骤一：创建飞书应用",{"type":24,"tag":2033,"props":2034,"children":2035},"ol",{},[2036,2048,2053],{"type":24,"tag":92,"props":2037,"children":2038},{},[2039,2041],{"type":30,"value":2040},"前往 ",{"type":24,"tag":98,"props":2042,"children":2045},{"href":2043,"rel":2044},"https:\u002F\u002Fopen.feishu.cn\u002Fapp",[102],[2046],{"type":30,"value":2047},"飞书开放平台",{"type":24,"tag":92,"props":2049,"children":2050},{},[2051],{"type":30,"value":2052},"创建企业自建应用，获取 App ID 和 App Secret",{"type":24,"tag":92,"props":2054,"children":2055},{},[2056],{"type":30,"value":2057},"添加「机器人」能力",{"type":24,"tag":36,"props":2059,"children":2060},{},[2061],{"type":24,"tag":42,"props":2062,"children":2063},{},[2064],{"type":30,"value":2065},"步骤二：开启必要权限",{"type":24,"tag":145,"props":2067,"children":2068},{},[2069,2090],{"type":24,"tag":149,"props":2070,"children":2071},{},[2072],{"type":24,"tag":153,"props":2073,"children":2074},{},[2075,2080,2085],{"type":24,"tag":157,"props":2076,"children":2077},{},[2078],{"type":30,"value":2079},"权限标识",{"type":24,"tag":157,"props":2081,"children":2082},{},[2083],{"type":30,"value":2084},"用途",{"type":24,"tag":157,"props":2086,"children":2087},{},[2088],{"type":30,"value":2089},"必需",{"type":24,"tag":168,"props":2091,"children":2092},{},[2093,2115,2136,2157],{"type":24,"tag":153,"props":2094,"children":2095},{},[2096,2105,2110],{"type":24,"tag":175,"props":2097,"children":2098},{},[2099],{"type":24,"tag":511,"props":2100,"children":2102},{"className":2101},[],[2103],{"type":30,"value":2104},"im:message:send_as_bot",{"type":24,"tag":175,"props":2106,"children":2107},{},[2108],{"type":30,"value":2109},"发送消息",{"type":24,"tag":175,"props":2111,"children":2112},{},[2113],{"type":30,"value":2114},"✅",{"type":24,"tag":153,"props":2116,"children":2117},{},[2118,2127,2132],{"type":24,"tag":175,"props":2119,"children":2120},{},[2121],{"type":24,"tag":511,"props":2122,"children":2124},{"className":2123},[],[2125],{"type":30,"value":2126},"im:message.p2p_msg:readonly",{"type":24,"tag":175,"props":2128,"children":2129},{},[2130],{"type":30,"value":2131},"读取私信",{"type":24,"tag":175,"props":2133,"children":2134},{},[2135],{"type":30,"value":2114},{"type":24,"tag":153,"props":2137,"children":2138},{},[2139,2148,2153],{"type":24,"tag":175,"props":2140,"children":2141},{},[2142],{"type":24,"tag":511,"props":2143,"children":2145},{"className":2144},[],[2146],{"type":30,"value":2147},"im:message.group_at_msg:readonly",{"type":24,"tag":175,"props":2149,"children":2150},{},[2151],{"type":30,"value":2152},"接收群@消息",{"type":24,"tag":175,"props":2154,"children":2155},{},[2156],{"type":30,"value":2114},{"type":24,"tag":153,"props":2158,"children":2159},{},[2160,2169,2174],{"type":24,"tag":175,"props":2161,"children":2162},{},[2163],{"type":24,"tag":511,"props":2164,"children":2166},{"className":2165},[],[2167],{"type":30,"value":2168},"im:resource",{"type":24,"tag":175,"props":2170,"children":2171},{},[2172],{"type":30,"value":2173},"上传\u002F下载文件",{"type":24,"tag":175,"props":2175,"children":2176},{},[2177],{"type":30,"value":2114},{"type":24,"tag":36,"props":2179,"children":2180},{},[2181],{"type":24,"tag":42,"props":2182,"children":2183},{},[2184],{"type":30,"value":2185},"步骤三：配置 OpenClaw",{"type":24,"tag":504,"props":2187,"children":2189},{"code":2188,"language":507,"meta":7,"className":508,"style":7},"# 添加飞书渠道\nopenclaw channel add feishu\n\n# 配置 App ID 和 Secret\nopenclaw config set channels.feishu.app_id your-app-id\nopenclaw config set channels.feishu.app_secret your-app-secret\n\n# 开启流式响应（打字机效果，可选）\nopenclaw config set channels.feishu.streaming true\n\n# 重启服务\nopenclaw gateway restart\n",[2190],{"type":24,"tag":511,"props":2191,"children":2192},{"__ignoreMap":7},[2193,2201,2223,2230,2238,2265,2290,2297,2305,2330,2337,2345],{"type":24,"tag":515,"props":2194,"children":2195},{"class":517,"line":518},[2196],{"type":24,"tag":515,"props":2197,"children":2198},{"style":567},[2199],{"type":30,"value":2200},"# 添加飞书渠道\n",{"type":24,"tag":515,"props":2202,"children":2203},{"class":517,"line":573},[2204,2208,2213,2218],{"type":24,"tag":515,"props":2205,"children":2206},{"style":522},[2207],{"type":30,"value":839},{"type":24,"tag":515,"props":2209,"children":2210},{"style":534},[2211],{"type":30,"value":2212}," channel",{"type":24,"tag":515,"props":2214,"children":2215},{"style":534},[2216],{"type":30,"value":2217}," add",{"type":24,"tag":515,"props":2219,"children":2220},{"style":534},[2221],{"type":30,"value":2222}," feishu\n",{"type":24,"tag":515,"props":2224,"children":2225},{"class":517,"line":592},[2226],{"type":24,"tag":515,"props":2227,"children":2228},{"emptyLinePlaceholder":610},[2229],{"type":30,"value":613},{"type":24,"tag":515,"props":2231,"children":2232},{"class":517,"line":606},[2233],{"type":24,"tag":515,"props":2234,"children":2235},{"style":567},[2236],{"type":30,"value":2237},"# 配置 App ID 和 Secret\n",{"type":24,"tag":515,"props":2239,"children":2240},{"class":517,"line":616},[2241,2245,2250,2255,2260],{"type":24,"tag":515,"props":2242,"children":2243},{"style":522},[2244],{"type":30,"value":839},{"type":24,"tag":515,"props":2246,"children":2247},{"style":534},[2248],{"type":30,"value":2249}," config",{"type":24,"tag":515,"props":2251,"children":2252},{"style":534},[2253],{"type":30,"value":2254}," set",{"type":24,"tag":515,"props":2256,"children":2257},{"style":534},[2258],{"type":30,"value":2259}," channels.feishu.app_id",{"type":24,"tag":515,"props":2261,"children":2262},{"style":534},[2263],{"type":30,"value":2264}," your-app-id\n",{"type":24,"tag":515,"props":2266,"children":2267},{"class":517,"line":625},[2268,2272,2276,2280,2285],{"type":24,"tag":515,"props":2269,"children":2270},{"style":522},[2271],{"type":30,"value":839},{"type":24,"tag":515,"props":2273,"children":2274},{"style":534},[2275],{"type":30,"value":2249},{"type":24,"tag":515,"props":2277,"children":2278},{"style":534},[2279],{"type":30,"value":2254},{"type":24,"tag":515,"props":2281,"children":2282},{"style":534},[2283],{"type":30,"value":2284}," channels.feishu.app_secret",{"type":24,"tag":515,"props":2286,"children":2287},{"style":534},[2288],{"type":30,"value":2289}," your-app-secret\n",{"type":24,"tag":515,"props":2291,"children":2292},{"class":517,"line":639},[2293],{"type":24,"tag":515,"props":2294,"children":2295},{"emptyLinePlaceholder":610},[2296],{"type":30,"value":613},{"type":24,"tag":515,"props":2298,"children":2299},{"class":517,"line":647},[2300],{"type":24,"tag":515,"props":2301,"children":2302},{"style":567},[2303],{"type":30,"value":2304},"# 开启流式响应（打字机效果，可选）\n",{"type":24,"tag":515,"props":2306,"children":2307},{"class":517,"line":656},[2308,2312,2316,2320,2325],{"type":24,"tag":515,"props":2309,"children":2310},{"style":522},[2311],{"type":30,"value":839},{"type":24,"tag":515,"props":2313,"children":2314},{"style":534},[2315],{"type":30,"value":2249},{"type":24,"tag":515,"props":2317,"children":2318},{"style":534},[2319],{"type":30,"value":2254},{"type":24,"tag":515,"props":2321,"children":2322},{"style":534},[2323],{"type":30,"value":2324}," channels.feishu.streaming",{"type":24,"tag":515,"props":2326,"children":2327},{"style":528},[2328],{"type":30,"value":2329}," true\n",{"type":24,"tag":515,"props":2331,"children":2332},{"class":517,"line":1062},[2333],{"type":24,"tag":515,"props":2334,"children":2335},{"emptyLinePlaceholder":610},[2336],{"type":30,"value":613},{"type":24,"tag":515,"props":2338,"children":2339},{"class":517,"line":1070},[2340],{"type":24,"tag":515,"props":2341,"children":2342},{"style":567},[2343],{"type":30,"value":2344},"# 重启服务\n",{"type":24,"tag":515,"props":2346,"children":2347},{"class":517,"line":1079},[2348,2352,2356],{"type":24,"tag":515,"props":2349,"children":2350},{"style":522},[2351],{"type":30,"value":839},{"type":24,"tag":515,"props":2353,"children":2354},{"style":534},[2355],{"type":30,"value":844},{"type":24,"tag":515,"props":2357,"children":2358},{"style":534},[2359],{"type":30,"value":2360}," restart\n",{"type":24,"tag":36,"props":2362,"children":2363},{},[2364],{"type":24,"tag":42,"props":2365,"children":2366},{},[2367],{"type":30,"value":2368},"步骤四：配置 Webhook",{"type":24,"tag":36,"props":2370,"children":2371},{},[2372],{"type":30,"value":2373},"在飞书开放平台配置事件订阅：",{"type":24,"tag":88,"props":2375,"children":2376},{},[2377,2388],{"type":24,"tag":92,"props":2378,"children":2379},{},[2380,2382],{"type":30,"value":2381},"请求地址：",{"type":24,"tag":511,"props":2383,"children":2385},{"className":2384},[],[2386],{"type":30,"value":2387},"https:\u002F\u002F你的域名\u002Ffeishu\u002Fwebhook",{"type":24,"tag":92,"props":2389,"children":2390},{},[2391,2393],{"type":30,"value":2392},"订阅事件：",{"type":24,"tag":511,"props":2394,"children":2396},{"className":2395},[],[2397],{"type":30,"value":2398},"im.message.receive_v1",{"type":24,"tag":57,"props":2400,"children":2402},{"id":2401},"_52-telegram-接入",[2403],{"type":30,"value":2404},"5.2 Telegram 接入",{"type":24,"tag":504,"props":2406,"children":2408},{"code":2407,"language":507,"meta":7,"className":508,"style":7},"# 获取 Bot Token（找 @BotFather 获取）\nopenclaw config set channels.telegram.bot_token your-bot-token\n\n# 添加频道\nopenclaw channel add telegram\n\n# 重启\nopenclaw gateway restart\n",[2409],{"type":24,"tag":511,"props":2410,"children":2411},{"__ignoreMap":7},[2412,2420,2445,2452,2460,2480,2487,2495],{"type":24,"tag":515,"props":2413,"children":2414},{"class":517,"line":518},[2415],{"type":24,"tag":515,"props":2416,"children":2417},{"style":567},[2418],{"type":30,"value":2419},"# 获取 Bot Token（找 @BotFather 获取）\n",{"type":24,"tag":515,"props":2421,"children":2422},{"class":517,"line":573},[2423,2427,2431,2435,2440],{"type":24,"tag":515,"props":2424,"children":2425},{"style":522},[2426],{"type":30,"value":839},{"type":24,"tag":515,"props":2428,"children":2429},{"style":534},[2430],{"type":30,"value":2249},{"type":24,"tag":515,"props":2432,"children":2433},{"style":534},[2434],{"type":30,"value":2254},{"type":24,"tag":515,"props":2436,"children":2437},{"style":534},[2438],{"type":30,"value":2439}," channels.telegram.bot_token",{"type":24,"tag":515,"props":2441,"children":2442},{"style":534},[2443],{"type":30,"value":2444}," your-bot-token\n",{"type":24,"tag":515,"props":2446,"children":2447},{"class":517,"line":592},[2448],{"type":24,"tag":515,"props":2449,"children":2450},{"emptyLinePlaceholder":610},[2451],{"type":30,"value":613},{"type":24,"tag":515,"props":2453,"children":2454},{"class":517,"line":606},[2455],{"type":24,"tag":515,"props":2456,"children":2457},{"style":567},[2458],{"type":30,"value":2459},"# 添加频道\n",{"type":24,"tag":515,"props":2461,"children":2462},{"class":517,"line":616},[2463,2467,2471,2475],{"type":24,"tag":515,"props":2464,"children":2465},{"style":522},[2466],{"type":30,"value":839},{"type":24,"tag":515,"props":2468,"children":2469},{"style":534},[2470],{"type":30,"value":2212},{"type":24,"tag":515,"props":2472,"children":2473},{"style":534},[2474],{"type":30,"value":2217},{"type":24,"tag":515,"props":2476,"children":2477},{"style":534},[2478],{"type":30,"value":2479}," telegram\n",{"type":24,"tag":515,"props":2481,"children":2482},{"class":517,"line":625},[2483],{"type":24,"tag":515,"props":2484,"children":2485},{"emptyLinePlaceholder":610},[2486],{"type":30,"value":613},{"type":24,"tag":515,"props":2488,"children":2489},{"class":517,"line":639},[2490],{"type":24,"tag":515,"props":2491,"children":2492},{"style":567},[2493],{"type":30,"value":2494},"# 重启\n",{"type":24,"tag":515,"props":2496,"children":2497},{"class":517,"line":647},[2498,2502,2506],{"type":24,"tag":515,"props":2499,"children":2500},{"style":522},[2501],{"type":30,"value":839},{"type":24,"tag":515,"props":2503,"children":2504},{"style":534},[2505],{"type":30,"value":844},{"type":24,"tag":515,"props":2507,"children":2508},{"style":534},[2509],{"type":30,"value":2360},{"type":24,"tag":57,"props":2511,"children":2513},{"id":2512},"_53-discord-接入",[2514],{"type":30,"value":2515},"5.3 Discord 接入",{"type":24,"tag":504,"props":2517,"children":2519},{"code":2518,"language":507,"meta":7,"className":508,"style":7},"openclaw config set channels.discord.bot_token your-discord-bot-token\nopenclaw config set channels.discord.guild_id your-guild-id\nopenclaw channel add discord\n",[2520],{"type":24,"tag":511,"props":2521,"children":2522},{"__ignoreMap":7},[2523,2548,2573],{"type":24,"tag":515,"props":2524,"children":2525},{"class":517,"line":518},[2526,2530,2534,2538,2543],{"type":24,"tag":515,"props":2527,"children":2528},{"style":522},[2529],{"type":30,"value":839},{"type":24,"tag":515,"props":2531,"children":2532},{"style":534},[2533],{"type":30,"value":2249},{"type":24,"tag":515,"props":2535,"children":2536},{"style":534},[2537],{"type":30,"value":2254},{"type":24,"tag":515,"props":2539,"children":2540},{"style":534},[2541],{"type":30,"value":2542}," channels.discord.bot_token",{"type":24,"tag":515,"props":2544,"children":2545},{"style":534},[2546],{"type":30,"value":2547}," your-discord-bot-token\n",{"type":24,"tag":515,"props":2549,"children":2550},{"class":517,"line":573},[2551,2555,2559,2563,2568],{"type":24,"tag":515,"props":2552,"children":2553},{"style":522},[2554],{"type":30,"value":839},{"type":24,"tag":515,"props":2556,"children":2557},{"style":534},[2558],{"type":30,"value":2249},{"type":24,"tag":515,"props":2560,"children":2561},{"style":534},[2562],{"type":30,"value":2254},{"type":24,"tag":515,"props":2564,"children":2565},{"style":534},[2566],{"type":30,"value":2567}," channels.discord.guild_id",{"type":24,"tag":515,"props":2569,"children":2570},{"style":534},[2571],{"type":30,"value":2572}," your-guild-id\n",{"type":24,"tag":515,"props":2574,"children":2575},{"class":517,"line":592},[2576,2580,2584,2588],{"type":24,"tag":515,"props":2577,"children":2578},{"style":522},[2579],{"type":30,"value":839},{"type":24,"tag":515,"props":2581,"children":2582},{"style":534},[2583],{"type":30,"value":2212},{"type":24,"tag":515,"props":2585,"children":2586},{"style":534},[2587],{"type":30,"value":2217},{"type":24,"tag":515,"props":2589,"children":2590},{"style":534},[2591],{"type":30,"value":2592}," discord\n",{"type":24,"tag":422,"props":2594,"children":2595},{},[],{"type":24,"tag":50,"props":2597,"children":2599},{"id":2598},"六skills-技能系统",[2600],{"type":30,"value":2601},"六、Skills 技能系统",{"type":24,"tag":57,"props":2603,"children":2605},{"id":2604},"_61-什么是-skills",[2606],{"type":30,"value":2607},"6.1 什么是 Skills？",{"type":24,"tag":36,"props":2609,"children":2610},{},[2611,2613,2619],{"type":30,"value":2612},"Skills 是 OpenClaw 的插件系统，像 npm 包一样可以安装、分享、管理。每个 Skill 是一个包含 ",{"type":24,"tag":511,"props":2614,"children":2616},{"className":2615},[],[2617],{"type":30,"value":2618},"SKILL.md",{"type":30,"value":2620}," 的文件夹。",{"type":24,"tag":57,"props":2622,"children":2624},{"id":2623},"_62-安装-skills",[2625],{"type":30,"value":2626},"6.2 安装 Skills",{"type":24,"tag":504,"props":2628,"children":2630},{"code":2629,"language":507,"meta":7,"className":508,"style":7},"# 从 ClawHub 安装\nopenclaw skills install clawhub\u002Fwechat-publisher\n\n# 查看已安装\nopenclaw skills list\n\n# 更新\nopenclaw skills update\n\n# 卸载\nopenclaw skills uninstall clawhub\u002Fwechat-publisher\n",[2631],{"type":24,"tag":511,"props":2632,"children":2633},{"__ignoreMap":7},[2634,2642,2663,2670,2678,2694,2701,2709,2725,2732,2740],{"type":24,"tag":515,"props":2635,"children":2636},{"class":517,"line":518},[2637],{"type":24,"tag":515,"props":2638,"children":2639},{"style":567},[2640],{"type":30,"value":2641},"# 从 ClawHub 安装\n",{"type":24,"tag":515,"props":2643,"children":2644},{"class":517,"line":573},[2645,2649,2654,2658],{"type":24,"tag":515,"props":2646,"children":2647},{"style":522},[2648],{"type":30,"value":839},{"type":24,"tag":515,"props":2650,"children":2651},{"style":534},[2652],{"type":30,"value":2653}," skills",{"type":24,"tag":515,"props":2655,"children":2656},{"style":534},[2657],{"type":30,"value":666},{"type":24,"tag":515,"props":2659,"children":2660},{"style":534},[2661],{"type":30,"value":2662}," clawhub\u002Fwechat-publisher\n",{"type":24,"tag":515,"props":2664,"children":2665},{"class":517,"line":592},[2666],{"type":24,"tag":515,"props":2667,"children":2668},{"emptyLinePlaceholder":610},[2669],{"type":30,"value":613},{"type":24,"tag":515,"props":2671,"children":2672},{"class":517,"line":606},[2673],{"type":24,"tag":515,"props":2674,"children":2675},{"style":567},[2676],{"type":30,"value":2677},"# 查看已安装\n",{"type":24,"tag":515,"props":2679,"children":2680},{"class":517,"line":616},[2681,2685,2689],{"type":24,"tag":515,"props":2682,"children":2683},{"style":522},[2684],{"type":30,"value":839},{"type":24,"tag":515,"props":2686,"children":2687},{"style":534},[2688],{"type":30,"value":2653},{"type":24,"tag":515,"props":2690,"children":2691},{"style":534},[2692],{"type":30,"value":2693}," list\n",{"type":24,"tag":515,"props":2695,"children":2696},{"class":517,"line":625},[2697],{"type":24,"tag":515,"props":2698,"children":2699},{"emptyLinePlaceholder":610},[2700],{"type":30,"value":613},{"type":24,"tag":515,"props":2702,"children":2703},{"class":517,"line":639},[2704],{"type":24,"tag":515,"props":2705,"children":2706},{"style":567},[2707],{"type":30,"value":2708},"# 更新\n",{"type":24,"tag":515,"props":2710,"children":2711},{"class":517,"line":647},[2712,2716,2720],{"type":24,"tag":515,"props":2713,"children":2714},{"style":522},[2715],{"type":30,"value":839},{"type":24,"tag":515,"props":2717,"children":2718},{"style":534},[2719],{"type":30,"value":2653},{"type":24,"tag":515,"props":2721,"children":2722},{"style":534},[2723],{"type":30,"value":2724}," update\n",{"type":24,"tag":515,"props":2726,"children":2727},{"class":517,"line":656},[2728],{"type":24,"tag":515,"props":2729,"children":2730},{"emptyLinePlaceholder":610},[2731],{"type":30,"value":613},{"type":24,"tag":515,"props":2733,"children":2734},{"class":517,"line":1062},[2735],{"type":24,"tag":515,"props":2736,"children":2737},{"style":567},[2738],{"type":30,"value":2739},"# 卸载\n",{"type":24,"tag":515,"props":2741,"children":2742},{"class":517,"line":1070},[2743,2747,2751,2756],{"type":24,"tag":515,"props":2744,"children":2745},{"style":522},[2746],{"type":30,"value":839},{"type":24,"tag":515,"props":2748,"children":2749},{"style":534},[2750],{"type":30,"value":2653},{"type":24,"tag":515,"props":2752,"children":2753},{"style":534},[2754],{"type":30,"value":2755}," uninstall",{"type":24,"tag":515,"props":2757,"children":2758},{"style":534},[2759],{"type":30,"value":2662},{"type":24,"tag":57,"props":2761,"children":2763},{"id":2762},"_63-clawhub-常用-skills",[2764],{"type":30,"value":2765},"6.3 ClawHub 常用 Skills",{"type":24,"tag":145,"props":2767,"children":2768},{},[2769,2785],{"type":24,"tag":149,"props":2770,"children":2771},{},[2772],{"type":24,"tag":153,"props":2773,"children":2774},{},[2775,2780],{"type":24,"tag":157,"props":2776,"children":2777},{},[2778],{"type":30,"value":2779},"Skill",{"type":24,"tag":157,"props":2781,"children":2782},{},[2783],{"type":30,"value":2784},"功能",{"type":24,"tag":168,"props":2786,"children":2787},{},[2788,2805,2822,2839,2856],{"type":24,"tag":153,"props":2789,"children":2790},{},[2791,2800],{"type":24,"tag":175,"props":2792,"children":2793},{},[2794],{"type":24,"tag":511,"props":2795,"children":2797},{"className":2796},[],[2798],{"type":30,"value":2799},"clawhub\u002Fbaoyu-post-to-wechat",{"type":24,"tag":175,"props":2801,"children":2802},{},[2803],{"type":30,"value":2804},"微信公众号发布",{"type":24,"tag":153,"props":2806,"children":2807},{},[2808,2817],{"type":24,"tag":175,"props":2809,"children":2810},{},[2811],{"type":24,"tag":511,"props":2812,"children":2814},{"className":2813},[],[2815],{"type":30,"value":2816},"clawhub\u002Ffeishu-calendar",{"type":24,"tag":175,"props":2818,"children":2819},{},[2820],{"type":30,"value":2821},"飞书日历管理",{"type":24,"tag":153,"props":2823,"children":2824},{},[2825,2834],{"type":24,"tag":175,"props":2826,"children":2827},{},[2828],{"type":24,"tag":511,"props":2829,"children":2831},{"className":2830},[],[2832],{"type":30,"value":2833},"clawhub\u002Ffeishu-doc",{"type":24,"tag":175,"props":2835,"children":2836},{},[2837],{"type":30,"value":2838},"飞书云文档操作",{"type":24,"tag":153,"props":2840,"children":2841},{},[2842,2851],{"type":24,"tag":175,"props":2843,"children":2844},{},[2845],{"type":24,"tag":511,"props":2846,"children":2848},{"className":2847},[],[2849],{"type":30,"value":2850},"clawhub\u002Fdouyin-hot-trend",{"type":24,"tag":175,"props":2852,"children":2853},{},[2854],{"type":30,"value":2855},"抖音热榜获取",{"type":24,"tag":153,"props":2857,"children":2858},{},[2859,2868],{"type":24,"tag":175,"props":2860,"children":2861},{},[2862],{"type":24,"tag":511,"props":2863,"children":2865},{"className":2864},[],[2866],{"type":30,"value":2867},"clawhub\u002Fppt-nano-master",{"type":24,"tag":175,"props":2869,"children":2870},{},[2871],{"type":30,"value":2872},"PPT 生成",{"type":24,"tag":57,"props":2874,"children":2876},{"id":2875},"_64-手动编写-skill",[2877],{"type":30,"value":2878},"6.4 手动编写 Skill",{"type":24,"tag":36,"props":2880,"children":2881},{},[2882,2884,2890],{"type":30,"value":2883},"创建 ",{"type":24,"tag":511,"props":2885,"children":2887},{"className":2886},[],[2888],{"type":30,"value":2889},"~\u002F.openclaw\u002Fskills\u002Fmy-skill\u002FSKILL.md",{"type":30,"value":2891},"：",{"type":24,"tag":504,"props":2893,"children":2895},{"code":2894,"language":964,"meta":7,"className":965,"style":7},"# 我的自定义技能\n\n## 触发词\n当用户说「做什么」时触发\n\n## 描述\n这个技能帮助完成 xxx 任务\n\n## 使用方法\n运行相关命令\n\n## 环境要求\n需要安装 xxx 工具\n",[2896],{"type":24,"tag":511,"props":2897,"children":2898},{"__ignoreMap":7},[2899,2907,2914,2922,2930,2937,2945,2953,2960,2968,2976,2983,2991],{"type":24,"tag":515,"props":2900,"children":2901},{"class":517,"line":518},[2902],{"type":24,"tag":515,"props":2903,"children":2904},{"style":975},[2905],{"type":30,"value":2906},"# 我的自定义技能\n",{"type":24,"tag":515,"props":2908,"children":2909},{"class":517,"line":573},[2910],{"type":24,"tag":515,"props":2911,"children":2912},{"emptyLinePlaceholder":610},[2913],{"type":30,"value":613},{"type":24,"tag":515,"props":2915,"children":2916},{"class":517,"line":592},[2917],{"type":24,"tag":515,"props":2918,"children":2919},{"style":975},[2920],{"type":30,"value":2921},"## 触发词\n",{"type":24,"tag":515,"props":2923,"children":2924},{"class":517,"line":606},[2925],{"type":24,"tag":515,"props":2926,"children":2927},{"style":991},[2928],{"type":30,"value":2929},"当用户说「做什么」时触发\n",{"type":24,"tag":515,"props":2931,"children":2932},{"class":517,"line":616},[2933],{"type":24,"tag":515,"props":2934,"children":2935},{"emptyLinePlaceholder":610},[2936],{"type":30,"value":613},{"type":24,"tag":515,"props":2938,"children":2939},{"class":517,"line":625},[2940],{"type":24,"tag":515,"props":2941,"children":2942},{"style":975},[2943],{"type":30,"value":2944},"## 描述\n",{"type":24,"tag":515,"props":2946,"children":2947},{"class":517,"line":639},[2948],{"type":24,"tag":515,"props":2949,"children":2950},{"style":991},[2951],{"type":30,"value":2952},"这个技能帮助完成 xxx 任务\n",{"type":24,"tag":515,"props":2954,"children":2955},{"class":517,"line":647},[2956],{"type":24,"tag":515,"props":2957,"children":2958},{"emptyLinePlaceholder":610},[2959],{"type":30,"value":613},{"type":24,"tag":515,"props":2961,"children":2962},{"class":517,"line":656},[2963],{"type":24,"tag":515,"props":2964,"children":2965},{"style":975},[2966],{"type":30,"value":2967},"## 使用方法\n",{"type":24,"tag":515,"props":2969,"children":2970},{"class":517,"line":1062},[2971],{"type":24,"tag":515,"props":2972,"children":2973},{"style":991},[2974],{"type":30,"value":2975},"运行相关命令\n",{"type":24,"tag":515,"props":2977,"children":2978},{"class":517,"line":1070},[2979],{"type":24,"tag":515,"props":2980,"children":2981},{"emptyLinePlaceholder":610},[2982],{"type":30,"value":613},{"type":24,"tag":515,"props":2984,"children":2985},{"class":517,"line":1079},[2986],{"type":24,"tag":515,"props":2987,"children":2988},{"style":975},[2989],{"type":30,"value":2990},"## 环境要求\n",{"type":24,"tag":515,"props":2992,"children":2993},{"class":517,"line":1092},[2994],{"type":24,"tag":515,"props":2995,"children":2996},{"style":991},[2997],{"type":30,"value":2998},"需要安装 xxx 工具\n",{"type":24,"tag":422,"props":3000,"children":3001},{},[],{"type":24,"tag":50,"props":3003,"children":3005},{"id":3004},"七多-agent-协作",[3006],{"type":30,"value":3007},"七、多 Agent 协作",{"type":24,"tag":57,"props":3009,"children":3011},{"id":3010},"_71-子-agent-使用场景",[3012],{"type":30,"value":3013},"7.1 子 Agent 使用场景",{"type":24,"tag":88,"props":3015,"children":3016},{},[3017,3027,3037],{"type":24,"tag":92,"props":3018,"children":3019},{},[3020,3025],{"type":24,"tag":42,"props":3021,"children":3022},{},[3023],{"type":30,"value":3024},"复杂编码任务",{"type":30,"value":3026}," → 启动 coding-agent",{"type":24,"tag":92,"props":3028,"children":3029},{},[3030,3035],{"type":24,"tag":42,"props":3031,"children":3032},{},[3033],{"type":30,"value":3034},"搜索研究",{"type":30,"value":3036}," → 启动 search-agent",{"type":24,"tag":92,"props":3038,"children":3039},{},[3040,3045],{"type":24,"tag":42,"props":3041,"children":3042},{},[3043],{"type":30,"value":3044},"长文档处理",{"type":30,"value":3046}," → 启动 doc-agent",{"type":24,"tag":57,"props":3048,"children":3050},{"id":3049},"_72-配置-agentsmd",[3051],{"type":30,"value":3052},"7.2 配置 AGENTS.md",{"type":24,"tag":504,"props":3054,"children":3056},{"code":3055,"language":964,"meta":7,"className":965,"style":7},"# AGENTS.md\n\n## 路由规则\n| 任务类型 | 启动 Agent |\n|---------|-----------|\n| 写代码 \u002F 调试 | coding-agent |\n| 网页搜索 \u002F 研究 | search-agent |\n| PDF\u002FWord 处理 | doc-agent |\n| 默认 | 主会话处理 |\n\n## 启动参数\n- coding-agent: 使用 --permission-mode bypassPermissions\n- search-agent: 使用 medium context\n",[3057],{"type":24,"tag":511,"props":3058,"children":3059},{"__ignoreMap":7},[3060,3067,3074,3082,3090,3098,3106,3114,3122,3130,3137,3145,3157],{"type":24,"tag":515,"props":3061,"children":3062},{"class":517,"line":518},[3063],{"type":24,"tag":515,"props":3064,"children":3065},{"style":975},[3066],{"type":30,"value":1443},{"type":24,"tag":515,"props":3068,"children":3069},{"class":517,"line":573},[3070],{"type":24,"tag":515,"props":3071,"children":3072},{"emptyLinePlaceholder":610},[3073],{"type":30,"value":613},{"type":24,"tag":515,"props":3075,"children":3076},{"class":517,"line":592},[3077],{"type":24,"tag":515,"props":3078,"children":3079},{"style":975},[3080],{"type":30,"value":3081},"## 路由规则\n",{"type":24,"tag":515,"props":3083,"children":3084},{"class":517,"line":606},[3085],{"type":24,"tag":515,"props":3086,"children":3087},{"style":991},[3088],{"type":30,"value":3089},"| 任务类型 | 启动 Agent |\n",{"type":24,"tag":515,"props":3091,"children":3092},{"class":517,"line":616},[3093],{"type":24,"tag":515,"props":3094,"children":3095},{"style":991},[3096],{"type":30,"value":3097},"|---------|-----------|\n",{"type":24,"tag":515,"props":3099,"children":3100},{"class":517,"line":625},[3101],{"type":24,"tag":515,"props":3102,"children":3103},{"style":991},[3104],{"type":30,"value":3105},"| 写代码 \u002F 调试 | coding-agent |\n",{"type":24,"tag":515,"props":3107,"children":3108},{"class":517,"line":639},[3109],{"type":24,"tag":515,"props":3110,"children":3111},{"style":991},[3112],{"type":30,"value":3113},"| 网页搜索 \u002F 研究 | search-agent |\n",{"type":24,"tag":515,"props":3115,"children":3116},{"class":517,"line":647},[3117],{"type":24,"tag":515,"props":3118,"children":3119},{"style":991},[3120],{"type":30,"value":3121},"| PDF\u002FWord 处理 | doc-agent |\n",{"type":24,"tag":515,"props":3123,"children":3124},{"class":517,"line":656},[3125],{"type":24,"tag":515,"props":3126,"children":3127},{"style":991},[3128],{"type":30,"value":3129},"| 默认 | 主会话处理 |\n",{"type":24,"tag":515,"props":3131,"children":3132},{"class":517,"line":1062},[3133],{"type":24,"tag":515,"props":3134,"children":3135},{"emptyLinePlaceholder":610},[3136],{"type":30,"value":613},{"type":24,"tag":515,"props":3138,"children":3139},{"class":517,"line":1070},[3140],{"type":24,"tag":515,"props":3141,"children":3142},{"style":975},[3143],{"type":30,"value":3144},"## 启动参数\n",{"type":24,"tag":515,"props":3146,"children":3147},{"class":517,"line":1079},[3148,3152],{"type":24,"tag":515,"props":3149,"children":3150},{"style":1015},[3151],{"type":30,"value":1018},{"type":24,"tag":515,"props":3153,"children":3154},{"style":991},[3155],{"type":30,"value":3156}," coding-agent: 使用 --permission-mode bypassPermissions\n",{"type":24,"tag":515,"props":3158,"children":3159},{"class":517,"line":1092},[3160,3164],{"type":24,"tag":515,"props":3161,"children":3162},{"style":1015},[3163],{"type":30,"value":1018},{"type":24,"tag":515,"props":3165,"children":3166},{"style":991},[3167],{"type":30,"value":3168}," search-agent: 使用 medium context\n",{"type":24,"tag":57,"props":3170,"children":3172},{"id":3171},"_73-派发任务",[3173],{"type":30,"value":3174},"7.3 派发任务",{"type":24,"tag":36,"props":3176,"children":3177},{},[3178],{"type":30,"value":3179},"在对话中直接说：「帮我写一个 xxx → 这会派发给 coding-agent」",{"type":24,"tag":422,"props":3181,"children":3182},{},[],{"type":24,"tag":50,"props":3184,"children":3186},{"id":3185},"八心跳机制详解",[3187],{"type":30,"value":3188},"八、心跳机制详解",{"type":24,"tag":57,"props":3190,"children":3192},{"id":3191},"_81-心跳原理",[3193],{"type":30,"value":3194},"8.1 心跳原理",{"type":24,"tag":36,"props":3196,"children":3197},{},[3198],{"type":30,"value":3199},"Heartbeat 是 AI 的「循环任务调度器」，按设定间隔自动触发 AI 执行检查。",{"type":24,"tag":57,"props":3201,"children":3203},{"id":3202},"_82-配置频率",[3204],{"type":30,"value":3205},"8.2 配置频率",{"type":24,"tag":504,"props":3207,"children":3209},{"code":3208,"language":507,"meta":7,"className":508,"style":7},"# 查看当前心跳间隔\nopenclaw config get heartbeat.interval\n\n# 设置为 5 分钟（默认）\nopenclaw config set heartbeat.interval 5m\n\n# 设置为 10 分钟\nopenclaw config set heartbeat.interval 10m\n\n# 关闭心跳\nopenclaw config set heartbeat.enabled false\n",[3210],{"type":24,"tag":511,"props":3211,"children":3212},{"__ignoreMap":7},[3213,3221,3242,3249,3257,3282,3289,3297,3321,3328,3336],{"type":24,"tag":515,"props":3214,"children":3215},{"class":517,"line":518},[3216],{"type":24,"tag":515,"props":3217,"children":3218},{"style":567},[3219],{"type":30,"value":3220},"# 查看当前心跳间隔\n",{"type":24,"tag":515,"props":3222,"children":3223},{"class":517,"line":573},[3224,3228,3232,3237],{"type":24,"tag":515,"props":3225,"children":3226},{"style":522},[3227],{"type":30,"value":839},{"type":24,"tag":515,"props":3229,"children":3230},{"style":534},[3231],{"type":30,"value":2249},{"type":24,"tag":515,"props":3233,"children":3234},{"style":534},[3235],{"type":30,"value":3236}," get",{"type":24,"tag":515,"props":3238,"children":3239},{"style":534},[3240],{"type":30,"value":3241}," heartbeat.interval\n",{"type":24,"tag":515,"props":3243,"children":3244},{"class":517,"line":592},[3245],{"type":24,"tag":515,"props":3246,"children":3247},{"emptyLinePlaceholder":610},[3248],{"type":30,"value":613},{"type":24,"tag":515,"props":3250,"children":3251},{"class":517,"line":606},[3252],{"type":24,"tag":515,"props":3253,"children":3254},{"style":567},[3255],{"type":30,"value":3256},"# 设置为 5 分钟（默认）\n",{"type":24,"tag":515,"props":3258,"children":3259},{"class":517,"line":616},[3260,3264,3268,3272,3277],{"type":24,"tag":515,"props":3261,"children":3262},{"style":522},[3263],{"type":30,"value":839},{"type":24,"tag":515,"props":3265,"children":3266},{"style":534},[3267],{"type":30,"value":2249},{"type":24,"tag":515,"props":3269,"children":3270},{"style":534},[3271],{"type":30,"value":2254},{"type":24,"tag":515,"props":3273,"children":3274},{"style":534},[3275],{"type":30,"value":3276}," heartbeat.interval",{"type":24,"tag":515,"props":3278,"children":3279},{"style":534},[3280],{"type":30,"value":3281}," 5m\n",{"type":24,"tag":515,"props":3283,"children":3284},{"class":517,"line":625},[3285],{"type":24,"tag":515,"props":3286,"children":3287},{"emptyLinePlaceholder":610},[3288],{"type":30,"value":613},{"type":24,"tag":515,"props":3290,"children":3291},{"class":517,"line":639},[3292],{"type":24,"tag":515,"props":3293,"children":3294},{"style":567},[3295],{"type":30,"value":3296},"# 设置为 10 分钟\n",{"type":24,"tag":515,"props":3298,"children":3299},{"class":517,"line":647},[3300,3304,3308,3312,3316],{"type":24,"tag":515,"props":3301,"children":3302},{"style":522},[3303],{"type":30,"value":839},{"type":24,"tag":515,"props":3305,"children":3306},{"style":534},[3307],{"type":30,"value":2249},{"type":24,"tag":515,"props":3309,"children":3310},{"style":534},[3311],{"type":30,"value":2254},{"type":24,"tag":515,"props":3313,"children":3314},{"style":534},[3315],{"type":30,"value":3276},{"type":24,"tag":515,"props":3317,"children":3318},{"style":534},[3319],{"type":30,"value":3320}," 10m\n",{"type":24,"tag":515,"props":3322,"children":3323},{"class":517,"line":656},[3324],{"type":24,"tag":515,"props":3325,"children":3326},{"emptyLinePlaceholder":610},[3327],{"type":30,"value":613},{"type":24,"tag":515,"props":3329,"children":3330},{"class":517,"line":1062},[3331],{"type":24,"tag":515,"props":3332,"children":3333},{"style":567},[3334],{"type":30,"value":3335},"# 关闭心跳\n",{"type":24,"tag":515,"props":3337,"children":3338},{"class":517,"line":1070},[3339,3343,3347,3351,3356],{"type":24,"tag":515,"props":3340,"children":3341},{"style":522},[3342],{"type":30,"value":839},{"type":24,"tag":515,"props":3344,"children":3345},{"style":534},[3346],{"type":30,"value":2249},{"type":24,"tag":515,"props":3348,"children":3349},{"style":534},[3350],{"type":30,"value":2254},{"type":24,"tag":515,"props":3352,"children":3353},{"style":534},[3354],{"type":30,"value":3355}," heartbeat.enabled",{"type":24,"tag":515,"props":3357,"children":3358},{"style":528},[3359],{"type":30,"value":3360}," false\n",{"type":24,"tag":57,"props":3362,"children":3364},{"id":3363},"_83-heartbeatmd-模板",[3365],{"type":30,"value":3366},"8.3 HEARTBEAT.md 模板",{"type":24,"tag":504,"props":3368,"children":3370},{"code":3369,"language":964,"meta":7,"className":965,"style":7},"# HEARTBEAT.md\n\n## 每次检查内容\n1. 检查邮件（新消息？）\n2. 查看日历（2小时内有会议？）\n3. 推送有价值的信息给用户\n\n## 何时打扰\n- 有重要邮件\n- 日历事件 \u003C 2 小时\n- > 8 小时没说话\n\n## 何时安静\n- 深夜（23:00-08:00）\n- 用户明显在忙\n- 刚检查完 \u003C 30 分钟\n",[3371],{"type":24,"tag":511,"props":3372,"children":3373},{"__ignoreMap":7},[3374,3381,3388,3396,3408,3420,3432,3439,3447,3459,3471,3484,3491,3499,3511,3523],{"type":24,"tag":515,"props":3375,"children":3376},{"class":517,"line":518},[3377],{"type":24,"tag":515,"props":3378,"children":3379},{"style":975},[3380],{"type":30,"value":1625},{"type":24,"tag":515,"props":3382,"children":3383},{"class":517,"line":573},[3384],{"type":24,"tag":515,"props":3385,"children":3386},{"emptyLinePlaceholder":610},[3387],{"type":30,"value":613},{"type":24,"tag":515,"props":3389,"children":3390},{"class":517,"line":592},[3391],{"type":24,"tag":515,"props":3392,"children":3393},{"style":975},[3394],{"type":30,"value":3395},"## 每次检查内容\n",{"type":24,"tag":515,"props":3397,"children":3398},{"class":517,"line":606},[3399,3403],{"type":24,"tag":515,"props":3400,"children":3401},{"style":1015},[3402],{"type":30,"value":1517},{"type":24,"tag":515,"props":3404,"children":3405},{"style":991},[3406],{"type":30,"value":3407}," 检查邮件（新消息？）\n",{"type":24,"tag":515,"props":3409,"children":3410},{"class":517,"line":616},[3411,3415],{"type":24,"tag":515,"props":3412,"children":3413},{"style":1015},[3414],{"type":30,"value":1530},{"type":24,"tag":515,"props":3416,"children":3417},{"style":991},[3418],{"type":30,"value":3419}," 查看日历（2小时内有会议？）\n",{"type":24,"tag":515,"props":3421,"children":3422},{"class":517,"line":625},[3423,3427],{"type":24,"tag":515,"props":3424,"children":3425},{"style":1015},[3426],{"type":30,"value":1543},{"type":24,"tag":515,"props":3428,"children":3429},{"style":991},[3430],{"type":30,"value":3431}," 推送有价值的信息给用户\n",{"type":24,"tag":515,"props":3433,"children":3434},{"class":517,"line":639},[3435],{"type":24,"tag":515,"props":3436,"children":3437},{"emptyLinePlaceholder":610},[3438],{"type":30,"value":613},{"type":24,"tag":515,"props":3440,"children":3441},{"class":517,"line":647},[3442],{"type":24,"tag":515,"props":3443,"children":3444},{"style":975},[3445],{"type":30,"value":3446},"## 何时打扰\n",{"type":24,"tag":515,"props":3448,"children":3449},{"class":517,"line":656},[3450,3454],{"type":24,"tag":515,"props":3451,"children":3452},{"style":1015},[3453],{"type":30,"value":1018},{"type":24,"tag":515,"props":3455,"children":3456},{"style":991},[3457],{"type":30,"value":3458}," 有重要邮件\n",{"type":24,"tag":515,"props":3460,"children":3461},{"class":517,"line":1062},[3462,3466],{"type":24,"tag":515,"props":3463,"children":3464},{"style":1015},[3465],{"type":30,"value":1018},{"type":24,"tag":515,"props":3467,"children":3468},{"style":991},[3469],{"type":30,"value":3470}," 日历事件 \u003C 2 小时\n",{"type":24,"tag":515,"props":3472,"children":3473},{"class":517,"line":1070},[3474,3478],{"type":24,"tag":515,"props":3475,"children":3476},{"style":1015},[3477],{"type":30,"value":1018},{"type":24,"tag":515,"props":3479,"children":3481},{"style":3480},"--shiki-default:#85E89D",[3482],{"type":30,"value":3483}," > 8 小时没说话\n",{"type":24,"tag":515,"props":3485,"children":3486},{"class":517,"line":1079},[3487],{"type":24,"tag":515,"props":3488,"children":3489},{"emptyLinePlaceholder":610},[3490],{"type":30,"value":613},{"type":24,"tag":515,"props":3492,"children":3493},{"class":517,"line":1092},[3494],{"type":24,"tag":515,"props":3495,"children":3496},{"style":975},[3497],{"type":30,"value":3498},"## 何时安静\n",{"type":24,"tag":515,"props":3500,"children":3501},{"class":517,"line":1105},[3502,3506],{"type":24,"tag":515,"props":3503,"children":3504},{"style":1015},[3505],{"type":30,"value":1018},{"type":24,"tag":515,"props":3507,"children":3508},{"style":991},[3509],{"type":30,"value":3510}," 深夜（23:00-08:00）\n",{"type":24,"tag":515,"props":3512,"children":3513},{"class":517,"line":1118},[3514,3518],{"type":24,"tag":515,"props":3515,"children":3516},{"style":1015},[3517],{"type":30,"value":1018},{"type":24,"tag":515,"props":3519,"children":3520},{"style":991},[3521],{"type":30,"value":3522}," 用户明显在忙\n",{"type":24,"tag":515,"props":3524,"children":3525},{"class":517,"line":1131},[3526,3530],{"type":24,"tag":515,"props":3527,"children":3528},{"style":1015},[3529],{"type":30,"value":1018},{"type":24,"tag":515,"props":3531,"children":3532},{"style":991},[3533],{"type":30,"value":3534}," 刚检查完 \u003C 30 分钟\n",{"type":24,"tag":422,"props":3536,"children":3537},{},[],{"type":24,"tag":50,"props":3539,"children":3541},{"id":3540},"九安全配置",[3542],{"type":30,"value":3543},"九、安全配置",{"type":24,"tag":57,"props":3545,"children":3547},{"id":3546},"_91-飞书-channel-配置",[3548],{"type":30,"value":3549},"9.1 飞书 Channel 配置",{"type":24,"tag":504,"props":3551,"children":3555},{"code":3552,"language":3553,"meta":7,"className":3554,"style":7},"# ~\u002F.openclaw\u002Fopenclaw.json\n{\n  \"channels\": {\n    \"feishu\": {\n      \"app_id\": \"your-app-id\",\n      \"app_secret\": \"your-secret\",\n      \"verification_token\": \"your-token\",\n      \"encrypt_key\": \"your-encrypt-key\"\n    }\n  }\n}\n","yaml","language-yaml shiki shiki-themes github-dark",[3556],{"type":24,"tag":511,"props":3557,"children":3558},{"__ignoreMap":7},[3559,3567,3575,3588,3600,3623,3644,3665,3682,3690,3698],{"type":24,"tag":515,"props":3560,"children":3561},{"class":517,"line":518},[3562],{"type":24,"tag":515,"props":3563,"children":3564},{"style":567},[3565],{"type":30,"value":3566},"# ~\u002F.openclaw\u002Fopenclaw.json\n",{"type":24,"tag":515,"props":3568,"children":3569},{"class":517,"line":573},[3570],{"type":24,"tag":515,"props":3571,"children":3572},{"style":991},[3573],{"type":30,"value":3574},"{\n",{"type":24,"tag":515,"props":3576,"children":3577},{"class":517,"line":592},[3578,3583],{"type":24,"tag":515,"props":3579,"children":3580},{"style":534},[3581],{"type":30,"value":3582},"  \"channels\"",{"type":24,"tag":515,"props":3584,"children":3585},{"style":991},[3586],{"type":30,"value":3587},": {\n",{"type":24,"tag":515,"props":3589,"children":3590},{"class":517,"line":606},[3591,3596],{"type":24,"tag":515,"props":3592,"children":3593},{"style":534},[3594],{"type":30,"value":3595},"    \"feishu\"",{"type":24,"tag":515,"props":3597,"children":3598},{"style":991},[3599],{"type":30,"value":3587},{"type":24,"tag":515,"props":3601,"children":3602},{"class":517,"line":616},[3603,3608,3613,3618],{"type":24,"tag":515,"props":3604,"children":3605},{"style":534},[3606],{"type":30,"value":3607},"      \"app_id\"",{"type":24,"tag":515,"props":3609,"children":3610},{"style":991},[3611],{"type":30,"value":3612},": ",{"type":24,"tag":515,"props":3614,"children":3615},{"style":534},[3616],{"type":30,"value":3617},"\"your-app-id\"",{"type":24,"tag":515,"props":3619,"children":3620},{"style":991},[3621],{"type":30,"value":3622},",\n",{"type":24,"tag":515,"props":3624,"children":3625},{"class":517,"line":625},[3626,3631,3635,3640],{"type":24,"tag":515,"props":3627,"children":3628},{"style":534},[3629],{"type":30,"value":3630},"      \"app_secret\"",{"type":24,"tag":515,"props":3632,"children":3633},{"style":991},[3634],{"type":30,"value":3612},{"type":24,"tag":515,"props":3636,"children":3637},{"style":534},[3638],{"type":30,"value":3639},"\"your-secret\"",{"type":24,"tag":515,"props":3641,"children":3642},{"style":991},[3643],{"type":30,"value":3622},{"type":24,"tag":515,"props":3645,"children":3646},{"class":517,"line":639},[3647,3652,3656,3661],{"type":24,"tag":515,"props":3648,"children":3649},{"style":534},[3650],{"type":30,"value":3651},"      \"verification_token\"",{"type":24,"tag":515,"props":3653,"children":3654},{"style":991},[3655],{"type":30,"value":3612},{"type":24,"tag":515,"props":3657,"children":3658},{"style":534},[3659],{"type":30,"value":3660},"\"your-token\"",{"type":24,"tag":515,"props":3662,"children":3663},{"style":991},[3664],{"type":30,"value":3622},{"type":24,"tag":515,"props":3666,"children":3667},{"class":517,"line":647},[3668,3673,3677],{"type":24,"tag":515,"props":3669,"children":3670},{"style":534},[3671],{"type":30,"value":3672},"      \"encrypt_key\"",{"type":24,"tag":515,"props":3674,"children":3675},{"style":991},[3676],{"type":30,"value":3612},{"type":24,"tag":515,"props":3678,"children":3679},{"style":534},[3680],{"type":30,"value":3681},"\"your-encrypt-key\"\n",{"type":24,"tag":515,"props":3683,"children":3684},{"class":517,"line":656},[3685],{"type":24,"tag":515,"props":3686,"children":3687},{"style":991},[3688],{"type":30,"value":3689},"    }\n",{"type":24,"tag":515,"props":3691,"children":3692},{"class":517,"line":1062},[3693],{"type":24,"tag":515,"props":3694,"children":3695},{"style":991},[3696],{"type":30,"value":3697},"  }\n",{"type":24,"tag":515,"props":3699,"children":3700},{"class":517,"line":1070},[3701],{"type":24,"tag":515,"props":3702,"children":3703},{"style":991},[3704],{"type":30,"value":3705},"}\n",{"type":24,"tag":57,"props":3707,"children":3709},{"id":3708},"_92-禁止命令白名单",[3710],{"type":30,"value":3711},"9.2 禁止命令白名单",{"type":24,"tag":504,"props":3713,"children":3715},{"code":3714,"language":507,"meta":7,"className":508,"style":7},"# 禁止某些危险命令\nopenclaw config set security.deny_commands [\"rm -rf\", \"dd if=\"]\n\n# 开启操作确认\nopenclaw config set security.confirm_destructive true\n",[3716],{"type":24,"tag":511,"props":3717,"children":3718},{"__ignoreMap":7},[3719,3727,3767,3774,3782],{"type":24,"tag":515,"props":3720,"children":3721},{"class":517,"line":518},[3722],{"type":24,"tag":515,"props":3723,"children":3724},{"style":567},[3725],{"type":30,"value":3726},"# 禁止某些危险命令\n",{"type":24,"tag":515,"props":3728,"children":3729},{"class":517,"line":573},[3730,3734,3738,3742,3747,3752,3757,3762],{"type":24,"tag":515,"props":3731,"children":3732},{"style":522},[3733],{"type":30,"value":839},{"type":24,"tag":515,"props":3735,"children":3736},{"style":534},[3737],{"type":30,"value":2249},{"type":24,"tag":515,"props":3739,"children":3740},{"style":534},[3741],{"type":30,"value":2254},{"type":24,"tag":515,"props":3743,"children":3744},{"style":534},[3745],{"type":30,"value":3746}," security.deny_commands",{"type":24,"tag":515,"props":3748,"children":3749},{"style":991},[3750],{"type":30,"value":3751}," [",{"type":24,"tag":515,"props":3753,"children":3754},{"style":534},[3755],{"type":30,"value":3756},"\"rm -rf\"",{"type":24,"tag":515,"props":3758,"children":3759},{"style":991},[3760],{"type":30,"value":3761},", ",{"type":24,"tag":515,"props":3763,"children":3764},{"style":534},[3765],{"type":30,"value":3766},"\"dd if=\"]\n",{"type":24,"tag":515,"props":3768,"children":3769},{"class":517,"line":592},[3770],{"type":24,"tag":515,"props":3771,"children":3772},{"emptyLinePlaceholder":610},[3773],{"type":30,"value":613},{"type":24,"tag":515,"props":3775,"children":3776},{"class":517,"line":606},[3777],{"type":24,"tag":515,"props":3778,"children":3779},{"style":567},[3780],{"type":30,"value":3781},"# 开启操作确认\n",{"type":24,"tag":515,"props":3783,"children":3784},{"class":517,"line":616},[3785,3789,3793,3797,3802],{"type":24,"tag":515,"props":3786,"children":3787},{"style":522},[3788],{"type":30,"value":839},{"type":24,"tag":515,"props":3790,"children":3791},{"style":534},[3792],{"type":30,"value":2249},{"type":24,"tag":515,"props":3794,"children":3795},{"style":534},[3796],{"type":30,"value":2254},{"type":24,"tag":515,"props":3798,"children":3799},{"style":534},[3800],{"type":30,"value":3801}," security.confirm_destructive",{"type":24,"tag":515,"props":3803,"children":3804},{"style":528},[3805],{"type":30,"value":2329},{"type":24,"tag":57,"props":3807,"children":3809},{"id":3808},"_93-api-密钥安全",[3810],{"type":30,"value":3811},"9.3 API 密钥安全",{"type":24,"tag":36,"props":3813,"children":3814},{},[3815],{"type":30,"value":3816},"敏感信息不要写在配置文件里，使用环境变量：",{"type":24,"tag":504,"props":3818,"children":3820},{"code":3819,"language":507,"meta":7,"className":508,"style":7},"export OPENCLAW_DEEPSEEK_API_KEY=sk-xxxx\nopenclaw config set model.api_key_from_env OPENCLAW_DEEPSEEK_API_KEY\n",[3821],{"type":24,"tag":511,"props":3822,"children":3823},{"__ignoreMap":7},[3824,3847],{"type":24,"tag":515,"props":3825,"children":3826},{"class":517,"line":518},[3827,3832,3837,3842],{"type":24,"tag":515,"props":3828,"children":3829},{"style":540},[3830],{"type":30,"value":3831},"export",{"type":24,"tag":515,"props":3833,"children":3834},{"style":991},[3835],{"type":30,"value":3836}," OPENCLAW_DEEPSEEK_API_KEY",{"type":24,"tag":515,"props":3838,"children":3839},{"style":540},[3840],{"type":30,"value":3841},"=",{"type":24,"tag":515,"props":3843,"children":3844},{"style":991},[3845],{"type":30,"value":3846},"sk-xxxx\n",{"type":24,"tag":515,"props":3848,"children":3849},{"class":517,"line":573},[3850,3854,3858,3862,3867],{"type":24,"tag":515,"props":3851,"children":3852},{"style":522},[3853],{"type":30,"value":839},{"type":24,"tag":515,"props":3855,"children":3856},{"style":534},[3857],{"type":30,"value":2249},{"type":24,"tag":515,"props":3859,"children":3860},{"style":534},[3861],{"type":30,"value":2254},{"type":24,"tag":515,"props":3863,"children":3864},{"style":534},[3865],{"type":30,"value":3866}," model.api_key_from_env",{"type":24,"tag":515,"props":3868,"children":3869},{"style":534},[3870],{"type":30,"value":3871}," OPENCLAW_DEEPSEEK_API_KEY\n",{"type":24,"tag":422,"props":3873,"children":3874},{},[],{"type":24,"tag":50,"props":3876,"children":3878},{"id":3877},"十常见问题排查",[3879],{"type":30,"value":3880},"十、常见问题排查",{"type":24,"tag":57,"props":3882,"children":3884},{"id":3883},"q1-gateway-启动失败",[3885],{"type":30,"value":3886},"Q1: Gateway 启动失败",{"type":24,"tag":504,"props":3888,"children":3890},{"code":3889,"language":507,"meta":7,"className":508,"style":7},"# 检查端口是否被占用\nlsof -i :18789\n\n# 查看详细错误\nopenclaw logs --verbose\n\n# 重新初始化\nopenclaw init --force\n",[3891],{"type":24,"tag":511,"props":3892,"children":3893},{"__ignoreMap":7},[3894,3902,3920,3927,3935,3952,3959,3967],{"type":24,"tag":515,"props":3895,"children":3896},{"class":517,"line":518},[3897],{"type":24,"tag":515,"props":3898,"children":3899},{"style":567},[3900],{"type":30,"value":3901},"# 检查端口是否被占用\n",{"type":24,"tag":515,"props":3903,"children":3904},{"class":517,"line":573},[3905,3910,3915],{"type":24,"tag":515,"props":3906,"children":3907},{"style":522},[3908],{"type":30,"value":3909},"lsof",{"type":24,"tag":515,"props":3911,"children":3912},{"style":528},[3913],{"type":30,"value":3914}," -i",{"type":24,"tag":515,"props":3916,"children":3917},{"style":534},[3918],{"type":30,"value":3919}," :18789\n",{"type":24,"tag":515,"props":3921,"children":3922},{"class":517,"line":592},[3923],{"type":24,"tag":515,"props":3924,"children":3925},{"emptyLinePlaceholder":610},[3926],{"type":30,"value":613},{"type":24,"tag":515,"props":3928,"children":3929},{"class":517,"line":606},[3930],{"type":24,"tag":515,"props":3931,"children":3932},{"style":567},[3933],{"type":30,"value":3934},"# 查看详细错误\n",{"type":24,"tag":515,"props":3936,"children":3937},{"class":517,"line":616},[3938,3942,3947],{"type":24,"tag":515,"props":3939,"children":3940},{"style":522},[3941],{"type":30,"value":839},{"type":24,"tag":515,"props":3943,"children":3944},{"style":534},[3945],{"type":30,"value":3946}," logs",{"type":24,"tag":515,"props":3948,"children":3949},{"style":528},[3950],{"type":30,"value":3951}," --verbose\n",{"type":24,"tag":515,"props":3953,"children":3954},{"class":517,"line":625},[3955],{"type":24,"tag":515,"props":3956,"children":3957},{"emptyLinePlaceholder":610},[3958],{"type":30,"value":613},{"type":24,"tag":515,"props":3960,"children":3961},{"class":517,"line":639},[3962],{"type":24,"tag":515,"props":3963,"children":3964},{"style":567},[3965],{"type":30,"value":3966},"# 重新初始化\n",{"type":24,"tag":515,"props":3968,"children":3969},{"class":517,"line":647},[3970,3974,3979],{"type":24,"tag":515,"props":3971,"children":3972},{"style":522},[3973],{"type":30,"value":839},{"type":24,"tag":515,"props":3975,"children":3976},{"style":534},[3977],{"type":30,"value":3978}," init",{"type":24,"tag":515,"props":3980,"children":3981},{"style":528},[3982],{"type":30,"value":3983}," --force\n",{"type":24,"tag":57,"props":3985,"children":3987},{"id":3986},"q2-飞书收不到消息",[3988],{"type":30,"value":3989},"Q2: 飞书收不到消息",{"type":24,"tag":2033,"props":3991,"children":3992},{},[3993,3998,4003,4008],{"type":24,"tag":92,"props":3994,"children":3995},{},[3996],{"type":30,"value":3997},"检查飞书应用是否已发布",{"type":24,"tag":92,"props":3999,"children":4000},{},[4001],{"type":30,"value":4002},"确认 Webhook URL 可公网访问",{"type":24,"tag":92,"props":4004,"children":4005},{},[4006],{"type":30,"value":4007},"检查权限是否都开启了",{"type":24,"tag":92,"props":4009,"children":4010},{},[4011,4013],{"type":30,"value":4012},"查看日志：",{"type":24,"tag":511,"props":4014,"children":4016},{"className":4015},[],[4017],{"type":30,"value":4018},"openclaw logs --channel feishu",{"type":24,"tag":57,"props":4020,"children":4022},{"id":4021},"q3-ai-回复很慢",[4023],{"type":30,"value":4024},"Q3: AI 回复很慢",{"type":24,"tag":504,"props":4026,"children":4028},{"code":4027,"language":507,"meta":7,"className":508,"style":7},"# 切换更快模型\nopenclaw config set model.provider openai\nopenclaw config set model.name gpt-4o-mini\n\n# 检查网络延迟\nopenclaw model ping\n",[4029],{"type":24,"tag":511,"props":4030,"children":4031},{"__ignoreMap":7},[4032,4040,4065,4090,4097,4105],{"type":24,"tag":515,"props":4033,"children":4034},{"class":517,"line":518},[4035],{"type":24,"tag":515,"props":4036,"children":4037},{"style":567},[4038],{"type":30,"value":4039},"# 切换更快模型\n",{"type":24,"tag":515,"props":4041,"children":4042},{"class":517,"line":573},[4043,4047,4051,4055,4060],{"type":24,"tag":515,"props":4044,"children":4045},{"style":522},[4046],{"type":30,"value":839},{"type":24,"tag":515,"props":4048,"children":4049},{"style":534},[4050],{"type":30,"value":2249},{"type":24,"tag":515,"props":4052,"children":4053},{"style":534},[4054],{"type":30,"value":2254},{"type":24,"tag":515,"props":4056,"children":4057},{"style":534},[4058],{"type":30,"value":4059}," model.provider",{"type":24,"tag":515,"props":4061,"children":4062},{"style":534},[4063],{"type":30,"value":4064}," openai\n",{"type":24,"tag":515,"props":4066,"children":4067},{"class":517,"line":592},[4068,4072,4076,4080,4085],{"type":24,"tag":515,"props":4069,"children":4070},{"style":522},[4071],{"type":30,"value":839},{"type":24,"tag":515,"props":4073,"children":4074},{"style":534},[4075],{"type":30,"value":2249},{"type":24,"tag":515,"props":4077,"children":4078},{"style":534},[4079],{"type":30,"value":2254},{"type":24,"tag":515,"props":4081,"children":4082},{"style":534},[4083],{"type":30,"value":4084}," model.name",{"type":24,"tag":515,"props":4086,"children":4087},{"style":534},[4088],{"type":30,"value":4089}," gpt-4o-mini\n",{"type":24,"tag":515,"props":4091,"children":4092},{"class":517,"line":606},[4093],{"type":24,"tag":515,"props":4094,"children":4095},{"emptyLinePlaceholder":610},[4096],{"type":30,"value":613},{"type":24,"tag":515,"props":4098,"children":4099},{"class":517,"line":616},[4100],{"type":24,"tag":515,"props":4101,"children":4102},{"style":567},[4103],{"type":30,"value":4104},"# 检查网络延迟\n",{"type":24,"tag":515,"props":4106,"children":4107},{"class":517,"line":625},[4108,4112,4117],{"type":24,"tag":515,"props":4109,"children":4110},{"style":522},[4111],{"type":30,"value":839},{"type":24,"tag":515,"props":4113,"children":4114},{"style":534},[4115],{"type":30,"value":4116}," model",{"type":24,"tag":515,"props":4118,"children":4119},{"style":534},[4120],{"type":30,"value":4121}," ping\n",{"type":24,"tag":57,"props":4123,"children":4125},{"id":4124},"q4-记忆不生效",[4126],{"type":30,"value":4127},"Q4: 记忆不生效",{"type":24,"tag":504,"props":4129,"children":4131},{"code":4130,"language":507,"meta":7,"className":508,"style":7},"# 检查 MEMORY.md 是否存在\ncat ~\u002F.openclaw\u002Fworkspace\u002FMEMORY.md\n\n# 手动添加记忆\nopenclaw memory add \"用户偏好使用 DeepSeek 模型\"\n",[4132],{"type":24,"tag":511,"props":4133,"children":4134},{"__ignoreMap":7},[4135,4143,4156,4163,4171],{"type":24,"tag":515,"props":4136,"children":4137},{"class":517,"line":518},[4138],{"type":24,"tag":515,"props":4139,"children":4140},{"style":567},[4141],{"type":30,"value":4142},"# 检查 MEMORY.md 是否存在\n",{"type":24,"tag":515,"props":4144,"children":4145},{"class":517,"line":573},[4146,4151],{"type":24,"tag":515,"props":4147,"children":4148},{"style":522},[4149],{"type":30,"value":4150},"cat",{"type":24,"tag":515,"props":4152,"children":4153},{"style":534},[4154],{"type":30,"value":4155}," ~\u002F.openclaw\u002Fworkspace\u002FMEMORY.md\n",{"type":24,"tag":515,"props":4157,"children":4158},{"class":517,"line":592},[4159],{"type":24,"tag":515,"props":4160,"children":4161},{"emptyLinePlaceholder":610},[4162],{"type":30,"value":613},{"type":24,"tag":515,"props":4164,"children":4165},{"class":517,"line":606},[4166],{"type":24,"tag":515,"props":4167,"children":4168},{"style":567},[4169],{"type":30,"value":4170},"# 手动添加记忆\n",{"type":24,"tag":515,"props":4172,"children":4173},{"class":517,"line":616},[4174,4178,4183,4187],{"type":24,"tag":515,"props":4175,"children":4176},{"style":522},[4177],{"type":30,"value":839},{"type":24,"tag":515,"props":4179,"children":4180},{"style":534},[4181],{"type":30,"value":4182}," memory",{"type":24,"tag":515,"props":4184,"children":4185},{"style":534},[4186],{"type":30,"value":2217},{"type":24,"tag":515,"props":4188,"children":4189},{"style":534},[4190],{"type":30,"value":4191}," \"用户偏好使用 DeepSeek 模型\"\n",{"type":24,"tag":57,"props":4193,"children":4195},{"id":4194},"q5-skills-安装失败",[4196],{"type":30,"value":4197},"Q5: Skills 安装失败",{"type":24,"tag":504,"props":4199,"children":4201},{"code":4200,"language":507,"meta":7,"className":508,"style":7},"# 检查网络\ncurl https:\u002F\u002Fclawhub.ai\n\n# 使用代理\nexport HTTPS_PROXY=http:\u002F\u002F127.0.0.1:7890\nopenclaw skills install clawhub\u002Fxxx\n",[4202],{"type":24,"tag":511,"props":4203,"children":4204},{"__ignoreMap":7},[4205,4213,4225,4232,4240,4261],{"type":24,"tag":515,"props":4206,"children":4207},{"class":517,"line":518},[4208],{"type":24,"tag":515,"props":4209,"children":4210},{"style":567},[4211],{"type":30,"value":4212},"# 检查网络\n",{"type":24,"tag":515,"props":4214,"children":4215},{"class":517,"line":573},[4216,4220],{"type":24,"tag":515,"props":4217,"children":4218},{"style":522},[4219],{"type":30,"value":525},{"type":24,"tag":515,"props":4221,"children":4222},{"style":534},[4223],{"type":30,"value":4224}," https:\u002F\u002Fclawhub.ai\n",{"type":24,"tag":515,"props":4226,"children":4227},{"class":517,"line":592},[4228],{"type":24,"tag":515,"props":4229,"children":4230},{"emptyLinePlaceholder":610},[4231],{"type":30,"value":613},{"type":24,"tag":515,"props":4233,"children":4234},{"class":517,"line":606},[4235],{"type":24,"tag":515,"props":4236,"children":4237},{"style":567},[4238],{"type":30,"value":4239},"# 使用代理\n",{"type":24,"tag":515,"props":4241,"children":4242},{"class":517,"line":616},[4243,4247,4252,4256],{"type":24,"tag":515,"props":4244,"children":4245},{"style":540},[4246],{"type":30,"value":3831},{"type":24,"tag":515,"props":4248,"children":4249},{"style":991},[4250],{"type":30,"value":4251}," HTTPS_PROXY",{"type":24,"tag":515,"props":4253,"children":4254},{"style":540},[4255],{"type":30,"value":3841},{"type":24,"tag":515,"props":4257,"children":4258},{"style":991},[4259],{"type":30,"value":4260},"http:\u002F\u002F127.0.0.1:7890\n",{"type":24,"tag":515,"props":4262,"children":4263},{"class":517,"line":625},[4264,4268,4272,4276],{"type":24,"tag":515,"props":4265,"children":4266},{"style":522},[4267],{"type":30,"value":839},{"type":24,"tag":515,"props":4269,"children":4270},{"style":534},[4271],{"type":30,"value":2653},{"type":24,"tag":515,"props":4273,"children":4274},{"style":534},[4275],{"type":30,"value":666},{"type":24,"tag":515,"props":4277,"children":4278},{"style":534},[4279],{"type":30,"value":4280}," clawhub\u002Fxxx\n",{"type":24,"tag":422,"props":4282,"children":4283},{},[],{"type":24,"tag":50,"props":4285,"children":4287},{"id":4286},"结语",[4288],{"type":30,"value":4286},{"type":24,"tag":36,"props":4290,"children":4291},{},[4292,4294,4299],{"type":30,"value":4293},"OpenClaw 代表了一种新的 AI 使用范式——不是每次都要从零开始的聊天工具，而是能真正融入你的工作流、记住你的习惯、主动帮你思考的",{"type":24,"tag":42,"props":4295,"children":4296},{},[4297],{"type":30,"value":4298},"数字伙伴",{"type":30,"value":960},{"type":24,"tag":36,"props":4301,"children":4302},{},[4303],{"type":30,"value":4304},"配合飞书等消息平台，OpenClaw 可以成为你全天候的私人助理——处理信息、完成任务、管理日程、记住你说过的一切。",{"type":24,"tag":36,"props":4306,"children":4307},{},[4308],{"type":24,"tag":42,"props":4309,"children":4310},{},[4311],{"type":30,"value":4312},"相关资源：",{"type":24,"tag":88,"props":4314,"children":4315},{},[4316,4325,4334,4344],{"type":24,"tag":92,"props":4317,"children":4318},{},[4319,4320],{"type":30,"value":96},{"type":24,"tag":98,"props":4321,"children":4323},{"href":100,"rel":4322},[102],[4324],{"type":30,"value":100},{"type":24,"tag":92,"props":4326,"children":4327},{},[4328,4329],{"type":30,"value":109},{"type":24,"tag":98,"props":4330,"children":4332},{"href":112,"rel":4331},[102],[4333],{"type":30,"value":112},{"type":24,"tag":92,"props":4335,"children":4336},{},[4337,4339],{"type":30,"value":4338},"社区 Discord：",{"type":24,"tag":98,"props":4340,"children":4342},{"href":123,"rel":4341},[102],[4343],{"type":30,"value":123},{"type":24,"tag":92,"props":4345,"children":4346},{},[4347,4348],{"type":30,"value":131},{"type":24,"tag":98,"props":4349,"children":4351},{"href":134,"rel":4350},[102],[4352],{"type":30,"value":134},{"type":24,"tag":4354,"props":4355,"children":4356},"style",{},[4357],{"type":30,"value":4358},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":7,"searchDepth":592,"depth":592,"links":4360},[4361,4366,4373,4374,4383,4388,4394,4399,4404,4409,4416],{"id":52,"depth":573,"text":55,"children":4362},[4363,4364,4365],{"id":59,"depth":592,"text":62},{"id":140,"depth":592,"text":143},{"id":286,"depth":592,"text":289},{"id":427,"depth":573,"text":430,"children":4367},[4368,4369,4370,4371,4372],{"id":433,"depth":592,"text":436},{"id":499,"depth":592,"text":502},{"id":551,"depth":592,"text":554},{"id":678,"depth":592,"text":681},{"id":813,"depth":592,"text":816},{"id":909,"depth":573,"text":912},{"id":939,"depth":573,"text":942,"children":4375},[4376,4377,4378,4379,4380,4381,4382],{"id":945,"depth":592,"text":948},{"id":1200,"depth":592,"text":1203},{"id":1314,"depth":592,"text":1317},{"id":1414,"depth":592,"text":1417},{"id":1602,"depth":592,"text":1605},{"id":1757,"depth":592,"text":1760},{"id":1911,"depth":592,"text":1914},{"id":2014,"depth":573,"text":2017,"children":4384},[4385,4386,4387],{"id":2020,"depth":592,"text":2023},{"id":2401,"depth":592,"text":2404},{"id":2512,"depth":592,"text":2515},{"id":2598,"depth":573,"text":2601,"children":4389},[4390,4391,4392,4393],{"id":2604,"depth":592,"text":2607},{"id":2623,"depth":592,"text":2626},{"id":2762,"depth":592,"text":2765},{"id":2875,"depth":592,"text":2878},{"id":3004,"depth":573,"text":3007,"children":4395},[4396,4397,4398],{"id":3010,"depth":592,"text":3013},{"id":3049,"depth":592,"text":3052},{"id":3171,"depth":592,"text":3174},{"id":3185,"depth":573,"text":3188,"children":4400},[4401,4402,4403],{"id":3191,"depth":592,"text":3194},{"id":3202,"depth":592,"text":3205},{"id":3363,"depth":592,"text":3366},{"id":3540,"depth":573,"text":3543,"children":4405},[4406,4407,4408],{"id":3546,"depth":592,"text":3549},{"id":3708,"depth":592,"text":3711},{"id":3808,"depth":592,"text":3811},{"id":3877,"depth":573,"text":3880,"children":4410},[4411,4412,4413,4414,4415],{"id":3883,"depth":592,"text":3886},{"id":3986,"depth":592,"text":3989},{"id":4021,"depth":592,"text":4024},{"id":4124,"depth":592,"text":4127},{"id":4194,"depth":592,"text":4197},{"id":4286,"depth":573,"text":4286},"content:tutorials:openclaw-guide.md","content","tutorials\u002Fopenclaw-guide.md","tutorials\u002Fopenclaw-guide","md",1777089724704]