Your personal OpenCode configuration setup with custom skills.
Tell OpenCode:
Setup my opencode using https://github.com/clarenzmauro/opencode-config
The agent will guide you through the setup process by reading configuration files from this repository and providing step-by-step instructions.
- OpenCode agent reads configuration files from this GitHub repository
- Agent provides you with clear instructions for each file
- You copy/create files as instructed to your
~/.config/opencode/directory - No git cloning required - just copy and paste!
-
config.json - Main configuration with formatter (Prettier for JS/TS/JSX/TSX/JSON/CSS)
-
credentials/server_password - Server authentication password template
-
AGENTS.md - Global agent guidelines defining:
- Package Manager: Use Bun instead of npm/pnpm/yarn
- Error Checking: Use build, lint, test commands instead of running the project
- Test-Driven Development: Strictly one test at a time using red-green-refactor
- Thoroughness: Be thorough with understanding the task and codebase
- Module Organization: Deep modules with strict public boundaries (e.g.,
/auth/) - Communication: Keep talk short using simple words
- Confusion Handling: Alert developer when confused, document learnings in project AGENTS.md
- frontend-design - Creates distinctive, production-grade frontend interfaces
- Avoids generic AI aesthetics
- Bold, memorable design choices
- Exceptional attention to visual details
This configuration can be used to run OpenCode as a server on your Tailscale network.
Install dependencies:
bun install- Copy this config to your machine
- Update
credentials/server_passwordwith your desired password (replace{ADD_YOUR_PASSWORD_HERE}) - Configure your models in
config.jsonas needed
To start the OpenCode server on your Tailscale network:
opencode serve --hostname 0.0.0.0 --port 2127Once the server is running, you can access it from any device on your Tailscale network by connecting to:
http://<tailscale-ip>:2127
To set up OpenCode on another machine:
- Clone or copy this configuration
- Update
credentials/server_passwordwith a unique password - Configure models in
config.jsonfor that specific machine - Run the server with the command above
If automated setup guidance doesn't work, you can manually copy files:
- config.json →
~/.config/opencode/config.json - AGENTS.md →
~/.config/opencode/AGENTS.md - skills/frontend-design/SKILL.md →
~/.config/opencode/skills/frontend-design/SKILL.md - credentials/server_password →
~/.config/opencode/credentials/server_password
Restart OpenCode to apply changes.
To update your configuration:
- Tell OpenCode: "Setup my opencode using https://github.com/clarenzmauro/opencode-config"
- Agent will guide you through updating changed files
For general OpenCode questions or troubleshooting: https://opencode.ai/docs
MIT License - Feel free to use and modify for your own setup.