Share to a team or fork
Share an entry beyond your machine: to a repo’s team, to an omp fork, or from work to home. Every route opens a branch or a diff for review.
Pick the route
Section titled “Pick the route”| To | Command | How |
|---|---|---|
| a repo’s team | ship --scope team |
to a repo’s team |
| an omp fork | ship --scope fork |
to an omp fork |
| your home library (from work) | library export |
from work to home |
| another branch on this machine | transfer suggest / transfer apply |
across branches |
Which scope needs what approval: scope and who merges.
To a repo’s team
Section titled “To a repo’s team”rematch ship --scope team [--entry <id>…] [--push --pr]The branch adds:
- the skill under
.omp/skills/<name>/(subagents:.omp/agents/<name>.md); - a section
## rematch: <name>inAGENTS.md(created if the repo has none), when the entry carries anAGENTS.fragment.md; - an evidence commit.
Shipping a newer version replaces that AGENTS.md section in place.
To an omp fork
Section titled “To an omp fork”Per-model prompt text, tool descriptions and compaction defaults live in the omp source. They ship to a fork checkout as a branch.
-
Point the entry at the file it replaces, once:
rematch library set-fork-path <id> src/prompts/tools/bash.md --repo ~/src/omp-fork -
Ship:
rematch ship --scope fork --entry <id> # --repo defaults to the one recorded above
- The text shipped is
fork/<file name>in the entry if it has one, else itsSKILL.mdbody. - The PR body carries the built fingerprint and the before/after counters.
library ls --textshowsfork:<path>for such entries.- The editor may propose the path itself (
fork_path); it must be relative to the fork, without...
From work to home
Section titled “From work to home”rematch library exportExports invariant entries to ~/.rematch/export, each after your approval of its diff. It is off by default at work (policy.json environment and export_enabled, see policy.json).
Across branches
Section titled “Across branches”rematch transfer suggestrematch transfer apply <id> --branch <b>suggest lists kept invariant lessons not yet tried in a branch whose facets overlap on two or more keys. A transfer is applied as provisional and earns its place through that branch’s counters. Facets: domain.yml.