[{"data":1,"prerenderedAt":371},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fagents":3},{"id":4,"title":5,"body":6,"description":363,"extension":364,"meta":365,"navigation":366,"path":367,"seo":368,"stem":369,"__hash__":370},"docs\u002Fdocs\u002Fagents\u002Findex.md","Teach your agent slo-gen",{"type":7,"value":8,"toc":355},"minimark",[9,13,17,20,25,37,81,92,96,109,136,140,147,166,172,191,195,205,237,247,251,254,301,305,308,316,322,328,351],[10,11,5],"h1",{"id":12},"teach-your-agent-slo-gen",[14,15,16],"p",{},"Coding agents are good at YAML and bad at guessing what an unfamiliar CLI does to a server. These files close that gap. Each one is the same guide: the spec formats with every field and default, every command, the safety rules, the error codes, and a short list of things the agent must never do for you.",[18,19],"agent-downloads",{},[21,22,24],"h2",{"id":23},"claude-code","Claude Code",[14,26,27,28,32,33,36],{},"Claude Code loads skills from ",[29,30,31],"code",{},".claude\u002Fskills\u002F\u003Cname>\u002FSKILL.md"," in your project, or ",[29,34,35],{},"~\u002F.claude\u002Fskills\u002F\u003Cname>\u002FSKILL.md"," for every project. Install it for the repo that holds your specs:",[38,39,44],"pre",{"className":40,"code":41,"language":42,"meta":43,"style":43},"language-bash shiki shiki-themes github-dark-high-contrast","mkdir -p .claude\u002Fskills\u002Fslo-gen\ncurl -fsSL https:\u002F\u002Fgen.slostack.io\u002Fagents\u002Fslo-gen\u002FSKILL.md -o .claude\u002Fskills\u002Fslo-gen\u002FSKILL.md\n","bash","",[29,45,46,63],{"__ignoreMap":43},[47,48,51,55,59],"span",{"class":49,"line":50},"line",1,[47,52,54],{"class":53},"s_sBn","mkdir",[47,56,58],{"class":57},"sCcAr"," -p",[47,60,62],{"class":61},"sTRMh"," .claude\u002Fskills\u002Fslo-gen\n",[47,64,66,69,72,75,78],{"class":49,"line":65},2,[47,67,68],{"class":53},"curl",[47,70,71],{"class":57}," -fsSL",[47,73,74],{"class":61}," https:\u002F\u002Fgen.slostack.io\u002Fagents\u002Fslo-gen\u002FSKILL.md",[47,76,77],{"class":57}," -o",[47,79,80],{"class":61}," .claude\u002Fskills\u002Fslo-gen\u002FSKILL.md\n",[14,82,83,84,87,88,91],{},"The frontmatter tells Claude when to load it: whenever you mention ",[29,85,86],{},"sg",", slo-gen, a ",[29,89,90],{},"machine.yaml"," or a cluster.",[21,93,95],{"id":94},"slo","Slo",[14,97,98,104,105,108],{},[99,100,95],"a",{"href":101,"rel":102},"https:\u002F\u002Fwww.get-slo.sh",[103],"nofollow"," reads your own skills from ",[29,106,107],{},"~\u002F.slo\u002Fuser_skills\u002F",", and yours win over the built-ins:",[38,110,112],{"className":40,"code":111,"language":42,"meta":43,"style":43},"mkdir -p ~\u002F.slo\u002Fuser_skills\u002Fslo-gen\ncurl -fsSL https:\u002F\u002Fgen.slostack.io\u002Fagents\u002Fslo-gen\u002FSKILL.md -o ~\u002F.slo\u002Fuser_skills\u002Fslo-gen\u002FSKILL.md\n",[29,113,114,123],{"__ignoreMap":43},[47,115,116,118,120],{"class":49,"line":50},[47,117,54],{"class":53},[47,119,58],{"class":57},[47,121,122],{"class":61}," ~\u002F.slo\u002Fuser_skills\u002Fslo-gen\n",[47,124,125,127,129,131,133],{"class":49,"line":65},[47,126,68],{"class":53},[47,128,71],{"class":57},[47,130,74],{"class":61},[47,132,77],{"class":57},[47,134,135],{"class":61}," ~\u002F.slo\u002Fuser_skills\u002Fslo-gen\u002FSKILL.md\n",[21,137,139],{"id":138},"codex","Codex",[14,141,142,143,146],{},"Codex reads ",[29,144,145],{},"AGENTS.md"," from the root of your repository on every run. If you don't have one yet:",[38,148,150],{"className":40,"code":149,"language":42,"meta":43,"style":43},"curl -fsSL https:\u002F\u002Fgen.slostack.io\u002Fagents\u002FAGENTS.md -o AGENTS.md\n",[29,151,152],{"__ignoreMap":43},[47,153,154,156,158,161,163],{"class":49,"line":50},[47,155,68],{"class":53},[47,157,71],{"class":57},[47,159,160],{"class":61}," https:\u002F\u002Fgen.slostack.io\u002Fagents\u002FAGENTS.md",[47,162,77],{"class":57},[47,164,165],{"class":61}," AGENTS.md\n",[14,167,168,169,171],{},"If you already have an ",[29,170,145],{},", append it so your existing instructions stay:",[38,173,175],{"className":40,"code":174,"language":42,"meta":43,"style":43},"curl -fsSL https:\u002F\u002Fgen.slostack.io\u002Fagents\u002FAGENTS.md >> AGENTS.md\n",[29,176,177],{"__ignoreMap":43},[47,178,179,181,183,185,189],{"class":49,"line":50},[47,180,68],{"class":53},[47,182,71],{"class":57},[47,184,160],{"class":61},[47,186,188],{"class":187},"sWyjQ"," >>",[47,190,165],{"class":61},[21,192,194],{"id":193},"anything-else","Anything else",[14,196,197,200,201,204],{},[29,198,199],{},"slo-gen.md"," is the plain guide. Paste it into a chat, attach it, or point your ",[29,202,203],{},"CLAUDE.md"," at it:",[38,206,208],{"className":40,"code":207,"language":42,"meta":43,"style":43},"curl -fsSL https:\u002F\u002Fgen.slostack.io\u002Fagents\u002Fslo-gen.md -o docs\u002Fslo-gen.md\necho 'When working with sg or slo-gen specs, read docs\u002Fslo-gen.md first.' >> CLAUDE.md\n",[29,209,210,224],{"__ignoreMap":43},[47,211,212,214,216,219,221],{"class":49,"line":50},[47,213,68],{"class":53},[47,215,71],{"class":57},[47,217,218],{"class":61}," https:\u002F\u002Fgen.slostack.io\u002Fagents\u002Fslo-gen.md",[47,220,77],{"class":57},[47,222,223],{"class":61}," docs\u002Fslo-gen.md\n",[47,225,226,229,232,234],{"class":49,"line":65},[47,227,228],{"class":57},"echo",[47,230,231],{"class":61}," 'When working with sg or slo-gen specs, read docs\u002Fslo-gen.md first.'",[47,233,188],{"class":187},[47,235,236],{"class":61}," CLAUDE.md\n",[14,238,239,240,246],{},"There's also an ",[99,241,243],{"href":242},"\u002Fllms.txt",[29,244,245],{},"llms.txt"," at the site root for tools that look for one.",[21,248,250],{"id":249},"what-the-guide-tells-your-agent-not-to-do","What the guide tells your agent not to do",[14,252,253],{},"The guide is written so an agent asks before anything irreversible. It tells the agent never to:",[255,256,257,269,272,283,298],"ul",{},[258,259,260,261,264,265,268],"li",{},"answer a ",[29,262,263],{},"[y\u002FN]"," confirmation for you, or add ",[29,266,267],{},"--yes"," unless you asked for it after reading the plan;",[258,270,271],{},"put a secret value in a spec, a command it echoes or a committed file;",[258,273,274,275,278,279,282],{},"edit or delete ",[29,276,277],{},".sg\u002Fstate.db",", or touch ",[29,280,281],{},"~\u002F.ssh\u002Fknown_hosts"," to get past a host-key error;",[258,284,285,286,289,290,293,294,297],{},"use ",[29,287,288],{},"--force-volume-share",", ",[29,291,292],{},"--confirm-root-data"," or ",[29,295,296],{},"--force"," to make an error go away;",[258,299,300],{},"run a destroy without confirming in plain words what will be deleted.",[21,302,304],{"id":303},"prompts-that-work-well","Prompts that work well",[14,306,307],{},"Once the file is in place, ask for things the way you would ask a colleague:",[38,309,314],{"className":310,"code":312,"language":313,"meta":43},[311],"language-text","Write machine.yaml files for three Hetzner boxes at 203.0.113.11-13. They have\n80 GB disks and 8 GB RAM. I want to reach the LXD UI from my laptop on the\ntailnet. Then plan the first one and show me the plan.\n","text",[29,315,312],{"__ignoreMap":43},[38,317,320],{"className":318,"code":319,"language":313,"meta":43},[311],"Add a PostgreSQL 17 database to application.yaml on node-c with a 20GiB block\nvolume, expose it on the tailnet, and run sg application plan. Don't deploy.\n",[29,321,319],{"__ignoreMap":43},[38,323,326],{"className":324,"code":325,"language":313,"meta":43},[311],"sg application deploy failed. Read the output, tell me what it refused and why,\nand suggest the smallest spec change. Don't use any --force flags.\n",[29,327,325],{"__ignoreMap":43},[329,330,332],"note",{"kind":331},"tip",[14,333,334,335,338,339,342,343,346,347,350],{},"Keep your specs in git. When an agent edits ",[29,336,337],{},"application.yaml",", or ",[29,340,341],{},"scale"," and ",[29,344,345],{},"upgrade"," edit it for you, ",[29,348,349],{},"git diff"," is the fastest review there is.",[352,353,354],"style",{},"html pre.shiki code .s_sBn, html code.shiki .s_sBn{--shiki-default:#FFB757}html pre.shiki code .sCcAr, html code.shiki .sCcAr{--shiki-default:#91CBFF}html pre.shiki code .sTRMh, html code.shiki .sTRMh{--shiki-default:#ADDCFF}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 pre.shiki code .sWyjQ, html code.shiki .sWyjQ{--shiki-default:#FF9492}",{"title":43,"searchDepth":65,"depth":65,"links":356},[357,358,359,360,361,362],{"id":23,"depth":65,"text":24},{"id":94,"depth":65,"text":95},{"id":138,"depth":65,"text":139},{"id":193,"depth":65,"text":194},{"id":249,"depth":65,"text":250},{"id":303,"depth":65,"text":304},"Download markdown files that teach Claude Code, Codex or Slo how to write sg specs and run sg safely, and where each one goes.","md",{},true,"\u002Fdocs\u002Fagents",{"title":5,"description":363},"docs\u002Fagents\u002Findex","duUvU0ErErdmQQKUddKVWw6e0b2OfxzOIFSpouRVbMA",1796464240886]