You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<td>Read source, instructions, and nearby code before editing.</td>
35
+
<td>Use structure, strategy, and design records to set a clear change boundary.</td>
36
+
<td>Keep evidence, checks, failures, and unknowns visible before completion.</td>
37
+
</tr>
38
+
</table>
39
+
40
+
## OpenCode-X origin
21
41
22
42
OpenCode-X is an experimental fork of OpenCode focused on helping coding agents produce cleaner code when working with existing codebases.
23
43
@@ -29,87 +49,55 @@ I mainly build and test OpenCode-X with fast, lower-cost models such as ChatGPT
29
49
30
50
The rules in OpenCode-X come from my own development experience, books, research papers, developer feedback, and testing different LLMs. The project is still experimental and changes as I find problems and better ways to handle them.
31
51
32
-
### Installation
52
+
##Quick start
33
53
34
-
```bash
35
-
# YOLO
36
-
curl -fsSL https://opencode.ai/install | bash
37
-
38
-
# Package managers
39
-
npm i -g opencode-ai@latest # or bun/pnpm/yarn
40
-
scoop install opencode # Windows
41
-
choco install opencode # Windows
42
-
brew install anomalyco/tap/opencode # macOS and Linux (recommended, always up to date)
43
-
brew install opencode # macOS and Linux (official brew formula, updated less)
44
-
sudo pacman -S opencode # Arch Linux (Stable)
45
-
paru -S opencode-bin # Arch Linux (Latest from AUR)
46
-
mise use -g opencode # Any OS
47
-
nix run nixpkgs#opencode # or github:anomalyco/opencode for latest dev branch
48
-
```
49
-
50
-
> [!TIP]
51
-
> Remove versions older than 0.1.x before installing.
52
-
53
-
### Desktop App (BETA)
54
-
55
-
OpenCode is also available as a desktop application. Download directly from the [releases page](https://github.com/anomalyco/opencode/releases) or [opencode.ai/download](https://opencode.ai/download).
|**plan**| Read-only analysis and code exploration. |
100
79
101
-
### Documentation
80
+
The **general** subagent handles complex searches and multistep tasks. Use
81
+
`@general` when you need that additional exploration.
102
82
103
-
For more info on how to configure OpenCode, [**head over to our docs**](https://opencode.ai/docs).
83
+
## Configuration
104
84
105
-
### Contributing
85
+
| Scope | Path |
86
+
| --------------------- | ---------------- |
87
+
| Project configuration |`.ocx/`|
88
+
| Global configuration |`~/.config/ocx/`|
89
+
| CLI executable |`ocx`|
106
90
107
-
If you're interested in contributing to OpenCode, please read our [contributing docs](./CONTRIBUTING.md) before submitting a pull request.
91
+
Project instructions live in `.ocx/AGENTS.md`. Keep that file short and store
92
+
only guidance that future coding sessions are likely to miss.
108
93
109
-
### Building on OpenCode
94
+
##Technical compatibility
110
95
111
-
If you are working on a project that's related to OpenCode and is using "opencode" as part of its name, for example "opencode-dashboard" or "opencode-mobile", please add a note to your README to clarify that it is not built by the OpenCode team and is not affiliated with us in any way.
96
+
Some package names, environment variables, and upstream identifiers still use
97
+
`opencode` for compatibility. The user-facing fork name, CLI, and project
98
+
configuration use **OpenCode-X**, `ocx`, and `.ocx`.
0 commit comments