[{"data":1,"prerenderedAt":1293},["ShallowReactive",2],{"navigation":3,"\u002Fzh\u002Fhow-to\u002Fprofiles":129,"\u002Fzh\u002Fhow-to\u002Fprofiles-surround":1288},[4,68],{"title":5,"path":6,"stem":7,"children":8,"page":22},"En","\u002Fen","en",[9,13,23],{"title":10,"path":11,"stem":12},"Product Overview","\u002Fen\u002Fintroduction","en\u002F0.introduction",{"title":14,"path":15,"stem":16,"children":17,"page":22},"Tutorials","\u002Fen\u002Ftutorials","en\u002F1.tutorials",[18],{"title":19,"path":20,"stem":21},"Quick Start","\u002Fen\u002Ftutorials\u002Fquickstart","en\u002F1.tutorials\u002Fquickstart",false,{"title":24,"path":25,"stem":26,"children":27,"page":22},"How To","\u002Fen\u002Fhow-to","en\u002F2.how-to",[28,32,36,40,44,48,52,56,60,64],{"title":29,"path":30,"stem":31},"Canvas Workspace","\u002Fen\u002Fhow-to\u002Fcanvas","en\u002F2.how-to\u002Fcanvas",{"title":33,"path":34,"stem":35},"Configuration","\u002Fen\u002Fhow-to\u002Fconfigure","en\u002F2.how-to\u002Fconfigure",{"title":37,"path":38,"stem":39},"Scheduled Tasks","\u002Fen\u002Fhow-to\u002Fcron-jobs","en\u002F2.how-to\u002Fcron-jobs",{"title":41,"path":42,"stem":43},"Configuring System Service","\u002Fen\u002Fhow-to\u002Finstall","en\u002F2.how-to\u002Finstall",{"title":45,"path":46,"stem":47},"Managing Instructions","\u002Fen\u002Fhow-to\u002Finstructions","en\u002F2.how-to\u002Finstructions",{"title":49,"path":50,"stem":51},"MCP Servers","\u002Fen\u002Fhow-to\u002Fmcp-servers","en\u002F2.how-to\u002Fmcp-servers",{"title":53,"path":54,"stem":55},"Managing Profiles","\u002Fen\u002Fhow-to\u002Fprofiles","en\u002F2.how-to\u002Fprofiles",{"title":57,"path":58,"stem":59},"Configuring Runtimes","\u002Fen\u002Fhow-to\u002Fruntimes","en\u002F2.how-to\u002Fruntimes",{"title":61,"path":62,"stem":63},"Managing Skills","\u002Fen\u002Fhow-to\u002Fskills","en\u002F2.how-to\u002Fskills",{"title":65,"path":66,"stem":67},"VS Code Integration","\u002Fen\u002Fhow-to\u002Fvscode","en\u002F2.how-to\u002Fvscode",{"title":69,"path":70,"stem":71,"children":72,"page":22},"Zh","\u002Fzh","zh",[73,77,85],{"title":74,"path":75,"stem":76},"产品概述","\u002Fzh\u002Fintroduction","zh\u002F0.introduction",{"title":14,"path":78,"stem":79,"children":80,"page":22},"\u002Fzh\u002Ftutorials","zh\u002F1.tutorials",[81],{"title":82,"path":83,"stem":84},"快速开始","\u002Fzh\u002Ftutorials\u002Fquickstart","zh\u002F1.tutorials\u002Fquickstart",{"title":24,"path":86,"stem":87,"children":88,"page":22},"\u002Fzh\u002Fhow-to","zh\u002F2.how-to",[89,93,97,101,105,109,113,117,121,125],{"title":90,"path":91,"stem":92},"Canvas 工作区","\u002Fzh\u002Fhow-to\u002Fcanvas","zh\u002F2.how-to\u002Fcanvas",{"title":94,"path":95,"stem":96},"配置","\u002Fzh\u002Fhow-to\u002Fconfigure","zh\u002F2.how-to\u002Fconfigure",{"title":98,"path":99,"stem":100},"定时任务","\u002Fzh\u002Fhow-to\u002Fcron-jobs","zh\u002F2.how-to\u002Fcron-jobs",{"title":102,"path":103,"stem":104},"配置系统服务","\u002Fzh\u002Fhow-to\u002Finstall","zh\u002F2.how-to\u002Finstall",{"title":106,"path":107,"stem":108},"管理指令文件","\u002Fzh\u002Fhow-to\u002Finstructions","zh\u002F2.how-to\u002Finstructions",{"title":110,"path":111,"stem":112},"MCP 服务器","\u002Fzh\u002Fhow-to\u002Fmcp-servers","zh\u002F2.how-to\u002Fmcp-servers",{"title":114,"path":115,"stem":116},"管理 Profile","\u002Fzh\u002Fhow-to\u002Fprofiles","zh\u002F2.how-to\u002Fprofiles",{"title":118,"path":119,"stem":120},"配置 Runtime","\u002Fzh\u002Fhow-to\u002Fruntimes","zh\u002F2.how-to\u002Fruntimes",{"title":122,"path":123,"stem":124},"管理 Skill","\u002Fzh\u002Fhow-to\u002Fskills","zh\u002F2.how-to\u002Fskills",{"title":126,"path":127,"stem":128},"VS Code 集成","\u002Fzh\u002Fhow-to\u002Fvscode","zh\u002F2.how-to\u002Fvscode",{"id":130,"title":114,"body":131,"description":1282,"extension":1283,"links":1284,"meta":1285,"navigation":297,"path":115,"seo":1286,"stem":116,"__hash__":1287},"docs\u002Fzh\u002F2.how-to\u002Fprofiles.md",{"type":132,"value":133,"toc":1254},"minimark",[134,138,142,145,148,151,162,165,171,175,179,182,305,309,313,377,380,488,492,500,503,519,522,593,597,601,629,633,636,655,658,662,816,820,983,987,994,1077,1080,1083,1130,1134,1137,1144,1148,1151,1155,1158,1161,1190,1193,1197,1200,1217,1220,1250],[135,136,137],"h2",{"id":137},"概述",[139,140,141],"p",{},"Profile 定义了一个 Agent\n的”工作人格”。它包含系统提示、关联的运行时、能力范围（Skills 和 MCP\nServer）和默认配置。",[139,143,144],{},"通过创建多个 Profile，你可以为不同的场景定义不同的 Agent\n角色，比如”代码审查员”、“DevOps 工程师”等。",[135,146,147],{"id":147},"文件位置",[139,149,150],{},"Profile 文件存放在：",[152,153,158],"pre",{"className":154,"code":156,"language":157},[155],"language-text","~\u002F.sink\u002Fprofiles\u002F\n","text",[159,160,156],"code",{"__ignoreMap":161},"",[139,163,164],{},"每个 Profile 是一个独立的 Markdown 文件：",[152,166,169],{"className":167,"code":168,"language":157},[155],"~\u002F.sink\u002Fprofiles\u002F\n  ├── code-reviewer.md\n  ├── devops-engineer.md\n  └── research-assistant.md\n",[159,170,168],{"__ignoreMap":161},[135,172,174],{"id":173},"创建-profile","创建 Profile",[176,177,178],"h3",{"id":178},"文件格式",[139,180,181],{},"Profile 由 YAML frontmatter + Markdown 正文组成：",[152,183,187],{"className":184,"code":185,"language":186,"meta":161,"style":161},"language-markdown shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","---\nname: 'code-reviewer'\ndescription: 'Code quality analysis and review'\nruntime: claude-code\nskills:\n  - web-search\n  - code-analysis\nmcpServers:\n  - filesystem\n  - api-client\nconfigDefaults:\n  model: claude-opus-4\n  mode: code\n  temperature: '0.7'\nmetadata:\n  disabled: false\n---\n\nYou are an experienced code reviewer with deep expertise in software quality and best practices...\n","markdown",[159,188,189,197,203,209,215,221,227,233,239,245,251,257,263,269,275,281,287,292,299],{"__ignoreMap":161},[190,191,194],"span",{"class":192,"line":193},"line",1,[190,195,196],{},"---\n",[190,198,200],{"class":192,"line":199},2,[190,201,202],{},"name: 'code-reviewer'\n",[190,204,206],{"class":192,"line":205},3,[190,207,208],{},"description: 'Code quality analysis and review'\n",[190,210,212],{"class":192,"line":211},4,[190,213,214],{},"runtime: claude-code\n",[190,216,218],{"class":192,"line":217},5,[190,219,220],{},"skills:\n",[190,222,224],{"class":192,"line":223},6,[190,225,226],{},"  - web-search\n",[190,228,230],{"class":192,"line":229},7,[190,231,232],{},"  - code-analysis\n",[190,234,236],{"class":192,"line":235},8,[190,237,238],{},"mcpServers:\n",[190,240,242],{"class":192,"line":241},9,[190,243,244],{},"  - filesystem\n",[190,246,248],{"class":192,"line":247},10,[190,249,250],{},"  - api-client\n",[190,252,254],{"class":192,"line":253},11,[190,255,256],{},"configDefaults:\n",[190,258,260],{"class":192,"line":259},12,[190,261,262],{},"  model: claude-opus-4\n",[190,264,266],{"class":192,"line":265},13,[190,267,268],{},"  mode: code\n",[190,270,272],{"class":192,"line":271},14,[190,273,274],{},"  temperature: '0.7'\n",[190,276,278],{"class":192,"line":277},15,[190,279,280],{},"metadata:\n",[190,282,284],{"class":192,"line":283},16,[190,285,286],{},"  disabled: false\n",[190,288,290],{"class":192,"line":289},17,[190,291,196],{},[190,293,295],{"class":192,"line":294},18,[190,296,298],{"emptyLinePlaceholder":297},true,"\n",[190,300,302],{"class":192,"line":301},19,[190,303,304],{},"You are an experienced code reviewer with deep expertise in software quality and best practices...\n",[176,306,308],{"id":307},"frontmatter-字段","Frontmatter 字段",[310,311,312],"h4",{"id":312},"必填字段",[314,315,316,332],"table",{},[317,318,319],"thead",{},[320,321,322,326,329],"tr",{},[323,324,325],"th",{},"字段",[323,327,328],{},"类型",[323,330,331],{},"说明",[333,334,335,349,361],"tbody",{},[320,336,337,343,346],{},[338,339,340],"td",{},[159,341,342],{},"name",[338,344,345],{},"string",[338,347,348],{},"Profile 的显示名称",[320,350,351,356,358],{},[338,352,353],{},[159,354,355],{},"description",[338,357,345],{},[338,359,360],{},"Profile 的描述",[320,362,363,368,370],{},[338,364,365],{},[159,366,367],{},"runtime",[338,369,345],{},[338,371,372,373,376],{},"使用的 Runtime ID（如 ",[159,374,375],{},"claude-code","）",[310,378,379],{"id":379},"可选字段",[314,381,382,392],{},[317,383,384],{},[320,385,386,388,390],{},[323,387,325],{},[323,389,328],{},[323,391,331],{},[333,393,394,407,419,432,451,463,475],{},[320,395,396,401,404],{},[338,397,398],{},[159,399,400],{},"skills",[338,402,403],{},"array \u002F object",[338,405,406],{},"该 Profile 可用的 Skill 列表",[320,408,409,414,416],{},[338,410,411],{},[159,412,413],{},"mcpServers",[338,415,403],{},[338,417,418],{},"该 Profile 可用的 MCP Server 列表",[320,420,421,426,429],{},[338,422,423],{},[159,424,425],{},"configDefaults",[338,427,428],{},"object",[338,430,431],{},"Agent 会话的默认配置",[320,433,434,439,441],{},[338,435,436],{},[159,437,438],{},"executionModes",[338,440,403],{},[338,442,443,444,447,448,376],{},"允许的执行模式（如 ",[159,445,446],{},"individual"," 或 ",[159,449,450],{},"team",[320,452,453,458,460],{},[338,454,455],{},[159,456,457],{},"subtaskProfiles",[338,459,403],{},[338,461,462],{},"子任务可用的 Profile 限制",[320,464,465,470,472],{},[338,466,467],{},[159,468,469],{},"overrides",[338,471,428],{},[338,473,474],{},"特定 MCP Server 或命令的额外参数",[320,476,477,482,485],{},[338,478,479],{},[159,480,481],{},"metadata.disabled",[338,483,484],{},"boolean",[338,486,487],{},"是否禁用该 Profile",[176,489,491],{"id":490},"markdown-正文","Markdown 正文",[139,493,494,495,499],{},"Frontmatter 之后的 Markdown 正文是该 Profile 的 ",[496,497,498],"strong",{},"系统提示（System\nPrompt）","。Agent 会按照这个提示来理解自己的角色和工作方式。",[139,501,502],{},"一个好的系统提示应该包括：",[504,505,506,510,513,516],"ul",{},[507,508,509],"li",{},"Agent 的角色和背景",[507,511,512],{},"工作原则和约束条件",[507,514,515],{},"思考方式和输出格式",[507,517,518],{},"安全和伦理指南",[139,520,521],{},"示例：",[152,523,525],{"className":184,"code":524,"language":186,"meta":161,"style":161},"You are an experienced code reviewer with deep expertise in software quality and best practices.\n\nYour responsibilities:\n\n1. Identify bugs, code smells, and maintainability issues\n2. Assess severity and impact of findings\n3. Provide actionable improvement suggestions\n\nWork principles:\n\n- Always prioritize correctness and readability\n- Document all findings with clear explanations\n- Report critical issues with highest priority\n- Suggest concrete fixes, not just problems\n",[159,526,527,532,536,541,545,550,555,560,564,569,573,578,583,588],{"__ignoreMap":161},[190,528,529],{"class":192,"line":193},[190,530,531],{},"You are an experienced code reviewer with deep expertise in software quality and best practices.\n",[190,533,534],{"class":192,"line":199},[190,535,298],{"emptyLinePlaceholder":297},[190,537,538],{"class":192,"line":205},[190,539,540],{},"Your responsibilities:\n",[190,542,543],{"class":192,"line":211},[190,544,298],{"emptyLinePlaceholder":297},[190,546,547],{"class":192,"line":217},[190,548,549],{},"1. Identify bugs, code smells, and maintainability issues\n",[190,551,552],{"class":192,"line":223},[190,553,554],{},"2. Assess severity and impact of findings\n",[190,556,557],{"class":192,"line":229},[190,558,559],{},"3. Provide actionable improvement suggestions\n",[190,561,562],{"class":192,"line":235},[190,563,298],{"emptyLinePlaceholder":297},[190,565,566],{"class":192,"line":241},[190,567,568],{},"Work principles:\n",[190,570,571],{"class":192,"line":247},[190,572,298],{"emptyLinePlaceholder":297},[190,574,575],{"class":192,"line":253},[190,576,577],{},"- Always prioritize correctness and readability\n",[190,579,580],{"class":192,"line":259},[190,581,582],{},"- Document all findings with clear explanations\n",[190,584,585],{"class":192,"line":265},[190,586,587],{},"- Report critical issues with highest priority\n",[190,589,590],{"class":192,"line":271},[190,591,592],{},"- Suggest concrete fixes, not just problems\n",[135,594,596],{"id":595},"在-web-ui-中使用-profile","在 Web UI 中使用 Profile",[176,598,600],{"id":599},"创建任务时选择-profile","创建任务时选择 Profile",[602,603,604,607,610,613,616,626],"ol",{},[507,605,606],{},"打开 Sink Web UI",[507,608,609],{},"点击”新建任务”按钮",[507,611,612],{},"在”Profile”下拉菜单中选择一个 Profile",[507,614,615],{},"输入任务标题和描述",[507,617,618,619,621,622,625],{},"（可选）如果该 Profile 的 ",[159,620,425],{}," 中有带 ",[159,623,624],{},"candidates","\n的字段，你可以在此处覆盖默认值",[507,627,628],{},"点击”创建”",[176,630,632],{"id":631},"查看-profile-详情","查看 Profile 详情",[139,634,635],{},"在 Web UI 的”Profile”菜单中：",[602,637,638,641],{},[507,639,640],{},"选择一个 Profile",[507,642,643,644],{},"可以查看：\n",[504,645,646,649,652],{},[507,647,648],{},"Frontmatter 信息（名称、描述、Runtime 等）",[507,650,651],{},"可用的 Skills 和 MCP Servers",[507,653,654],{},"系统提示的完整正文",[135,656,657],{"id":657},"常见场景",[176,659,661],{"id":660},"场景-1创建一个代码审查-profile","场景 1：创建一个代码审查 Profile",[152,663,665],{"className":184,"code":664,"language":186,"meta":161,"style":161},"---\nname: 'code-reviewer'\ndescription: '代码质量分析和最佳实践审查'\nruntime: claude-code\nskills:\n  - code-analysis\n  - test-runner\n  - dependency-check\nmcpServers:\n  - filesystem\nconfigDefaults:\n  model: claude-opus-4\n  mode: code\nmetadata:\n  disabled: false\n---\n\n你是一位专注于代码质量的专家代码审查员。\n\n你的任务：\n\n1. 分析源代码的正确性和可维护性问题\n2. 检查依赖项是否存在过时或有问题的版本\n3. 审查配置文件的错误配置\n4. 生成详细的审查报告，包含严重程度评级\n\n标准：\n\n- 遵循特定语言的最佳实践和风格指南\n- 检查常见的反模式\n- 提供具体的修复建议和代码示例\n",[159,666,667,671,675,680,684,688,692,697,702,706,710,714,718,722,726,730,734,738,743,747,753,758,764,770,776,782,787,793,798,804,810],{"__ignoreMap":161},[190,668,669],{"class":192,"line":193},[190,670,196],{},[190,672,673],{"class":192,"line":199},[190,674,202],{},[190,676,677],{"class":192,"line":205},[190,678,679],{},"description: '代码质量分析和最佳实践审查'\n",[190,681,682],{"class":192,"line":211},[190,683,214],{},[190,685,686],{"class":192,"line":217},[190,687,220],{},[190,689,690],{"class":192,"line":223},[190,691,232],{},[190,693,694],{"class":192,"line":229},[190,695,696],{},"  - test-runner\n",[190,698,699],{"class":192,"line":235},[190,700,701],{},"  - dependency-check\n",[190,703,704],{"class":192,"line":241},[190,705,238],{},[190,707,708],{"class":192,"line":247},[190,709,244],{},[190,711,712],{"class":192,"line":253},[190,713,256],{},[190,715,716],{"class":192,"line":259},[190,717,262],{},[190,719,720],{"class":192,"line":265},[190,721,268],{},[190,723,724],{"class":192,"line":271},[190,725,280],{},[190,727,728],{"class":192,"line":277},[190,729,286],{},[190,731,732],{"class":192,"line":283},[190,733,196],{},[190,735,736],{"class":192,"line":289},[190,737,298],{"emptyLinePlaceholder":297},[190,739,740],{"class":192,"line":294},[190,741,742],{},"你是一位专注于代码质量的专家代码审查员。\n",[190,744,745],{"class":192,"line":301},[190,746,298],{"emptyLinePlaceholder":297},[190,748,750],{"class":192,"line":749},20,[190,751,752],{},"你的任务：\n",[190,754,756],{"class":192,"line":755},21,[190,757,298],{"emptyLinePlaceholder":297},[190,759,761],{"class":192,"line":760},22,[190,762,763],{},"1. 分析源代码的正确性和可维护性问题\n",[190,765,767],{"class":192,"line":766},23,[190,768,769],{},"2. 检查依赖项是否存在过时或有问题的版本\n",[190,771,773],{"class":192,"line":772},24,[190,774,775],{},"3. 审查配置文件的错误配置\n",[190,777,779],{"class":192,"line":778},25,[190,780,781],{},"4. 生成详细的审查报告，包含严重程度评级\n",[190,783,785],{"class":192,"line":784},26,[190,786,298],{"emptyLinePlaceholder":297},[190,788,790],{"class":192,"line":789},27,[190,791,792],{},"标准：\n",[190,794,796],{"class":192,"line":795},28,[190,797,298],{"emptyLinePlaceholder":297},[190,799,801],{"class":192,"line":800},29,[190,802,803],{},"- 遵循特定语言的最佳实践和风格指南\n",[190,805,807],{"class":192,"line":806},30,[190,808,809],{},"- 检查常见的反模式\n",[190,811,813],{"class":192,"line":812},31,[190,814,815],{},"- 提供具体的修复建议和代码示例\n",[176,817,819],{"id":818},"场景-2创建一个-devops-工程师-profile","场景 2：创建一个 DevOps 工程师 Profile",[152,821,823],{"className":184,"code":822,"language":186,"meta":161,"style":161},"---\nname: 'devops-engineer'\ndescription: '基础设施和部署工作流自动化'\nruntime: claude-code\nskills:\n  - docker-ops\n  - ci-cd\n  - infra-check\nmcpServers:\n  - filesystem\n  - shell-execution\nconfigDefaults:\n  model: claude-opus-4\n  temperature: '0.3'\nexecutionModes:\n  - individual\nmetadata:\n  disabled: false\n---\n\n你是一位经验丰富的 DevOps 工程师。\n\n你的工作方式：\n\n1. 检查：审视基础设施配置、CI\u002FCD 流水线和部署清单\n2. 分析：识别错误配置、缺失的安全措施和优化机会\n3. 验证：通过可复现的检查确认发现\n4. 报告：记录问题和修复步骤\n\n安全约束：\n\n- 仅在明确授权时修改系统\n- 未经明确批准不得删除资源\n- 记录所有变更以便审计\n",[159,824,825,829,834,839,843,847,852,857,862,866,870,875,879,883,888,893,898,902,906,910,914,919,923,928,932,937,942,947,952,956,961,965,971,977],{"__ignoreMap":161},[190,826,827],{"class":192,"line":193},[190,828,196],{},[190,830,831],{"class":192,"line":199},[190,832,833],{},"name: 'devops-engineer'\n",[190,835,836],{"class":192,"line":205},[190,837,838],{},"description: '基础设施和部署工作流自动化'\n",[190,840,841],{"class":192,"line":211},[190,842,214],{},[190,844,845],{"class":192,"line":217},[190,846,220],{},[190,848,849],{"class":192,"line":223},[190,850,851],{},"  - docker-ops\n",[190,853,854],{"class":192,"line":229},[190,855,856],{},"  - ci-cd\n",[190,858,859],{"class":192,"line":235},[190,860,861],{},"  - infra-check\n",[190,863,864],{"class":192,"line":241},[190,865,238],{},[190,867,868],{"class":192,"line":247},[190,869,244],{},[190,871,872],{"class":192,"line":253},[190,873,874],{},"  - shell-execution\n",[190,876,877],{"class":192,"line":259},[190,878,256],{},[190,880,881],{"class":192,"line":265},[190,882,262],{},[190,884,885],{"class":192,"line":271},[190,886,887],{},"  temperature: '0.3'\n",[190,889,890],{"class":192,"line":277},[190,891,892],{},"executionModes:\n",[190,894,895],{"class":192,"line":283},[190,896,897],{},"  - individual\n",[190,899,900],{"class":192,"line":289},[190,901,280],{},[190,903,904],{"class":192,"line":294},[190,905,286],{},[190,907,908],{"class":192,"line":301},[190,909,196],{},[190,911,912],{"class":192,"line":749},[190,913,298],{"emptyLinePlaceholder":297},[190,915,916],{"class":192,"line":755},[190,917,918],{},"你是一位经验丰富的 DevOps 工程师。\n",[190,920,921],{"class":192,"line":760},[190,922,298],{"emptyLinePlaceholder":297},[190,924,925],{"class":192,"line":766},[190,926,927],{},"你的工作方式：\n",[190,929,930],{"class":192,"line":772},[190,931,298],{"emptyLinePlaceholder":297},[190,933,934],{"class":192,"line":778},[190,935,936],{},"1. 检查：审视基础设施配置、CI\u002FCD 流水线和部署清单\n",[190,938,939],{"class":192,"line":784},[190,940,941],{},"2. 分析：识别错误配置、缺失的安全措施和优化机会\n",[190,943,944],{"class":192,"line":789},[190,945,946],{},"3. 验证：通过可复现的检查确认发现\n",[190,948,949],{"class":192,"line":795},[190,950,951],{},"4. 报告：记录问题和修复步骤\n",[190,953,954],{"class":192,"line":800},[190,955,298],{"emptyLinePlaceholder":297},[190,957,958],{"class":192,"line":806},[190,959,960],{},"安全约束：\n",[190,962,963],{"class":192,"line":812},[190,964,298],{"emptyLinePlaceholder":297},[190,966,968],{"class":192,"line":967},32,[190,969,970],{},"- 仅在明确授权时修改系统\n",[190,972,974],{"class":192,"line":973},33,[190,975,976],{},"- 未经明确批准不得删除资源\n",[190,978,980],{"class":192,"line":979},34,[190,981,982],{},"- 记录所有变更以便审计\n",[176,984,986],{"id":985},"场景-3为-workspace-覆盖-profile","场景 3：为 workspace 覆盖 Profile",[139,988,989,990,993],{},"在某个 workspace 中，创建\n",[159,991,992],{},"\u003Cworkspace>\u002F.sink\u002Fprofiles\u002Fcode-reviewer.md","：",[152,995,997],{"className":184,"code":996,"language":186,"meta":161,"style":161},"---\nname: 'code-reviewer-internal'\ndescription: '内部代码审查，具有更严格的控制'\nruntime: claude-code\nskills:\n  - code-analysis\n  - internal-tools\nmcpServers:\n  - filesystem\n  - internal-api\nconfigDefaults:\n  model: claude-opus-4\n  temperature: '0.1'\nmetadata:\n  disabled: false\n---\n\n[Internal system prompt...]\n",[159,998,999,1003,1008,1013,1017,1021,1025,1030,1034,1038,1043,1047,1051,1056,1060,1064,1068,1072],{"__ignoreMap":161},[190,1000,1001],{"class":192,"line":193},[190,1002,196],{},[190,1004,1005],{"class":192,"line":199},[190,1006,1007],{},"name: 'code-reviewer-internal'\n",[190,1009,1010],{"class":192,"line":205},[190,1011,1012],{},"description: '内部代码审查，具有更严格的控制'\n",[190,1014,1015],{"class":192,"line":211},[190,1016,214],{},[190,1018,1019],{"class":192,"line":217},[190,1020,220],{},[190,1022,1023],{"class":192,"line":223},[190,1024,232],{},[190,1026,1027],{"class":192,"line":229},[190,1028,1029],{},"  - internal-tools\n",[190,1031,1032],{"class":192,"line":235},[190,1033,238],{},[190,1035,1036],{"class":192,"line":241},[190,1037,244],{},[190,1039,1040],{"class":192,"line":247},[190,1041,1042],{},"  - internal-api\n",[190,1044,1045],{"class":192,"line":253},[190,1046,256],{},[190,1048,1049],{"class":192,"line":259},[190,1050,262],{},[190,1052,1053],{"class":192,"line":265},[190,1054,1055],{},"  temperature: '0.1'\n",[190,1057,1058],{"class":192,"line":271},[190,1059,280],{},[190,1061,1062],{"class":192,"line":277},[190,1063,286],{},[190,1065,1066],{"class":192,"line":283},[190,1067,196],{},[190,1069,1070],{"class":192,"line":289},[190,1071,298],{"emptyLinePlaceholder":297},[190,1073,1074],{"class":192,"line":294},[190,1075,1076],{},"[Internal system prompt...]\n",[139,1078,1079],{},"当在这个 workspace 中创建任务时，会使用这个本地 Profile 而非 user\n层的全局 Profile。",[135,1081,1082],{"id":1082},"最佳实践",[602,1084,1085,1091,1100,1106,1112,1118,1124],{},[507,1086,1087,1090],{},[496,1088,1089],{},"命名清晰","：Profile 名称要清楚表达 Agent\n的角色（如”代码审查员”而非”助手1”）",[507,1092,1093,1096,1097,1099],{},[496,1094,1095],{},"描述具体","：在 ",[159,1098,355],{}," 字段中说明这个 Profile 适用于什么场景",[507,1101,1102,1105],{},[496,1103,1104],{},"管理 Skills","：只开放当前 Profile 实际需要的\nSkills，避免不必要的能力扩散",[507,1107,1108,1111],{},[496,1109,1110],{},"操作边界","：在系统提示中明确声明操作边界和伦理约束",[507,1113,1114,1117],{},[496,1115,1116],{},"文档完整","：在 Markdown 正文中详细说明 Agent\n的思考方式和输出格式，帮助 Agent 理解期望",[507,1119,1120,1123],{},[496,1121,1122],{},"配置合理","：根据场景选择合适的 model 和参数（如 temperature\n影响创意程度）",[507,1125,1126,1129],{},[496,1127,1128],{},"测试验证","：创建新 Profile 后，用实际任务测试是否达到预期效果",[135,1131,1133],{"id":1132},"查看和编辑-profile","查看和编辑 Profile",[176,1135,1136],{"id":1136},"通过文本编辑器",[139,1138,1139,1140,1143],{},"直接编辑 ",[159,1141,1142],{},"~\u002F.sink\u002Fprofiles\u002F*.md"," 文件。改动会在下一次任务创建时生效。",[176,1145,1147],{"id":1146},"通过-web-ui","通过 Web UI",[139,1149,1150],{},"在 Web UI 的”Profile”菜单中可以查看 Profile 详情。编辑需要直接修改文件。",[135,1152,1154],{"id":1153},"禁用-profile","禁用 Profile",[176,1156,1157],{"id":1157},"临时禁用",[139,1159,1160],{},"在 Profile 的 frontmatter 中设置：",[152,1162,1166],{"className":1163,"code":1164,"language":1165,"meta":161,"style":161},"language-yaml shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","metadata:\n  disabled: true\n","yaml",[159,1167,1168,1178],{"__ignoreMap":161},[190,1169,1170,1174],{"class":192,"line":193},[190,1171,1173],{"class":1172},"swJcz","metadata",[190,1175,1177],{"class":1176},"sMK4o",":\n",[190,1179,1180,1183,1186],{"class":192,"line":199},[190,1181,1182],{"class":1172},"  disabled",[190,1184,1185],{"class":1176},":",[190,1187,1189],{"class":1188},"sfNiH"," true\n",[139,1191,1192],{},"该 Profile 将被隐藏，不出现在任务创建的下拉菜单中。",[176,1194,1196],{"id":1195},"删除-profile","删除 Profile",[139,1198,1199],{},"直接删除对应的文件：",[152,1201,1205],{"className":1202,"code":1203,"language":1204,"meta":161,"style":161},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","rm ~\u002F.sink\u002Fprofiles\u002Fprofile-id.md\n","bash",[159,1206,1207],{"__ignoreMap":161},[190,1208,1209,1213],{"class":192,"line":193},[190,1210,1212],{"class":1211},"sBMFI","rm",[190,1214,1216],{"class":1215},"sfazB"," ~\u002F.sink\u002Fprofiles\u002Fprofile-id.md\n",[135,1218,1219],{"id":1219},"后续步骤",[504,1221,1222,1230,1236,1243],{},[507,1223,1224,1229],{},[1225,1226,1228],"a",{"href":1227},".\u002Fskills","了解 Skill","：为 Profile 添加更多能力",[507,1231,1232,1235],{},[1225,1233,118],{"href":1234},".\u002Fruntimes","：设置 Agent 的启动方式",[507,1237,1238,1242],{},[1225,1239,1241],{"href":1240},".\u002Fmcp-servers","配置 MCP Server","：让 Profile 访问外部工具",[507,1244,1245,1249],{},[1225,1246,1248],{"href":1247},".\u002Finstructions","创建任务","：使用 Profile 创建实际任务",[1251,1252,1253],"style",{},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}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);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}",{"title":161,"searchDepth":193,"depth":199,"links":1255},[1256,1257,1258,1263,1267,1272,1273,1277,1281],{"id":137,"depth":199,"text":137},{"id":147,"depth":199,"text":147},{"id":173,"depth":199,"text":174,"children":1259},[1260,1261,1262],{"id":178,"depth":205,"text":178},{"id":307,"depth":205,"text":308},{"id":490,"depth":205,"text":491},{"id":595,"depth":199,"text":596,"children":1264},[1265,1266],{"id":599,"depth":205,"text":600},{"id":631,"depth":205,"text":632},{"id":657,"depth":199,"text":657,"children":1268},[1269,1270,1271],{"id":660,"depth":205,"text":661},{"id":818,"depth":205,"text":819},{"id":985,"depth":205,"text":986},{"id":1082,"depth":199,"text":1082},{"id":1132,"depth":199,"text":1133,"children":1274},[1275,1276],{"id":1136,"depth":205,"text":1136},{"id":1146,"depth":205,"text":1147},{"id":1153,"depth":199,"text":1154,"children":1278},[1279,1280],{"id":1157,"depth":205,"text":1157},{"id":1195,"depth":205,"text":1196},{"id":1219,"depth":199,"text":1219},"创建和配置 Agent Profile，定义 Agent 的工作风格和能力范围","md",null,{},{"title":114,"description":1282},"mV0WOb8UK5zI6EoxCCKCOOGU6STk6wJI7C3Sx8wuk_M",[1289,1291],{"title":110,"path":111,"stem":112,"description":1290,"children":-1},"为 Agent 配置 Model Context Protocol 服务器",{"title":118,"path":119,"stem":120,"description":1292,"children":-1},"如何注册和管理 ACP Agent Runtime",1778225993576]