Openwork opencode-mirror

Maintain the local OpenCode mirror for self-reference

install
source · Clone the upstream repo
git clone https://github.com/different-ai/openwork
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/different-ai/openwork "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.opencode/skills/opencode-mirror" ~/.claude/skills/different-ai-openwork-opencode-mirror && rm -rf "$T"
manifest: .opencode/skills/opencode-mirror/SKILL.md
source content

Quick Usage (Already Configured)

Update mirror

git -C vendor/opencode pull --ff-only

Common Gotchas

  • Keep the mirror gitignored; never commit
    vendor/opencode
    .
  • Use
    --ff-only
    to avoid merge commits in the mirror.

First-Time Setup (If Not Configured)

Clone mirror

git clone https://github.com/anomalyco/opencode vendor/opencode