opencode-config
Personal OpenCode configuration - commands, tools, agents, knowledge
File Explorer
- rules.md
- .local_version
- config.yaml
- issues.jsonl
- memories.jsonl
- metadata.json
- README.md
- rules.md
- archaeologist.md
- explore.md
- refactorer.md
- reviewer.md
- swarm-planner.md
- swarm-researcher.md
- swarm-worker.md
- checkpoint.md
- commit.md
- context-dump.md
- debug-plus.md
- debug.md
- estimate.md
- fix-all.md
- focus.md
- handoff.md
- iterate.md
- migrate.md
- parallel.md
- pr-create.md
- repo-dive.md
- retro.md
- review-my-shit.md
- rmslop.md
- standup.md
- swarm-collect.md
- swarm-status.md
- swarm.md
- sweep.md
- test.md
- triage.md
- worktree-task.md
- effect-patterns.md
- error-patterns.md
- git-patterns.md
- mastra-agent-patterns.md
- nextjs-patterns.md
- opencode-agents.md
- opencode-context.md
- opencode-plugins.md
- opencode-tools.md
- prevention-patterns.md
- tdd-patterns.md
- testing-patterns.md
- typescript-patterns.md
- swarm-cli.ts.bak
- swarm.ts
- bd-quick.ts
- cass.ts
- find-exports.ts
- git-context.ts
- pdf-brain.ts
- pkg-scripts.ts
- repo-autopsy.ts
- repo-crawl.ts
- tool-utils.ts
- typecheck.ts
- ubs.ts
- .gitignore
- AGENTS.md
- AGENTS.md.swarm-backup-2026-01-10T191251938Z
- CLAUDE.md
- IMPROVEMENTS.md
- opencode.jsonc
- package.json
- README.md
- tsconfig.json
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
brew install
View Details ▼
brew install
Install a Homebrew formula or cask.
brew install {{formula|cask}}
Install a formula/cask:
brew install {{[-s|--build-from-source]}} {{formula}}
Build and install a formula from source (dependencies will still be installed from bottles):
brew install {{[-n|--dry-run]}} {{formula|cask}}
Download the manifest, print what would be installed but don't actually install anything:
git clone
View Details ▼
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
npm install
View Details ▼
npm install
Install Node packages.
npm {{[i|install]}}
Install dependencies listed in `package.json`:
npm {{[i|install]}} {{package_name}}@{{version}}
Download a specific version of a package and add it to the list of dependencies in `package.json`:
npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}
Download the latest version of a package and add it to the list of dev dependencies in `package.json`:
npm
View Details ▼
npm
JavaScript and Node.js package manager.
Manage Node.js projects and their module dependencies.
Some subcommands such as `install`, `run`, etc. have their own usage documentation.
npm init {{[-y|--yes]}}
Create a `package.json` file with default values (omit `--yes` to do it interactively):
npm {{[i|install]}}
Download all the packages listed as dependencies in `package.json`:
npm {{[i|install]}} {{package_name}}@{{version}}
Download a specific version of a package and add it to the list of dependencies in `package.json`:
ollama
View Details ▼
ollama
A large language model runner.
For a list of available models, see <https://ollama.com/library>.
ollama serve
Start the daemon required to run other commands:
ollama run {{model}}
Run a model and chat with it (will automatically download the model if it's not downloaded):
ollama run {{model}} --think=false "{{prompt}}"
Run a model with a single prompt and thinking turned off:
opencode mcp
View Details ▼
opencode mcp
Manage MCP (Model Context Protocol) servers.
opencode mcp list
List MCP servers and their status:
opencode mcp add
Add an MCP server interactively:
opencode mcp auth {{server_name}}
Authenticate with an OAuth-enabled MCP server:
snyk
View Details ▼
snyk
Find vulnerabilities in your code and remediate risks.
snyk auth
Log in to your Snyk account:
snyk test
Test your code for any known vulnerabilities:
snyk test --docker {{docker_image}}
Test a local Docker image for any known vulnerabilities:
