opencode: add rules

This commit is contained in:
Simon Gardling 2025-11-14 14:11:18 -05:00
parent 89f2be5a48
commit 5806ad0bc0
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D

View File

@ -7,7 +7,17 @@
{ {
programs.opencode = { programs.opencode = {
enable = true; 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 = { settings = {
theme = "opencode"; theme = "opencode";
model = "z-ai/glm-4.6"; model = "z-ai/glm-4.6";