stores opencode configuration

lc dea990219b Add repomix MCP server 3 주 전
plugins 8882ffac0f opencode global config: settings, rtk plugin, deps 3 주 전
skills cca50c6e79 Add repomix skill for repo packing 3 주 전
.gitignore 8882ffac0f opencode global config: settings, rtk plugin, deps 3 주 전
README.md a887bc936b Add replication README 3 주 전
config.json 8882ffac0f opencode global config: settings, rtk plugin, deps 3 주 전
opencode.jsonc dea990219b Add repomix MCP server 3 주 전
package-lock.json 8882ffac0f opencode global config: settings, rtk plugin, deps 3 주 전
package.json 8882ffac0f opencode global config: settings, rtk plugin, deps 3 주 전

README.md

opencode-config

Global OpenCode configuration: settings, MCP servers, plugins, and skills wiring.

Replicate on a new machine

# 1. Clone this config (replace <token> with a Gogs access token)
git clone https://gogadmin:<token>@git.algometic.com/gogadmin/opencode-config.git ~/.config/opencode

# 2. Install plugin dependencies (needed by plugins/rtk.ts)
cd ~/.config/opencode && npm install

# 3. Clone the skills repo (public, referenced by opencode.jsonc)
git clone https://github.com/anthropics/skills ~/.config/opencode/skills-repo

What's in here

Path Purpose
opencode.jsonc Skills path + MCP servers (postgres, flymcp)
config.json Local Qwen provider (qwen-local/qwen3.8) and default model
plugins/rtk.ts RTK plugin — requires rtk >= 0.23.0 in PATH
package.json Plugin dependency: @opencode-ai/plugin

Per-machine adjustments after cloning

  • flymcp: opencode.jsonc points at /home/i78700es/.local/bin/flymcp — install flymcp and fix the path if the user/home differs.
  • postgres MCP: connects to postgres://localhost:5432/mcp (sandbox creds in opencode.jsonc) — make sure the local postgres sandbox is running, or update the URL.
  • Qwen provider: config.json targets http://192.168.1.38:8284/v1 — adjust if the local model server moves.
  • rtk: install rtk >= 0.23.0 in PATH so the plugin's command rewrites work.

Keeping in sync

cd ~/.config/opencode
git pull          # get updates
git add -A && git commit -m "..." && git push   # publish changes

For continuous sync, point Syncthing (or rsync over cron) at ~/.config/opencode/ — the .gitignore already excludes node_modules/ and skills-repo/.