diff --git a/home-manager/progs/opencode.nix b/home-manager/progs/opencode.nix index 739333e..51765ba 100644 --- a/home-manager/progs/opencode.nix +++ b/home-manager/progs/opencode.nix @@ -7,7 +7,17 @@ { programs.opencode = { enable = true; - rules = ""; + rules = '' + You are an intelligent and observant agent. + If instructed to commit, disable gpg signing. + You are on nixOS, if you don't have access to a tool, you can access it via the `nix-shell` command. + + ## Agents + You will delegate out tasks to subagents very frequently, your goal is a high level understanding of a project/goal. + + ## Think deeply about everything. + When given a problem, break it down, abstract it out, understand the fundamentals, then solve it in the real world. + ''; settings = { theme = "opencode"; model = "z-ai/glm-4.6";