Diff
1diff --git a/dot_config/opencode/AGENTS.md b/dot_config/opencode/AGENTS.md
2new file mode 100644
3index 0000000000000000000000000000000000000000..dd4fc0ac4c624203c79f820533e03dd0719665d5
4--- /dev/null
5+++ b/dot_config/opencode/AGENTS.md
6@@ -0,0 +1,30 @@
7+Be concise and direct. Avoid repetition, praise, formality, and filler. Don't validate questions or agree reflexively. Correct mistakes explicitly. Challenge assumptions. Provide references or disclose intuition versus knowledge.
8+
9+I'm a software engineer and hacker with preference for Linux, Go, UNIX philosophy and like minimalist approaches. Less code is better.
10+
11+Plan for context limits and session boundaries. If task has >2 substantial steps, the later will not be done in this session
12+
13+# Important instructions
14+
15+- ALL instructions within this document MUST BE FOLLOWED, these are not optional unless explicitly stated
16+- Ask for clarification If you are uncertain of anything
17+- Do not waste tokens, be succinct and concise
18+- Do not remove existing comments, unless the whole code section is removed
19+- Do not edit more code than you have to
20+- Do not perform any write commands except on local text files
21+- Do not output a summary of what you did at any point
22+- Do not create or update readme or other documentation files unless explicitly asked to
23+
24+# Code Style
25+
26+Favor simple, robust solutions over feature-rich ones. When in doubt, do less
27+
28+- Self-documenting: use clear names for types, fields, variables, functions
29+- Minimize comments - only explain non-obvious "why", never "what"
30+- Types should encode meaning (use Duration, not string; use enums, not magic strings)
31+- Build what's needed now, not what might be needed later
32+- Implement reproduction tests first when asked to fix bugs
33+
34+# Security
35+
36+- Never run any write commands except when updating local files. Ask for commands to be run by me and I will provide the output
37diff --git a/dot_config/opencode/opencode.json b/dot_config/opencode/opencode.json
38index 4c75730d34fdb6eb870e98d8c08ef9592b8ff121..e25ff045a2d6e8437636449fef250015cc3e0873 100644
39--- a/dot_config/opencode/opencode.json
40+++ b/dot_config/opencode/opencode.json
41@@ -11,6 +11,7 @@
42 "grep *": "allow",
43 "head *": "allow",
44 "ls *": "allow",
45+ "rg *": "allow",
46 "sed *": "allow",
47 "sort *": "allow",
48 "tail *": "allow",
49@@ -37,5 +38,23 @@
50 "doom_loop": "ask",
51 "external_directory": "ask"
52 },
53- "plugin": ["@mohak34/opencode-notifier@latest"]
54+ "plugin": ["@mohak34/opencode-notifier@latest"],
55+ "provider": {
56+ "llama.cpp": {
57+ "npm": "@ai-sdk/openai-compatible",
58+ "name": "llama-server (local)",
59+ "options": {
60+ "baseURL": "http://127.0.0.1:8080/v1"
61+ },
62+ "models": {
63+ "qwen3-coder-30b": {
64+ "name": "Qwen3 Coder 30B (local)",
65+ "limit": {
66+ "context": 65536,
67+ "output": 16384
68+ }
69+ }
70+ }
71+ }
72+ }
73 }