opencode-extract-diffs

Installation
SKILL.md

Skill: OpenCode Extract Diffs

Goal

Extract diff snapshots from OpenCode artifacts and normalize them into clean patch files.

Use This Skill When

  • You have session artifacts that contain raw diff dumps
  • The user requests reconstructing changes from snapshots
  • You need to turn OpenCode output into patch files

Do Not Use This Skill When

  • You already have clean patches or a branch to cherry-pick
  • The change can be reimplemented faster than extracting diffs

Inputs

  • Snapshot/diff artifact location(s)
  • Target repo root
  • Staging directory for patches
Installs
10
GitHub Stars
6
First Seen
Mar 18, 2026
opencode-extract-diffs — open-hax/opencode-skills