[{"data":1,"prerenderedAt":342},["ShallowReactive",2],{"docs-navigation":3,"\u002Fpacks\u002Fprompt":80,"\u002Fpacks\u002Fprompt-surround":337},[4,14,50,56,62,68,74],{"title":5,"path":6,"stem":7,"children":8},"Getting Started","\u002Fgetting-started","1.getting-started\u002Findex",[9,10],{"title":5,"path":6,"stem":7},{"title":11,"path":12,"stem":13},"Usage","\u002Fgetting-started\u002Fusage","1.getting-started\u002Fusage",{"title":15,"path":16,"stem":17,"children":18},"Packs","\u002Fpacks","2.packs",[19,22,28,34,40,44],{"title":20,"path":16,"stem":21},"Pack System","2.packs\u002Findex",{"title":23,"path":24,"stem":25,"children":26},"Pack Commands","\u002Fpacks\u002Fcommands","2.packs\u002Fcommands\u002Findex",[27],{"title":23,"path":24,"stem":25},{"title":29,"path":30,"stem":31,"children":32},"Curation","\u002Fpacks\u002Fcuration","2.packs\u002Fcuration\u002Findex",[33],{"title":29,"path":30,"stem":31},{"title":35,"path":36,"stem":37,"children":38},"Personas","\u002Fpacks\u002Fpersonas","2.packs\u002Fpersonas\u002Findex",[39],{"title":35,"path":36,"stem":37},{"title":41,"path":42,"stem":43},"Pack Prompt","\u002Fpacks\u002Fprompt","2.packs\u002Fprompt",{"title":45,"path":46,"stem":47,"children":48},"Skills","\u002Fpacks\u002Fskills","2.packs\u002Fskills\u002Findex",[49],{"title":45,"path":46,"stem":47},{"title":51,"path":52,"stem":53,"children":54},"Knowledge Graph & Memory","\u002Fmemory","3.memory\u002Findex",[55],{"title":51,"path":52,"stem":53},{"title":57,"path":58,"stem":59,"children":60},"Configuration","\u002Fconfiguration","4.configuration\u002Findex",[61],{"title":57,"path":58,"stem":59},{"title":63,"path":64,"stem":65,"children":66},"Architecture","\u002Farchitecture","5.architecture\u002Findex",[67],{"title":63,"path":64,"stem":65},{"title":69,"path":70,"stem":71,"children":72},"Commands","\u002Fcommands","6.commands\u002Findex",[73],{"title":69,"path":70,"stem":71},{"title":75,"path":76,"stem":77,"children":78},"Security","\u002Fsecurity","7.security\u002Findex",[79],{"title":75,"path":76,"stem":77},{"id":81,"title":41,"body":82,"description":329,"extension":330,"links":331,"meta":332,"navigation":334,"path":42,"seo":335,"stem":43,"__hash__":336},"docs\u002F2.packs\u002Fprompt.md",{"type":83,"value":84,"toc":317},"minimark",[85,90,99,103,106,141,148,152,155,160,183,187,226,230,250,254,269,273,276,303,307,313],[86,87,89],"h2",{"id":88},"what-is-the-pack-prompt","What Is the Pack Prompt",[91,92,93,94,98],"p",{},"The ",[95,96,97],"code",{},"prompt.md"," file is the heart of the pack. It defines the domain expert system prompt that gets injected into the agent's system prompt assembly. This is where you tell the agent what domain it operates in, what expertise it should have, and how it should behave.",[86,100,102],{"id":101},"how-it-gets-used","How It Gets Used",[91,104,105],{},"When Working Mind assembles the system prompt, the pack prompt is the first and most important component:",[107,108,109,119,122,125,128,131,134],"ol",{},[110,111,112,116,117],"li",{},[113,114,115],"strong",{},"Pack prompt"," -- from ",[95,118,97],{},[110,120,121],{},"Current task (from slash commands)",[110,123,124],{},"Available skills",[110,126,127],{},"Active skills",[110,129,130],{},"Turn budget",[110,132,133],{},"Knowledge index",[110,135,136,137,140],{},"Project rules (from ",[95,138,139],{},"WBRAIN.md",")",[91,142,143,144,147],{},"If no pack prompt is available, Working Mind falls back to ",[95,145,146],{},"config.systemPrompts.default"," -- a generic assistant prompt with no domain specialization.",[86,149,151],{"id":150},"writing-a-good-pack-prompt","Writing a Good Pack Prompt",[91,153,154],{},"A pack prompt should cover:",[156,157,159],"h3",{"id":158},"_1-domain-identity","1. Domain Identity",[161,162,167],"pre",{"className":163,"code":164,"language":165,"meta":166,"style":166},"language-markdown shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","You are a research analyst specializing in academic literature review.\nYou help researchers survey, compare, and synthesize papers.\n","markdown","",[95,168,169,177],{"__ignoreMap":166},[170,171,174],"span",{"class":172,"line":173},"line",1,[170,175,176],{},"You are a research analyst specializing in academic literature review.\n",[170,178,180],{"class":172,"line":179},2,[170,181,182],{},"You help researchers survey, compare, and synthesize papers.\n",[156,184,186],{"id":185},"_2-core-behaviors","2. Core Behaviors",[161,188,190],{"className":163,"code":189,"language":165,"meta":166,"style":166},"When the user asks about a topic:\n1. Search the knowledge graph for existing knowledge first\n2. If gaps exist, search the web for current information\n3. Extract key claims, methodologies, and citations\n4. Save findings to the knowledge graph with proper entity types\n5. Distinguish between established facts and hypotheses\n",[95,191,192,197,202,208,214,220],{"__ignoreMap":166},[170,193,194],{"class":172,"line":173},[170,195,196],{},"When the user asks about a topic:\n",[170,198,199],{"class":172,"line":179},[170,200,201],{},"1. Search the knowledge graph for existing knowledge first\n",[170,203,205],{"class":172,"line":204},3,[170,206,207],{},"2. If gaps exist, search the web for current information\n",[170,209,211],{"class":172,"line":210},4,[170,212,213],{},"3. Extract key claims, methodologies, and citations\n",[170,215,217],{"class":172,"line":216},5,[170,218,219],{},"4. Save findings to the knowledge graph with proper entity types\n",[170,221,223],{"class":172,"line":222},6,[170,224,225],{},"5. Distinguish between established facts and hypotheses\n",[156,227,229],{"id":228},"_3-tool-usage-guidelines","3. Tool Usage Guidelines",[161,231,233],{"className":163,"code":232,"language":165,"meta":166,"style":166},"Always search the graph before creating new entities to avoid duplicates.\nWhen saving entities from papers, use type \"paper\" and include the\nauthors as separate \"person\" entities with \"authored\" relations.\n",[95,234,235,240,245],{"__ignoreMap":166},[170,236,237],{"class":172,"line":173},[170,238,239],{},"Always search the graph before creating new entities to avoid duplicates.\n",[170,241,242],{"class":172,"line":179},[170,243,244],{},"When saving entities from papers, use type \"paper\" and include the\n",[170,246,247],{"class":172,"line":204},[170,248,249],{},"authors as separate \"person\" entities with \"authored\" relations.\n",[156,251,253],{"id":252},"_4-output-style","4. Output Style",[161,255,257],{"className":163,"code":256,"language":165,"meta":166,"style":166},"Be thorough but concise. Cite sources. Use structured lists for\ncomparisons. Always note the strength of evidence (strong, moderate, weak).\n",[95,258,259,264],{"__ignoreMap":166},[170,260,261],{"class":172,"line":173},[170,262,263],{},"Be thorough but concise. Cite sources. Use structured lists for\n",[170,265,266],{"class":172,"line":179},[170,267,268],{},"comparisons. Always note the strength of evidence (strong, moderate, weak).\n",[86,270,272],{"id":271},"anti-patterns","Anti-Patterns",[91,274,275],{},"Avoid these in pack prompts:",[277,278,279,285,291,297],"ul",{},[110,280,281,284],{},[113,282,283],{},"Vague instructions"," -- \"Be helpful\" adds nothing; \"Always cite sources before making claims\" is actionable",[110,286,287,290],{},[113,288,289],{},"Superlatives"," -- \"You are the world's best legal analyst\" is noise; \"You analyze legal precedents with attention to jurisdiction\" is signal",[110,292,293,296],{},[113,294,295],{},"Competing directives"," -- \"Be brief but also comprehensive\" confuses the model; pick one",[110,298,299,302],{},[113,300,301],{},"Tool calling instructions"," -- the agent already knows how to call tools from their schemas; don't reinvent calling conventions",[86,304,306],{"id":305},"the-starter-pack-prompt","The Starter Pack Prompt",[91,308,309,310,312],{},"The starter pack's ",[95,311,97],{}," is intentionally minimal. It enables a \"wiki behavior\" -- the agent saves important findings to the knowledge graph and reads existing knowledge before responding. This is a good starting point for any domain-specific pack.",[314,315,316],"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);}",{"title":166,"searchDepth":173,"depth":179,"links":318},[319,320,321,327,328],{"id":88,"depth":179,"text":89},{"id":101,"depth":179,"text":102},{"id":150,"depth":179,"text":151,"children":322},[323,324,325,326],{"id":158,"depth":204,"text":159},{"id":185,"depth":204,"text":186},{"id":228,"depth":204,"text":229},{"id":252,"depth":204,"text":253},{"id":271,"depth":179,"text":272},{"id":305,"depth":179,"text":306},"The system prompt that defines domain expertise.","md",null,{"icon":333},"i-lucide-file-text",true,{"title":41,"description":329},"OZ2GSaF6tF8MB7dpAXWtStAXrq-l3Jh7c37MVOWib1c",[338,340],{"title":35,"path":36,"stem":37,"description":339,"children":-1},"Execution modes that change agent behavior and tool access.",{"title":45,"path":46,"stem":47,"description":341,"children":-1},"Reusable multi-step subroutines for complex workflows.",1778256993663]