← All agents
OpenCode

OpenCode

Open-source terminal agent

Point OpenCode at Sketchi and generate diagrams without leaving the terminal.

Server URLhttps://sketchi-studio.dimethyl.workers.dev/mcpPublic endpoint used by the setup below.

Set up

01

Copy the portable Sketchi skill

SKETCHI_SKILL_DIR="${XDG_CONFIG_HOME:-$HOME/.config}/opencode/skills/sketchi-code-mode"
mkdir -p "$SKETCHI_SKILL_DIR"
curl -fsSL https://raw.githubusercontent.com/shpitdev/sketchi/main/.agents/skills/sketchi-code-mode/SKILL.md -o "$SKETCHI_SKILL_DIR/SKILL.md"
02

Connect the public Sketchi server

opencode mcp add sketchi-code-mode --url https://sketchi-studio.dimethyl.workers.dev/mcp
03

Confirm the connection

opencode mcp list