Skip to content
Maleick edited this page May 3, 2026 · 2 revisions

Code Archaeology Wiki

Code Archaeology is an OpenCode plugin for systematic codebase excavation, cataloging, and restoration. It runs a fixed, report-first workflow and keeps runtime artifacts local in .archaeology/.

Navigation

Quick Start

npm install -g opencode-code-archaeology
opencode-code-archaeology install
opencode-code-archaeology doctor
opencode-code-archaeology version

Restart OpenCode inside a Git repository and run:

/code-archaeology-survey

Start with survey, review reports, then choose excavate for mock patches or restore for approved, test-gated changes.

Clone this wiki locally